CortexDB Docs
Integrations

Agno

Give Agno agents CortexDB-backed memory and tools.

CortexDB provides Agno agents with a persistent memory and a tool kit for search/store/forget.

Install

pip install cortexdbai[agno]

Memory + tools

from cortexdb import Cortex
from cortexdb.integrations.agno import CortexDBMemory, CortexDBTools

client = Cortex(api_url="https://api-v1.cortexdb.ai", actor="user:alice",
                bearer=os.environ["CORTEX_TOKEN"])
scope = "org:acme/user:alice"

agent = Agent(
    model=...,
    memory=CortexDBMemory(client=client, scope=scope),
    tools=[CortexDBTools(client=client, scope=scope)],
)

See also

On this page