CortexDB Docs
Integrations

Hermes

Back Hermes agents with a CortexDB memory provider.

CortexDB implements a memory provider for the Hermes agent framework.

Install

pip install cortexdbai[hermes]

Memory provider

import os
from cortexdb.integrations.hermes import CortexDBMemoryProvider

# The provider builds its own client (it takes no client= argument)
provider = CortexDBMemoryProvider(api_url="https://api-v1.cortexdb.ai", actor="agent:hermes",
                                  bearer=os.environ["CORTEX_TOKEN"], scope="org:acme/agent:hermes")
# register the provider with your Hermes agent

See also

On this page