AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
RAG / Knowledge Base/
subcog
subcog logo

subcog

Active·★ 29·MIT·Updated 2026-08-03

Subcog is a persistent memory system for AI coding assistants that captures decisions, learnings, and context from coding sessions. It features a single-binary distribution, three-layer storage architecture (SQLite, FTS5, usearch HNSW), MCP server integration, and Claude Code hooks. It achieves high accuracy on factual recall benchmarks.

#ai#ai-assistant#claude#claude-plugin#cli#developer-tools#embeddings#gemini
$ Install
$ cargo install subcog
↗ Visit site★ GitHub
01

Features

01Memory capture with automatic embedding generation (384-dimensional vectors)
02Hybrid search combining BM25 text search and vector similarity (RRF fusion)
03SQLite persistence as single source of truth (ACID-compliant)
04MCP server integration for AI agent interoperability
05Claude Code hooks for seamless IDE integration
02

Compatibility

Cargo
Cargo
Verified via docs
Homebrew
Homebrew (macOS/Linux)
Verified via docs
Docker
Docker (Linux)
Verified via docs
Binary
Binary download
Verified via docs
npm/npx
npm/npx (fallback)
Verified via docs
03

Quick start

1
$ cargo install subcog
04

Use cases

↳Capturing and recalling technical decisions during development
↳Surfacing relevant past context when working on similar tasks
↳Maintaining persistent memory across coding sessions for AI assistants
05

Alternatives

⚡Top VS:
VSTrueMemory★381→VSglade-mcp-unity★214→VSclaude-historian-mcp★179→VSnex-as-a-skill★55→
TrueMemory logo
TrueMemory★ 381
A living memory system that ingests long-horizon data to infer insights, enabling more decisive action, all while running on a single SQLite file locally.
VSCompare→
glade-mcp-unity logo
glade-mcp-unity★ 214
Connect any MCP-compatible AI client (Claude Code, Cursor) to your Unity Editor. 222+ granular tools, a full Unity-aware system prompt, game design document project context, script semantic search, and skill calibration - all free and local.
VSCompare→
claude-historian-mcp logo
claude-historian-mcp★ 179
📜 An MCP server for conversation history search and retrieval in Claude Code
VSCompare→
nex-as-a-skill logo
nex-as-a-skill★ 55
Turn every AI agent session into company intelligence. Nex silently unifies every AI agent conversation with your email, Slack, CRM, and 100+ tools into one knowledge graph. The more your team works, the smarter every agent gets.
VSCompare→
Kaimon.jl logo
Kaimon.jl★ 56
MCP server giving AI agents full access to Julia's runtime via a live Gate — code execution, introspection, debugging, testing, and semantic search
VSCompare→
rtfm logo
rtfm★ 25
The open retrieval layer for AI coding agents. Indexes code, docs, legal, research, data — 22 parsers (incl. EPUB, DOCX, ODT), FTS5 + semantic search, knowledge graph. Serves surgical context via MCP. Open source, local, free.
VSCompare→
iai-mcp logo
iai-mcp★ 911
The best-benchmarked open-source memory system for AI coding assistants
VSCompare→
persistent-ai-memory logo
persistent-ai-memory★ 236
A persistent local memory for AI, LLMs, or Copilot in VS Code.
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
zircote /
subcog
↗

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.

29MIT
Last commit2mo ago
StatusActive
CategoryRAG / Knowledge Base
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.