Skip to content

DocsReference

CLI reference

Every bbm-atlas command: the ones that ask a running server, the ones that start a server, and the ones that work locally.

Talking to a server

Most commands ask a running BBM-Atlas over HTTP and print its JSON answer, exiting 0 on success and 1 otherwise. Each takes --base-url (default http://localhost:8000, or BBM_ATLAS_CLI_BASE_URL) and --api-key (or BBM_ATLAS_CLI_API_KEY).

CommandDoes
index PATH --name NAMEIndex a repository; --full re-parses everything, --background queues a job
job JOB_IDA background job's progress; --cancel stops it
list, show ID, delete IDThe indexed repositories; one in detail; delete one and everything indexed for it
symbols ID PATH, symbol-at ID PATH LINEA file's symbols; the symbol at a line
search ID QUERYSearch a repository
impact ID QUALIFIED_NAMEWhat a change affects: --max-depth, --relationship-type, --tests, --backend
graph query|node|neighbors|path|cycles|god-nodes|communities|stats|ambiguousThe knowledge graph
graph outcome, graph lessonsSay whether an answer helped; the lessons learned from it
remember, recall, forgetFacts about a repository
run-agent ID AGENT_TYPE INSTRUCTIONSRun an agent task
retrieve HASHThe original behind a compressed marker
status, flags list, flags set NAME VALUEThe server's state; its feature flags
health, readyLiveness, and each store's readiness
consoleOpen the web console in a browser

Starting a server

CommandStarts
serveThe API, /mcp and the console (--host, --port), on the local store unless storage is configured
mcp serveThe MCP tools over stdio, for hosts without HTTP
proxyThe compression proxy for OpenAI and Anthropic clients (--port, default 8787)

Working locally

CommandDoes
compress [PATH]Compress a file or standard input; --simulate previews
savings, dashboardThe tokens compression saved; an HTML dashboard of them
learn LOG_PATHLearn from a Claude Code, Codex, Gemini CLI or OpenCode session log: failures, the calls that fixed them and retry loops, written as corrections to CLAUDE.local.md (--target)
migrateBring the configured stores up to date
mcp install, mcp uninstallRegister BBM-Atlas with Claude Code for this project (--url for a running server)

Enterprise

CommandDoes
enterprise licenseThe licence's state, features and seats
enterprise bootstrap EMAILCreate the first administrator, while nobody exists
enterprise whoami, enterprise rolesWho this key is; every role's permissions
enterprise principals list|show|create-user|create-service-account|updateUsers and service accounts
enterprise keys list|create|revokeYour keys, or another principal's with --principal
enterprise organizations list|createOrganisations
enterprise audit list|export|verifyThe audit log

bbm-atlas --version prints the version, and bbm-atlas <command> --help every option of a command.