brain-wiki
One long-term memory for all your AI agents, kept as plain Markdown that you own.
Your agents (Claude Code, Codex, Antigravity, Cursor, OpenClaw, or any MCP client) share one brain: a folder of Markdown notes they search before answering and keep up to date as they work. It runs on your machine, needs no server or API keys, and opens in Obsidian.
- Plain files. A note is an ordinary Markdown page: metadata in frontmatter, facts and links in the body. Read, edit, and diff the brain like any folder, or adopt an Obsidian vault as it is.
- Knows what changed. Search returns a note together with the note that replaced it.
- Agents write notes directly. They edit the Markdown, then
brain validatechecks it;brain commit(by hand or on a schedule) keeps every edit in git. - No network calls. Your own agent does the thinking; brain-wiki stores and checks.
Quick start
Needs Python 3.11+ and uv.
1. Install.
uv tool install brain-wiki
2. Set it up.
-
Recommended: paste this into your agent (Claude Code, Codex, Antigravity, Cursor, OpenClaw, ...):
Set up brain-wiki by running
brain setup --guideand following it. -
Or, in a terminal: run
brain setup, which asks the same questions step by step.
Either way, setup explains each choice (where the brain lives, which agents to connect, what each may do) and shows every change before making it.
3. Use it in your agent.
Remember that I prefer pnpm over npm, and that our team ships on Thursdays.
What did we decide about the database migration last week?
Maya moved to the platform team. Update her note.
Consolidate my brain.
4. See your brain. brain viz opens a local 3D map of your notes, and
brain obsidian opens the brain's folder as a vault in Obsidian. With several
brains, both ask which one, or name it: brain viz work.
How it works
agents ──edit + validate──► notes (topics/*.md) ◄── you, in Obsidian
│ ▲ ▲ │
│ └──── search · read ─────────┼───────┘
└─log─► inbox ──consolidate─────┘ brain commit ──► git
Agents search and read the brain, and write what they learn straight into
topic notes, then validate them. Something they cannot place yet goes to an
inbox, which your agent folds into notes when you ask. In a git brain,
brain commit snapshots direct edits (run it by hand, or schedule it with
brain schedule add commit), and brain undo reverses brain-wiki's own
changes.
Status
Alpha: expect breaking changes before 1.0. Known limits:
- No access scopes inside a brain: every connected agent reads all of it. Keep work and personal notes in separate brains.
- Maintenance runs when you ask; only
brain commitruns on a schedule. - To use a brain on several machines, push it to a git remote; do not sync one
.gitfolder with a sync tool. - Chat apps that need a remote MCP server (ChatGPT, claude.ai, the Gemini app) are not supported yet.
Learn more
Getting started · Agents · Maintenance · Import a vault · Privacy · Reference · Design · Changelog
Metadata
Release files for brain-wiki 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| brain_wiki-0.3.1.tar.gz | 740.4 kB | With provenance | Details for brain_wiki-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brain_wiki-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for brain_wiki-0.3.1-py3-none-any.whl |
Total release size: 1.3 MB
Release files / brain_wiki-0.3.1.tar.gz
| Download URL | brain_wiki-0.3.1.tar.gz |
|---|---|
| Size | 740.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d686eb81bac796a9154bb632b7cbdc17d36acd28ca98d9acfe51a3db4e6220b
|
|
BLAKE2b-256 checksum How to use checksums |
0804755df51ed7028fa69b1c462f5d0ea8561e40c39b50765af8b3b118afab79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.
Transparency logRelease files / brain_wiki-0.3.1-py3-none-any.whl
| Download URL | brain_wiki-0.3.1-py3-none-any.whl |
|---|---|
| Size | 551.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
476ae6d52c7c6187fcc6257c6f18373d62af5817f23ec19670385e3cb4990bf9
|
|
BLAKE2b-256 checksum How to use checksums |
b36f5fd760bffdc3f1499cdbcdd19c854ee1e89508ea4c32abe71a9c1a599f08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.
Transparency logSecurity for brain-wiki 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for brain_wiki-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.