Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By zircote
Persistently stores coding session decisions, learnings, and patterns with semantic, hybrid, and text search, namespace organization, and automatic context surfacing to maintain AI assistant continuity across sessions.
npx claudepluginhub zircote/subcogAnalyze and enhance AI artifacts to leverage Subcog memory effectively
List and explain available memory namespaces
Work with MCP prompt templates for memory operations
Search persistent memories using semantic, hybrid, or text search
Capture a memory (decision, learning, pattern, or context) to persistent storage
Capture decisions, learnings, patterns, and context as persistent memories that survive across sessions.
Search and surface relevant memories to inform current work with decisions, patterns, and learnings from past sessions.
Analyze and enhance AI prompts, skills, commands, hooks, and system configurations to leverage Subcog's persistent memory system effectively.
Executes bash commands
Hook triggers when Bash tool is used
Modifies files
Hook triggers on file write and edit operations
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Persistent memory for AI coding agents. Survives across sessions and compactions.
Universal memory runtime — cross-session cognitive memory for Claude Code. Remembers decisions, patterns, and context across coding sessions.
Multi-tiered memory and knowledge base with semantic search, auto-compaction, and built-in evaluation. Works across Claude Code, Copilot CLI, OpenCode, Cline, and Cursor.
Persistent memory across Claude Code sessions using Cognis
Persistent memory system for AI coding sessions — cross-tool memory sharing with 6-dimensional hybrid search
Auto-capture high-signal coding context into memctl memory
Pure filesystem-based memory system for Claude Code with custom ontology support
Rust language server
Comprehensive agent library featuring 115+ specialized Opus 4.5 agents organized by domain
Detect AI-generated writing patterns and build authentic voice profiles through adaptive interviews and computational stylistics
Claude Code plugin for C# development with OmniSharp LSP integration, 12 automated hooks for .NET builds, linting, formatting, and testing (xUnit, NUnit)
A persistent memory system for AI coding assistants. Subcog captures decisions, learnings, and context from coding sessions and surfaces them when relevant.

Subcog delivers:
ADR compliance is tracked in docs/adrs/README.md. Current compliance is 95% (55/58 active ADRs) with documented partials in ADR-0003 and ADR-0039.
Subcog achieves 97% accuracy on factual recall (LongMemEval) and 57% on personal context (LoCoMo), compared to 0% baseline without memory. See full benchmark results.
| Benchmark | With Subcog | Baseline | Improvement |
|---|---|---|---|
| LongMemEval | 97% | 0% | +97% |
| LoCoMo | 57% | 0% | +57% |
| ContextBench | 24% | 0% | +24% |
| MemoryAgentBench | 28% | 21% | +7% |
Multiple installation methods are available. See INSTALLATION.md for detailed instructions.
# Cargo (recommended - Rust developers)
cargo install subcog
# Homebrew (macOS/Linux)
brew install zircote/tap/subcog
# Docker
docker run --rm ghcr.io/zircote/subcog --help
# Binary download
curl -LO https://github.com/zircote/subcog/releases/latest/download/subcog-VERSION-TARGET.tar.gz
# npm/npx (fallback if binary install unavailable)
npx @zircote/subcog --help
| Method | Platforms | Auto-update |
|---|---|---|
| Cargo | All | cargo install |
| Homebrew | macOS, Linux | brew upgrade |
| Docker | linux/amd64, linux/arm64 | Pull latest tag |
| Binary | All | Manual |
| npm/npx | macOS, Linux, Windows | Via npm |
# Capture a memory
subcog capture --namespace decisions "Use PostgreSQL for primary storage due to ACID requirements"
# Search memories (semantic search with normalized scores 0.0-1.0)
subcog recall "database storage decision"
# Search with raw RRF scores (for debugging)
subcog recall "database storage decision" --raw
# Check status
subcog status
# Migrate existing memories to use real embeddings
subcog migrate embeddings
Search results return normalized scores in the 0.0-1.0 range:
Use --raw flag to see the underlying RRF (Reciprocal Rank Fusion) scores.
Run as an MCP server for AI agent integration: