Official SDKs for TypeScript and Python
Install the client, create a project API key, and start retaining memories in minutes. Every method has an async version for production agent loops.
Quickstart
Five minutes to your first memory
- Sign in at app.cognimemo.com and create a project
- Open Connect → API Keys and create a key (cmk_live_…)
- Install the SDK and call retain with your first memory
- Recall it back with a semantic query
import { Cognimemo } from "@cognimemo/client";
const cm = new Cognimemo({ apiKey: process.env.COGNIMEMO_API_KEY });
await cm.retain({
bank: "user@acme.com",
text: "Deploys to us-east-1 by default",
type: "procedure",
});
const { results } = await cm.recall({
bank: "user@acme.com",
query: "deployment region",
});Features
Built for production agents
Typed memory blocks
Helpers for procedure, reasoning, preference, correction, profile, and more.
Transparent encryption
Project-level encryption at rest — SDK always returns plaintext.
Usage reporting
Every recall returns token usage and truncation metadata.
Layered recall
Org-blended recall across banks with usage breakdown.