- Fewer tokens. An agent reads a file's outline, one symbol's body or a list of call sites
instead of opening and grepping whole files.
- Answers with paths and lines. Every result names the file, the 1-based line and the
signature, so the agent reads only the span it needs.
- Coordination. Agents on one machine, in any harness and any repository, post to shared
threads and read their own inbox.

An agent reasoning from structure — a file outline and a call-site lookup in a live session, statusline tracking tokens saved. Recorded on an earlier release: the tools are now code_outline and code_refs.
Quickstart (60 seconds)
In a Claude Code session (not your shell), at the repository root:
/plugin marketplace add Goldziher/basemind
/plugin install basemind@basemind
Restart Claude Code and run /bm-init. It asks where the rules go, then runs basemind init --yes
with the binary the plugin downloaded: that writes basemind.toml and a rules block telling the
agent to ask basemind first. Then ask about a function in your repository (parse_config stands
in for its name):
Where is parse_config defined, and what calls it?
The first call builds the index; until it is done, answers carry a notice saying so.
Without a plugin, from a shell:
brew install Goldziher/tap/basemind
basemind init --yes
basemind scan
basemind code refs parse_config # a function name from your repository
Other agents →
What you get
| Capability | What it answers | MCP tools |
|---|
| Code | What a file contains, where a name is defined, one symbol's body, text and meaning search, and the call sites, callers, implementations and importers of a name. | code_outline · code_symbols · code_read · code_grep · code_search · code_refs · find_files |
| Git | Recent commits, commits touching a path or mentioning a phrase, blame per line or per symbol, and diffs as hunks or as the symbols added and removed. | git_log · git_blame · git_diff |
| Documents | Search by meaning and by words over PDFs, Office files, HTML, email, notebooks, Markdown and images, with citations. | docs_search |
| Memory | Notes agents save and search by meaning, kept per clone and, with an origin, shared by its worktrees. | memory_save · memory_search |
| Agent messaging | Threads and per-agent inboxes for the agents on one machine. | agent_post · agent_inbox · agent_threads |
| Index | Whether the index is fresh, and a re-index of the files a result calls stale (the index already follows edits). | index_status · index_rescan |
Arguments and examples for every tool: the MCP tool reference.
Each tool has a CLI command that runs the same code with the same arguments (basemind code refs,
basemind git log, …).
Installation
The plugin downloads the basemind program on first use. Every other path needs the program
installed.
As a plugin