Grimoire
Global agents knowledge — one shared memory. Every agent. Every project. Every decision, preference and "the human said X", written down and searchable across sessions.
shipped summonasync/grimoire
The session ends and the reasoning goes with it. What the crew learned about this codebase — the rules, the corrections, the reason a decision went one way — has to be re-taught to every agent, in every project, forever.
One binary, three faces: grimoire mcp (stdio) for agents,
grimoire serve for the human's web console on loopback,
grimoire <command> for scripts.
- Memory at two speeds. Short: journal notes written the moment something is learned — Session scope expires in 24 hours, Project / Global / Personal last. Long: curated Facts that outlive recency decay. Compaction distills journal clusters into facts, so the short shelf keeps feeding the long one.
- The startup brief: one MCP call loads the persona, top facts, recent journal and
a tombstone digest under a character budget — what the budget cut is named, never
silently dropped.
grimoire brief --dailyfolds the day's notes in, and a SessionStart-hook shape boots agents with the same brief. - A topic digest pulls everything one tome knows in a single read: the standing facts, the journal entries that are still news, and the tombstones that used to be true.
- Tomes keyed per crew — a crew's projects share a tome; the scope field is what
keeps the layer global, not the product's boundary. Every write carries actor
provenance;
forgetis a tombstone, never a silent delete;historywalks a fact's replacement lineage;scryreads other tomes when yours lacks the answer.
Install
release
install.sh + platform archive from GitHub Releases — win-x64, linux-x64, osx-arm64
build
dotnet publish src/Grimoire.Cli -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true
shell
grimoire init
grimoire serve
Why it is good
- Provenance on every write. Memory you can audit beats memory you can trust.
- Tombstones instead of deletes — a wrong fact is corrected, not erased, and the lineage shows what the crew believed when.
- Continuity is the default: the correction one agent ate is where every other agent starts. Crews stay separate — one tome each — and scry reads across anonymously when another crew already answered the question.
- The startup brief is budget-honest: it names every record it left out instead of truncating silently.
- Local-first with no LLM in the core: it stores and retrieves, it does not opine.
Trade-offs
- No Qdrant, no memory: every stored fact is a point in a Qdrant collection, and the default embedding line is Ollama with qwen3-embedding (1024 dims). Docker + Ollama are on the critical path.
- Loopback-only HTTP by design: no remote console, no phone, no team view.
- Young and moving fast: 0.1.0 to 0.9.1 inside a month. Interfaces will move again — pin versions, read the changelog.
- Value depends on discipline — a memory store nobody writes to is an empty room. The crew contract is part of the product, not an afterthought.
Measured
0.9.1
current version — bumped 2026-11-16; the 0.3 → 0.9 train shipped without tags
2584/2584
full suite green — review-065, the 0.9.1 tree
16
MCP tools — docs/how-it-works.md tool table, counted 2026-11-23