CortexDB Docs
Integrations

BeeAI

Give BeeAI agents CortexDB memory and tools.

CortexDB provides BeeAI agents a persistent memory plus search/store/forget tools.

Install

pip install cortexdbai[beeai]

Memory + tools

from cortexdb import Cortex
from cortexdb.integrations.beeai import (
    CortexDBMemory, CortexDBSearchTool, CortexDBStoreTool, CortexDBForgetTool,
)

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

memory = CortexDBMemory(client=client, scope=scope)
tools = [CortexDBSearchTool(client=client, scope=scope),
         CortexDBStoreTool(client=client, scope=scope)]

See also

On this page