Knowledge you can verify, version, and hand to an agent.
Pyrite keeps what you know as typed markdown in git. Every entry is checked against a schema, every change is a commit, and every AI agent you connect gets exactly the access you grant it, through MCP.
Built for knowledge that has to hold up
Most AI memory is a pile of embeddings. Most wikis are a pile of pages. Pyrite treats knowledge the way you already treat code: typed, reviewed, versioned, and readable by machines and people alike.
Typed entries, checked on every write
Define person, decision, event or component types in kb.yaml. Every write is validated against the schema, whether a person or an agent made it.
Every change is a commit
Markdown with YAML frontmatter, versioned in git. Branch, diff, review and roll back what you know the same way you do code.
Search by meaning and by structure
Vector search finds what an entry is about. Structured queries find it by type, tag, date range or relationship. Use both at once.
Yours, on your disk
Plain files plus a SQLite index you can rebuild at any time. No cloud dependency, no subscription, nothing to export your way out of.
The files are the truth. Everything else is derived.
pyrite index build.
Give each agent the keys it needs, and no more.
Agents get the same schema validation, typed errors and permissions as people. Pick a tier per connection.
Or let Pyrite write it:
pyrite mcp-setup
configures Claude Desktop and Claude Code. Writing it by hand? Use the
absolute path from which pyrite:
clients do not see your shell's PATH or an activated venv.
One engine, shaped by extensions
Need your own shape? Extensions add entry types, MCP tools, CLI commands, validators and lifecycle hooks. Write a plugin
From clone to first search
There is no PyPI package yet: install from a clone.
Take the 20-minute tutorial. CI runs it as a test, so it works as written.
A shared instance for about $6 a month
Ubuntu VPS with Docker, automatic TLS through Caddy. Setup takes about two minutes.
Pyrite is a community project now.
Bugs, docs that drift from the code, and roadmap items are all open on GitHub. Multi-user hardening is where help matters most right now.