documentation
Plan it, let agents build it, verify it.
Everything you need to keep vibe-coding speed and still own the whole picture: the workflow first, then the map, settings and reference.
Start here
From install to verified PR in six steps
Exploring the map works offline and needs no API key. Add an AI provider when you are ready to run agents.
Code, the map and your agents side by side: this is what the six steps below set up.
- 1Install CodeChroma
One command, free, runs locally. Pre-alpha, so expect rough edges.
All platforms and next steps →curl -fsSL https://codechroma.dev/install.sh | sh - 2Open a repository
Point CodeChroma at any repo. It analyzes the code and builds the semantic map: a zoomable System → Pillar → Component → Service → Function hierarchy.
- 3Plan a feature
Use the “Draw…” control and describe what you want. The agent draws it on the map as planned blocks, so you decide the design before any code is written.
- 4Run agents
Click “Run workflow” or “Run agent” to start an agent on the workspace you're viewing. Add more to run in parallel. Each works in its own git worktree, so nothing collides.
- 5Verify on the map
When agents finish, compare the result with your plan. Blocks that match are done. Open anything that drifted to see the diff.
- 6Open the PR
Once the map matches your plan, create the pull request from the top bar.
Describe a feature and see it drawn as planned blocks on the map. You decide the design before an agent writes a line.
Each agent works in its own worktree on the same canvas, so you can start the next thing while they run.
Review the result as diagrams. If the pattern and the whole picture match your plan, you do not need to read the code inside.
Everything runs on your machine, with no telemetry, and you choose the AI provider.
The workflow
Plan a feature on the map
You set the intent first. The agent draws your idea as a process diagram, so agents build your design, not theirs.
Open Draw… and say what you want, for example “add refresh tokens to the auth flow”. The agent asks a question only when the design depends on your answer.
The feature is drawn on the map as planned blocks: dashed outlines, tagged + ADD for new blocks and ~ MODIFY for existing ones. Nothing has been written yet, so changing your mind costs nothing.
Opening a planned block shows its description instead of a file. The agent creates the file when it runs.
Describe a feature, answer one question, and watch it appear as dashed, planned blocks.
The workflow
Agents that build while you do something else
Agents are AI sessions attached to the repo you are viewing, each isolated in its own worktree, all sharing one canvas.
Each agent runs in its own git worktree on its own branch. The canvas follows which workspace you're viewing, so the map never mixes branches.
The “Run agent” button attaches the new agent to the workspace the canvas currently shows — the main repo, another agent, or a PR review workspace.
Several agents can run at once, each in its own window on the same map. Start a feature, add a second agent for the next one, and go work on something else. Works across multiple projects too, not one at a time.
An agent's outputs live in its own worktree's .codechroma. Closing an agent's window keeps the files by default — a deliberate trade so nothing is deleted unless you remove it by hand.
The workflow
Verify the result as diagrams, not diffs
Stay responsible for the project without reading every file. Compare what was built with what you planned.
When agents finish, the planned blocks turn solid and show NEW or the size of the change. You compare the result with your plan instead of reading every file.
A block that changed but was never in your plan, or a planned block that never appeared, is the signal to look closer. Open it to see the diff, grouped by the block each line belongs to.
If the pattern and the whole picture match your design, you do not need to read what is inside. When they do not, every block opens into the exact code behind it.
Paste a GitHub pull request URL to open it as a read-only workspace. Changes appear as diagrams, not walls of diff text.
Blocks that match your plan turn solid; anything that drifted stays flagged so you can open it.
The model
The diagrams you plan and review with
Diagrams are generated from the real code, tied to it, and kept live. Three kinds cover review, planning, and flow.
How the system actually works at runtime: the flow from request to response, who calls what, and the order of steps between components.
Built for code review. Turns the same git diff into one card per changed symbol, pinned to the nearest existing block. See what a change touches before you merge — changes render as diagrams, not walls of diff text.
One chosen work item at a time — its acceptance criteria, stories, references, and delivery artifacts as connected boxes, derived from files on disk. A deterministic planning view: nothing is invented.
Ask for a diagram of any part of the code and it is drawn from the real source.
The model
Zoom in from System to Function
CodeChroma turns a repo into a zoomable semantic map of what the code actually does, not its folder layout.
The whole repository as one node — the top of the zoom. Where you land when you step all the way out.
Major subsystems that make up the system — how the code is organized at the highest level of intent.
Modules or packages with a clear responsibility. The unit you usually reason about day to day.
Runtime services and boundaries — where components talk to each other as separate parts of the system.
Individual functions and methods. The grain you read when you actually need to change code.
Trust
Privacy and token cost
Safe for work projects: everything runs locally, and the AI provider is the one you choose.
No. Everything runs locally on your machine, and there is no telemetry. The AI provider is yours: you pick it, so you can use only the ones approved by your management — including a local model.
Exploring the map, the canvas, and live sync run on a built-in offline summarizer and use no tokens. Only AI features (diagram generation, AI summaries, agents) call your provider, and tokens are billed by that provider on your own account.
Controls
Left rail — shape the map
Zoom, panels, and adding diagrams. These live in the vertical strip on the far left.
Steps back to see more of the map. Useful when the block you want is just off-screen and you'd rather not drag the camera.
Returns the camera to 100% and re-centers on the project root — a clean known frame after you've panned and zoomed around.
Drills into the map to read a block closely without moving it off-center.
Docks a real terminal under the canvas. Run git, the engine, or any shell work without leaving the app; the session survives open/close.→ The app is a full dev environment, not just a viewer.
Sidebar with the file tree next to the canvas. Clicking a row reveals that node's ancestors on the map and frames the block.
Opens an AI agent that asks what diagram you'd like, then draws it with the codechroma-draw-diagram skill — C1 system context, patterns, impact, sequence, epics, or a custom diagram. Every drawn diagram is managed from the agent rail's Diagrams tab.
Controls
On the canvas — the view
Controls pinned to the canvas itself — one floating button, plus selection and dragging.
Fits every currently open block into view — one click to see the whole expanded picture at once. Label rather than glyph: a plain button floating on the canvas.
Shift/ctrl-click a block — or drag a marquee around several — to select them together, then drag to move the whole group in step. Clicking one unselected block collapses the selection down to it.
Controls
Top bar — run your work
Branches, settings, agents, and pull requests. These live in the strip above the canvas.
Switches which branch of the repo the map shows. Each workspace keeps its own worktree, so the canvas follows the branch.
Opens an existing GitHub pull request as a workspace on the map. Review happens visually — changes appear as diagrams.
App settings, including which LLM provider and model the agents use.
Launches an AI agent attached to the workspace you're viewing. It works in its own window on the same map — a real parallel reviewer/writer.→ Run several agents at once, each in its own window, across multiple projects.
Reference
Settings, explained
The knobs CodeChroma exposes and what each one changes. The one that matters most is the provider and model, because it decides who builds.
LLM provider & model
Which LLM service the agents use. Choose the provider you already have an account and key for.
The specific model for coding and agent work. More capable models are slower but better at large-scale reasoning across the map.
Whether agents may create their own git worktrees per project. Keeping this on isolates each agent's changes on its own branch.
Appearance
Pick the app theme. Switching themes re-colors the surfaces and borders.
Choose the accent colors for each diagram kind — system context, process/patterns, epics, impact, and trace. Highlighted blocks follow the hue they belong to.
Canvas defaults
Where the camera lands on open — from the whole System at the top all the way into Components or Functions. Regain control with Fit All anytime.
Frame every open block at startup instead of centering on the project root. Useful when you leave the canvas in a busy, expanded state.
Environment
Manage which repositories CodeChroma has indexed. Re-index a project when the map looks stale after heavy refactors.
Which branch the canvas follows when a workspace has no explicit selection. Each workspace keeps its own worktree for the branch it shows.
Set the shell the docked terminal opens with. The session survives open/close, so pending work in the shell stays put.
Reference
When something isn't working
The most common snags are about signing, checksum verification, or LLM provider setup. Each has a concrete fix.
The desktop app is unsigned for now. On first launch, right-click the app and choose Open — then confirm in Gatekeeper.
Every install script verifies the downloaded DMG against the release's published SHA-256 checksum and refuses to proceed when none is present. Re-download from the latest GitHub Release and retry.
Analysis, the canvas, and live sync run on a deterministic offline summarizer — no key needed. Set ANTHROPIC_API_KEY, or connect a provider in the gear icon's LLM settings, to unlock diagram generation and AI summaries.
Route any feature to a different provider — a CLI tool, a direct-API endpoint, or a local model — from the LLM settings panel. No restart required.