# statefulmemory > Persistent memory for AI coding agents. Self-host (local or team) or > StatefulMemory Cloud (managed SaaS). CLI + gRPC daemon, MCP tools, SQLite, > hybrid BM25 + dense search. statefulmemory is open source (MIT OR Apache-2.0) for the self-host stack. Source: https://github.com/sanudatta11/statefulmemory ## Docs - [Overview](https://statefulmemory.dev/): Product overview and demo video - [Why StatefulMemory?](https://statefulmemory.dev/docs/why-statefulmemory/): Self-host + Cloud vs vector DBs - [Architecture](https://statefulmemory.dev/docs/architecture/): CLI, MCP, daemon, SQLite - [Install](https://statefulmemory.dev/docs/install/): Build from source (Rust), PATH, doctor - [Getting started](https://statefulmemory.dev/docs/getting-started/): End-to-end tour - [Integrations](https://statefulmemory.dev/docs/integrations/): 14 install targets + MCP - [Wire into your agent](https://statefulmemory.dev/docs/agents/): MCP, git verify hooks, STATEFULMEMORY_LLM_* - [Self-hosting and Cloud](https://statefulmemory.dev/docs/self-hosting/): UDS, team TCP, StatefulMemory Cloud SaaS - [Observations](https://statefulmemory.dev/docs/observations/): Save, recent, history, reextract - [Search and context](https://statefulmemory.dev/docs/search-context/): Hybrid retrieval, token budgets - [Anchors and verify](https://statefulmemory.dev/docs/anchors-verify/): path::symbol digests, stale withdrawal - [Decide](https://statefulmemory.dev/docs/decide/): Conflict recommendation via agent CLI - [Mem archives](https://statefulmemory.dev/docs/mem/): Portable .mem export/import - [Config](https://statefulmemory.dev/docs/config/): TOML overlays and env overrides - [LoCoMo eval](https://statefulmemory.dev/docs/locomo/): Smoke, full, staleness - [Troubleshooting](https://statefulmemory.dev/docs/troubleshooting/): Doctor and common failures - [Command cheat sheet](https://statefulmemory.dev/docs/commands/): Dense command index ## For coding agents (repo) - [AGENTS.md](https://github.com/sanudatta11/statefulmemory/blob/main/AGENTS.md): OpenCode / Codex / local LLM contributor instructions - [CLAUDE.md](https://github.com/sanudatta11/statefulmemory/blob/main/CLAUDE.md): Claude Code / Cursor contributor notes - [llms-full.txt](https://statefulmemory.dev/llms-full.txt): Longer plain-text summary for LLM ingestion ## Optional - [Sitemap](https://statefulmemory.dev/sitemap-index.xml) - [robots.txt](https://statefulmemory.dev/robots.txt)