BBM-Atlas
Structural code intelligence for AI assistants. BBM-Atlas turns a repository into a knowledge graph of what calls what, what imports what and what breaks when something changes, then serves it to any AI assistant over MCP, REST, a CLI and a web console. It is local-first and LLM-agnostic: nothing has to leave your machine.
- Understand. Twelve languages parsed symbol by symbol with tree-sitter (seven more as whole files), with calls, imports and inheritance resolved across the repository and a confidence tag on every edge.
- Reason. Impact analysis, paths, cycles, god nodes and communities over the knowledge graph.
- Remember and retrieve. Repository memory, facts you tell it, lessons learned from outcomes, and four-source retrieval (structure, memory, graph, semantic) ranked into one answer.
- Serve. 35 MCP tools, 46 REST routes, 51 CLI commands and a web console, all on the same engine.
- Economise. Syntax-aware, reversible compression and a drop-in proxy that cut the tokens your assistant spends.
Install
BBM-Atlas needs Python 3.11 or newer (tested on 3.11 to 3.14), on Linux, macOS or Windows. Each release is
installed and tested on Linux, macOS on Apple silicon and Windows before it is published. On an Intel Mac it
installs from prebuilt wheels too, which is checked for each release, though no Intel Mac runs the tests:
cryptography, which checks licence keys and signed sign-in tokens, stays at 48 there, the last version with
Intel Mac wheels. Alpine and other musl-based Linux are not tested.
pip install bbm-atlas
# With a local embedding model and an in-process LLM:
pip install "bbm-atlas[embeddings,llm]"
To upgrade, pip install --upgrade bbm-atlas. Stores are brought up to date the first time the new version uses
them; with your own databases, bbm-atlas migrate does it ahead of a rolling update. The local database file
(store/bbm-atlas.sqlite3 in BBM-Atlas's data directory) then opens only in the new version or later, so copy it
first to keep a way back.
Quick start
bbm-atlas serve # the API, and the web console at http://localhost:8000/console/
# In another shell:
bbm-atlas index ./my-repo --name my-repo
bbm-atlas search my-repo "how does checkout work?"
bbm-atlas impact my-repo shop.cart.checkout --max-depth 3
A command takes the repository's name, as indexed, or the id index prints.
With nothing configured, BBM-Atlas keeps everything in one local database file, so indexed repositories and learned facts survive restarts. Point it at Postgres, Neo4j, Qdrant and Redis when you need to share and scale.
Connect your assistant
The running API serves its tools over MCP at http://127.0.0.1:8000/mcp:
bbm-atlas mcp install --url http://127.0.0.1:8000/mcp # Claude Code, for this project
{ "servers": { "bbm-atlas": { "type": "http", "url": "http://127.0.0.1:8000/mcp" } } }
The second snippet is VS Code's .vscode/mcp.json. bbm-atlas mcp install --host cursor (or vscode, or gemini)
writes that client's project file instead, and bbm-atlas mcp config --host <client> prints the entry for any
other: Claude Desktop, Devin Desktop (formerly Windsurf), Zed, JetBrains AI Assistant or Codex.
In VS Code, the BBM-Atlas extension does all of this for you: it starts the server for the workspace, indexes it, and offers the tools to Copilot's agent mode with nothing to configure. It also shows what a change affects beside your code.
In Claude Code, the BBM-Atlas plugin does the same: it starts a server of its own in each session and adds the
skills that tell Claude when to use its tools, with /bbm-atlas:index and /bbm-atlas:impact. With BBM-Atlas
installed, add it in Claude Code:
/plugin marketplace add https://atlas.byteblendmatrix.com/claude/marketplace.json
/plugin install bbm-atlas@byteblendmatrix
An assistant's client sends every tool's definition with every request, so the server offers seven by default:
brief, search, outline, read_symbol, analyze_impact, retrieve and index_repository. Their definitions
come to about 890 tokens, a size CI checks on every change. The server answers in compact lines within a token
budget. BBM_ATLAS_MCP_TOOL_PROFILE=full offers all 35. brief is a map of the repository to start a session from.
bbm-atlas agent-setup tells each assistant, in its own instruction file, when these tools serve it better than
reading files.
Claude Code's own tool outputs can shrink too: bbm-atlas hook install claude-code has it send them to the running
server, which answers the large ones - test runs, git log, diffs, builds, grep - compressed, the original a
retrieve away. When the server isn't running, Claude Code sees its outputs unchanged. For Codex CLI and Gemini CLI,
bbm-atlas proxy does the same between the agent and its model's API, the reply streamed back as it comes.
bbm-atlas tokens shows what that saved and what BBM-Atlas itself cost: today, the last 7 or 30 days, or all
time. Measured savings, estimated ones and the cost are shown apart, and the net is their sum. The web console
shows the same on its Tokens page.
For a chat app that can't reach your machine (claude.ai, ChatGPT, the Gemini app), bbm-atlas pack <repository> "how does checkout apply discounts?" prints a context pack to paste in place of whole files. It holds the code the
question needs, where that code is used and its files' outlines, in Markdown, within a token budget.
A server you deploy on HTTPS can be such an app's connector instead. Point it at your OAuth authorization server
(BBM_ATLAS_OAUTH_ISSUER) and the app signs its users in there; they can then search and read the code through
BBM-Atlas's tools.
Editions
Everything above is the Community Edition: free, with no key and no account.
The Enterprise Edition is the same package with a licence key. It adds users, service accounts and their own API keys, role-based access control, organisations on one deployment, single sign-on with OIDC or SAML 2.0, a hash-chained audit log and high availability.
export BBM_ATLAS_EE_LICENSE_KEY_FILE=./license.key
bbm-atlas enterprise license # its state, features and seats
The key is checked offline, so nothing phones home. See pricing, or write to info@byteblendmatrix.com for a quote or an evaluation key.
Links
- Website: https://atlas.byteblendmatrix.com
- Get started: https://atlas.byteblendmatrix.com/get-started/
- Documentation: https://atlas.byteblendmatrix.com/docs/
- VS Code extension: https://marketplace.visualstudio.com/items?itemName=byteblendmatrix.bbm-atlas
- Claude Code plugin: https://atlas.byteblendmatrix.com/docs/claude-code/
- Enterprise: https://atlas.byteblendmatrix.com/enterprise/
- Support and sales: info@byteblendmatrix.com. With a problem,
bbm-atlas doctorprints what we need to know about your installation, with no keys in it.
Licence
BBM-Atlas is proprietary software under the BBM-Atlas License, included in the package: the Community features
are free to use, and the Enterprise features need a licence key. It uses third-party components under their own
licences, listed in THIRD_PARTY_NOTICES.md.
Metadata
Release files for bbm-atlas 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bbm_atlas-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for bbm_atlas-1.0.0-py3-none-any.whl |
Release files / bbm_atlas-1.0.0-py3-none-any.whl
| Download URL | bbm_atlas-1.0.0-py3-none-any.whl |
|---|---|
| Size | 936.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49e8a1e88d6fc6a13f68cb1c9009f680da8911c538ae3cbcf1fa22f425214dc5
|
|
BLAKE2b-256 checksum How to use checksums |
cd20d6fd0a955c1eee135f4d3e3ba3306a16b549d014db22c5e5e050a2f59e40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for bbm-atlas 1.0.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.