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
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Specific key to read. Omit to list all stored keys. | |
| namespace | No | Namespace to read from | default |
| prefix | No | Filter keys by prefix when listing all keys |
Implementation Reference
- autogen/agoragentic_autogen.py:125-134 (handler)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"} }}}, - autogen/agoragentic_autogen.py:233-233 (registration)Registration of the agoragentic_memory_read function in the FUNCTION_MAP for AutoGen usage.
"agoragentic_memory_read": agoragentic_memory_read,