Skip to main content
Use the official SDKs when you want Crosmos memory inside an application, service, worker, or custom agent runtime. The TypeScript and Python SDKs are generated from the Crosmos OpenAPI specification and expose typed access to the Memory API. Crosmos also maintains Ironic, the toolkit we use for typed SDK generation.

Install

Authenticate

Create an API key from Settings -> API Keys in the Crosmos Console. Keys use the csk_ prefix.

Create a client

Create a memory space

Spaces isolate memories for a user, tenant, project, or agent.
If you already know the space name, resolve it before making calls:

Ingest content

Use source ingestion for raw text, markdown, or other source payloads.
Crosmos processes ingestion asynchronously. Poll the job when your app needs to wait for extraction to finish:

Ingest a conversation

Use conversation ingestion for ordered chat history. Each message becomes a source with conversation provenance.

Search memories

Use hybrid search to retrieve relevant memories from a space.

Resources

Next steps

Advanced SDK usage

Configure retries, timeouts, errors, logging, raw responses, and runtime options.

MCP

Connect Crosmos to an AI client without writing application code.