zircote/subcog
22 stars · Last commit 2026-04-20
Persistent memory system for AI coding assistants. Captures decisions, learnings, and context from coding sessions. Features hybrid search (semantic + BM25), MCP server integration, SQLite persistence with knowledge graph, and proactive memory surfacing. Written in Rust.
README preview
# Subcog [](https://github.com/zircote/subcog/actions/workflows/ci.yml) [](https://github.com/zircote/subcog/releases) [](https://crates.io/crates/subcog) [](https://www.rust-lang.org/) [](LICENSE) [](https://github.com/rust-lang/rust-clippy) [](https://github.com/EmbarkStudios/cargo-deny) A persistent memory system for AI coding assistants. Subcog captures decisions, learnings, and context from coding sessions and surfaces them when relevant.  ## Overview Subcog delivers: - **Single-binary distribution** (<100MB, <10ms cold start) - **Three-layer storage architecture**: SQLite persistence, FTS5 indexing, usearch HNSW vectors