Skip to content

Overview

Persistent memory infrastructure for coding agents: CLI + MCP → gRPC daemon → per-project SQLite. Self-host on your machine or team, or use StatefulMemory Cloud (managed SaaS).

make install wire with statefulmemory install source on GitHub

Terminal window
git clone https://github.com/sanudatta11/statefulmemory && cd statefulmemory
make prereqs && make install
export PATH="$HOME/.local/bin:$PATH"
statefulmemory --version
  1. Wire your agentstatefulmemory install (or statefulmemory install --agent cursor)
  2. Save something usefulstatefulmemory obs save --type decision --title "…" --content "…" (add --anchor path::symbol for code-tied claims)
  3. Pull context laterstatefulmemory obs context --query "…" --limit 20

Full walkthrough: Getting started · Agent setup: Wire into your agent · Shipped vs wishlist: Integrations.

Works with Claude Code, Cursor, Windsurf, Antigravity, OpenCode, Kimi Code, ZCode, VS Code / Copilot, Codex, Gemini CLI, Amazon Q, and any agent that can shell out or speak MCP. There is no Python Memory SDK yet — use MCP or the CLI. Deployment: Self-hosting and Cloud.

Machine-readable index: llms.txt · fuller summary: llms-full.txt. Coding agents cloning the repo should read AGENTS.md (OpenCode / Codex / local) or CLAUDE.md.