Conch
Biological memory for AI agents.
Semantic search + decay. No API keys. Just a SQLite file.
The Problem
Most AI agents use a flat memory.md file. It doesn't scale.
Loads everything into context
Every prompt gets the whole file. Tokens wasted on irrelevant history.
No semantic recall
grep finds keywords, not meaning. "Where does Jared work?" won't match "Jared is employed at Microsoft".
No decay
A fact from 6 months ago is weighted the same as one from today.
No deduplication
The same thing stored 10 times in slightly different words.
Biological Decay
Memories strengthen with use and fade over time β just like biological memory. Facts decay slowly (Ξ»=0.02/day), episodes faster (Ξ»=0.06/day). Anything below 0.01 strength is pruned forever.
Recalled 3 days ago β reinforced
Last recalled 40 days ago β fading
Episode from 90 days ago β pruned β οΈ
Semantic Search
Hybrid BM25 + vector recall fused via Reciprocal Rank Fusion. It finds meaning, not keywords. Ask a question in natural language and get relevant memories β even when the phrasing is completely different.
Graph Traversal
Spreading activation through shared subjects and objects. Recalling one memory surfaces related ones β building a web of associated knowledge, just like your brain does.
Asking about Jared surfaces Microsoft, which surfaces Copilot
Zero Infrastructure
One SQLite file. Local embeddings via FastEmbed β no API key, no internet, no config. Install and go. Your memories stay on your machine.
Conch
Others
MCP Support
Built-in Model Context Protocol server. Drop the config into any MCP-compatible client and your LLM gets direct access to remember and recall β no glue code needed.
{
"mcpServers": {
"conch": {
"command": "conch-mcp",
"env": {
"CONCH_DB": "~/.conch/default.db"
}
}
}
}How It Works
Store a fact
Store an episode
Recall by meaning
Run decay maintenance
Scoring formula
Get Started
No Cargo? Check the installation guide for prebuilt binaries.
MCP Server Config
{
"mcpServers": {
"conch": {
"command": "conch-mcp",
"env": { "CONCH_DB": "~/.conch/default.db" }
}
}
}