Skip to content

DocsUse

The VS Code extension

Index the workspace, search it, and see what a change affects from the cursor, a code lens or a hover, ask @atlas in the chat, and give Copilot's agent mode BBM-Atlas's tools.

Getting it

Install BBM-Atlas by ByteBlendMatrix from the VS Code Marketplace: search for BBM-Atlas in the Extensions view, or from a terminal:

terminal
code --install-extension byteblendmatrix.bbm-atlas

Cursor, VSCodium, Devin Desktop, Gitpod and Theia install extensions from Open VSX instead of the Marketplace: search for BBM-Atlas in their Extensions view. It is the same extension, at the same version.

It contains no BBM-Atlas code of its own. It runs the BBM-Atlas installed in your Python, or connects to a server you already run, and calls its REST API.

Starting the server

By default (bbmAtlas.server.mode: auto) the extension starts BBM-Atlas itself, on a free loopback port, and stops it with the window. The status bar shows where it stands, and clicking it offers the next step:

StatusMeaningClick to
RestrictedThe workspace isn't trusted, so no Python runsManage workspace trust
No PythonNo Python 3.11 or newer was foundChoose a Python
Not installedPython found, without BBM-Atlas 1.0 or newerInstall BBM-Atlas (with pip, after you agree)
ReadyServing; it also shows indexing or indexedSearch, or index
FailedIt couldn't start, or stoppedShow the log

It looks for Python in bbmAtlas.pythonPath, then the Python extension's selected interpreter, then python3 and python (python and py -3 on Windows), preferring one that already has BBM-Atlas.

To use a server you run yourself - a team server, or one with your Enterprise licence - set bbmAtlas.server.mode to external and bbmAtlas.server.url to its address, then run BBM-Atlas: Set API Key if it requires one.

What it does

  • Indexing. Each workspace folder is indexed when the server starts and again shortly after you save, with progress you can cancel. Only changed files are parsed again.
  • Analyze Impact. From the cursor, or the Impact code lens above every function, method and class: the Impact view lists what depends on the symbol, grouped by distance, with the tests that cover it apart. A click opens a symbol at its line.
  • Callers and callees on hover. Hover a function's name, or a call to it, to see who calls it and what it calls, each a click from its line. Only calls BBM-Atlas resolved show one, so a hover never guesses.
  • Search. A quick pick that searches every indexed folder as you type.
  • Repositories. A view of each folder's symbols, files and languages, to re-index or remove.
  • The console. Open Web Console, and Show in Graph Explorer for the symbol at the cursor, in VS Code's browser.
  • @atlas in the chat. Ask @atlas where are sessions refreshed? to search the workspace, or @atlas /impact for what depends on the symbol at the cursor (@atlas /impact billing.checkout.submit for one you name). Answers link to the code.
  • Copilot. The server's tools are offered to the editor's AI assistant over MCP, with no configuration. Copy MCP Configuration writes the entry for another editor.
  • A walkthrough. BBM-Atlas: Get Started opens six steps - start, index, impact, search, facts and your AI assistant - each ticked off as you do it.
VS Code with the Impact view open beside invoice.py: what depends on finalize, by distance, with the test that covers it, and the Impact code lens above the function
The Impact view for finalize: direct callers first, then two hops away, and the test that covers it.
Hovering finalize in invoice.py: its two callers, submit and monthly, and the method it calls, Invoice.total, each with its file and line, and links to Analyze Impact, Find Path From Here and Show in Graph Explorer
Hover a function for who calls it and what it calls, each a click from its line.

Since the 0.3.0 pre-release

The extension's 1.0.0, after the 0.3.0 pre-release on the Marketplace, adds:

  • The graph, in the editor. Show Graph Here draws the symbol at the cursor and its neighbours in a panel beside your code, laid out as the console lays it out. Double-click a node to expand it. The graph comes back when VS Code restarts.
  • Graph Insights. Find Path From Here To…, Show Import Cycles and Show Most-Connected Symbols, in a view of their own.
  • Facts. Remember… notes what the code doesn't say; the Facts view lists each folder's notes, and your AI assistants know them too.
  • Rate an answer. A search result's thumbs, and an @atlas reply's, count for or against it in later answers.
  • Token savings. Today's net saving in the status bar, and a Token Savings view.
  • Copy Context for a Chat App… copies a context pack for your question, to paste into claude.ai, ChatGPT or the Gemini app.
  • Tell AI Assistants When to Use BBM-Atlas writes a short section into each assistant's instruction file; and in a workspace that uses Claude Code, the extension offers to compress its large tool outputs.
  • Leave files out of the index with bbmAtlas.index.exclude, .gitignore-style.
  • Copy MCP Configuration copies an entry in the format of the editor it runs in - Cursor's, Devin Desktop's, VS Code's - and the server keeps its port from one session to the next, so the entry keeps working (MCP clients).
  • Report a Problem… prepares a report of the extension, its server and the log, with keys redacted, for you to read and send.
VS Code with the graph of finalize beside invoice.py: finalize with what it calls and what calls it, out to the route that calls submit; the Impact, Most Connected and Facts views in the sidebar
Show Graph Here draws the symbol and its neighbours beside the code; Graph Insights lists the most-connected symbols.

Settings

SettingDefaultWhat it does
bbmAtlas.server.modeautoRun BBM-Atlas (auto) or use one already running (external)
bbmAtlas.server.urlhttp://127.0.0.1:8000The server, in external mode
bbmAtlas.server.port0The port of the server the extension starts: 0 keeps the one it had last time while it is free
bbmAtlas.pythonPathemptyThe Python to run BBM-Atlas with
bbmAtlas.index.onStartuptrueIndex the workspace when the server starts
bbmAtlas.index.onSavetrueRe-index a folder after a file in it is saved
bbmAtlas.impact.maxDepth3How many hops impact analysis follows
bbmAtlas.impact.includeTestsfalseAlso list the tests that cover what a change affects
bbmAtlas.codeLens.enabledtrueShow the Impact code lens
bbmAtlas.hover.enabledtrueShow callers and callees when hovering a symbol's name or a call to it
bbmAtlas.mcp.enabledtrueOffer the tools to the editor's AI assistant

Keys and privacy

  • The API key and the licence key (BBM-Atlas: Enter Licence Key, passed to the server the extension starts) are kept in VS Code's secret storage, never in settings.
  • The server the extension starts listens on loopback only.
  • The extension sends no telemetry.

Known limits

  • The server the extension starts keeps its port only while the port is free: in a session where something else holds it, the server is elsewhere, and an MCP entry copied for the old port doesn't reach it. bbmAtlas.server.port pins one; for an address that never moves, run bbm-atlas serve and use external mode.
  • Outside any function, Analyze Impact analyses the whole module.