A local-first second brain for AI agents: plain Markdown notes that you own, connected by meaningful links.
pip install brain-wiki==0.3.3 Copy PIP instructions
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.
Recommended: paste this into your agent (Claude Code, Codex, Antigravity, Cursor, OpenClaw, ...):
Set up brain-wiki by running brain setup --guide and 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.
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.
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.
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.
Alpha: expect breaking changes before 1.0. Known limits:
Getting started · Agents · Maintenance · Import a vault · Privacy · Reference · Design · Changelog
Contributing · Security · Apache 2.0 (visualizer notices)
agents knowledge-base markdown mcp memory obsidian
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.




