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.

SDKs

TypeScript

TypeScript

@cognimemo/client

npm i @cognimemo/client

The official TypeScript / JavaScript client with typed helpers for each memory block.

Read docs
Python

Python

cognimemo-client

pip install cognimemo-client

Async-first Python client. Use as a context manager for clean shutdown.

Read docs

Quickstart

Five minutes to your first memory

  1. Sign in at app.cognimemo.com and create a project
  2. Open Connect → API Keys and create a key (cmk_live_…)
  3. Install the SDK and call retain with your first memory
  4. 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.