CortexDB Docs
Integrations

CAMEL-AI

Back CAMEL-AI agents with CortexDB long-term memory.

CortexDB provides CAMEL-AI agents a persistent AgentMemory-compatible memory backend.

Install

pip install cortexdbai[camel]

Memory

from cortexdb import Cortex
from cortexdb.integrations.camel import CortexDBMemory

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

memory = CortexDBMemory(client=client, scope="org:acme/user:alice")
# pass memory= into a ChatAgent

See also

On this page