01 / 05Amnesia
Every session starts at zero.
Each agent keeps its own walled memory, so you re-explain the same context every day.
Local-first memory for AI agents
Sigil gives Claude Code, Codex, Cursor, Kiro and any MCP client one shared memory. It captures what you decide as you work and recalls it in milliseconds, from your own Postgres. No cloud. No telemetry.
curl -fsSL https://raw.githubusercontent.com/Anmol-Srv/sigil/master/install.sh | sh01 / 05Amnesia
Each agent keeps its own walled memory, so you re-explain the same context every day.
02 / 05Capture
Four Claude Code hooks capture decisions as you work. Other agents write through the CLI or MCP.
03 / 05Recall
pgvector + BM25 hybrid search, re-ranked by recency and co-recall. 33ms p50.
04 / 05Agents
sigil init wires Claude Code, Codex, Cursor and Kiro. Any MCP client takes one line.
05 / 05Sigil
Your own Postgres. No cloud, no telemetry. Fully air-gappable with Ollama.
Capabilities
A background daemon, your Postgres, and a memory model built for agents. Hover a number to trace it through the system.
Works with
sigil init detects and configures the first four automatically. The rest take one line from sigil register --print.
$sigil init
scanning for coding agents…
✓Claude Code4 hooks + mcp~/.claude/settings.json
✓Codex CLImcp + rules~/.codex/config.toml
✓Cursormcp + rules~/.cursor/mcp.json
✓Kiromcp + steering~/.kiro/settings/mcp.json
◆memory wired into 4 agents. open one and start working.
$sigil register --print
Add this to your MCP client config:
{
"mcpServers": {
"sigil": { "command": "~/.sigil/bin/sigil-mcp", "args": [] }
}
} $
Auto-wired by sigil init
One line from sigil register --print
Honest benchmarks
Measured on LongMemEval, with the caveats printed next to the numbers.
One SQL query: pgvector + BM25 fused by Reciprocal Rank Fusion.
$0.21
100 questions, OpenAI top-quality stack. Free on Ollama.
Caveats: oracle is the easy split, n=100 is small, and each haystack is ~25 chunks. Scripts and methodology: eval/longmemeval.
Install
curl -fsSL https://raw.githubusercontent.com/Anmol-Srv/sigil/master/install.sh | sh