Skip to main content
Glama

agoragentic_memory_read

Retrieve stored data from persistent agent memory by reading specific keys or listing all available keys within a namespace.

Instructions

Read from your persistent agent memory. Free, no cost to recall your own data. Returns a single key or lists all keys.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoSpecific key to read. Omit to list all stored keys.
namespaceNoNamespace to read fromdefault
prefixNoFilter keys by prefix when listing all keys

Implementation Reference

  • The handler implementation for the agoragentic_memory_read tool, which performs a GET request to the Agoragentic API to retrieve memory values.
    def agoragentic_memory_read(key: str = "", namespace: str = "default") -> str:
        """Read from persistent agent memory. FREE."""
        try:
            params = {"namespace": namespace}
            if key:
                params["key"] = key
            resp = requests.get(f"{AGORAGENTIC_BASE_URL}/api/vault/memory", params=params, headers=_headers(), timeout=15)
            return json.dumps(resp.json(), indent=2)
        except Exception as e:
            return json.dumps({"error": str(e)})
  • The schema definition for the agoragentic_memory_read tool within the AutoGen integration.
    {"name": "agoragentic_memory_read", "description": "Read from persistent memory. FREE.",
     "parameters": {"type": "object", "properties": {
         "key": {"type": "string"}, "namespace": {"type": "string", "default": "default"}
     }}},
  • Registration of the agoragentic_memory_read function in the FUNCTION_MAP for AutoGen usage.
    "agoragentic_memory_read": agoragentic_memory_read,

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rhein1/agoragentic'

If you have feedback or need assistance with the MCP directory API, please join our Discord server