Metadata-Version: 2.4
Name: basemind
Version: 0.34.0
Summary: Coding agents ask a local index of your code, git history, documents and memory over MCP or the CLI, get paths and lines instead of reading files, and coordinate in shared threads.
Author-email: Na'aman Hirschfeld <nhirschfeld@gmail.com>
License: MIT
Project-URL: Homepage, https://basemind.ai
Project-URL: Documentation, https://basemind.ai
Project-URL: Repository, https://github.com/Goldziher/basemind.git
Project-URL: Issues, https://github.com/Goldziher/basemind/issues
Keywords: mcp,agent-context,rag,code-map,tree-sitter
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Code Generators
Classifier: Environment :: Console
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: certifi>=2026.10.23
Dynamic: license-file

# basemind

The context and communication layer for coding agents — a shared code-map, document RAG, memory,
git history, and agent-to-agent comms so multiple agents coordinate while they work.
300+ languages, one MCP server.

<!-- markdownlint-disable-next-line MD013 -->
[![Docs](https://img.shields.io/badge/docs-basemind.ai-965aff)](https://basemind.ai)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Goldziher/basemind/blob/main/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/basemind.svg)](https://pypi.org/project/basemind/)

Full documentation: **[basemind.ai](https://basemind.ai)**

## Install

```bash
pip install basemind
```

On first invocation, the pre-compiled Rust binary for your platform (macOS on Apple
Silicon, Linux on x86_64 and arm64, Windows on x86_64) is downloaded from
[GitHub Releases](https://github.com/Goldziher/basemind/releases) and cached under
`$XDG_CACHE_HOME/basemind/<version>/` (`~/.cache/basemind/<version>/` when `XDG_CACHE_HOME` is
unset). [Data and uninstall](https://basemind.ai/start/uninstall/) lists what to remove.

Override the binary location with `BASEMIND_BIN=/path/to/basemind`; `BASEMIND_BINARY` is read when it is unset.

## Quickstart

```bash
cd /path/to/your/repo
basemind scan        # index the working tree
```

Then register basemind with your MCP client, which starts `basemind serve` itself (run in a
terminal, `basemind serve` only waits on stdio):

```json
{
  "mcpServers": {
    "basemind": { "command": "basemind", "args": ["serve"] }
  }
}
```

`basemind serve` serves the project of the directory the client starts it in. A client that starts
it elsewhere needs the project named: `"args": ["serve", "--root", "/path/to/your/repo"]`.

The [MCP server guide](https://github.com/Goldziher/basemind#2-as-an-mcp-server) has the command or
file for each client, and [Get started](https://github.com/Goldziher/basemind#get-started) covers
`basemind init`.

## Full documentation

See the [main README](https://github.com/Goldziher/basemind#readme) for complete docs,
architecture, MCP tool reference, and per-harness setup instructions.

## License

[MIT](https://github.com/Goldziher/basemind/blob/main/LICENSE).
