workbench
Local workbench for big multi-repo codebases: code knowledge graphs (graphify, offline), an MCP server for coding agents, and a live agent view
A local developer workbench for big, multi-repository codebases and the coding agents that work on them. One app on http://127.0.0.1:8770 with two tabs: Everything runs on your machine. Your code is never uploaded. I work on a large product: about ten repositories, tens of thousands of functions, and several AI agents working on it in parallel. Two things kept slowing me down:
Summary extracted from the README.
Workbench
A local developer workbench for big, multi-repository codebases and the coding agents that work on them. One app on http://127.0.0.1:8770 with two tabs:
- Knowledge: a code knowledge graph per repository and per project, built with the open-source graphify CLI (code-only: tree-sitter, no LLM, no network). It has status, maps, search, and query / path / explain. Coding agents (Claude Code, Codex) can ask the same graphs through a read-only MCP server.
- Agents: a live, read-only view of every Claude Code session (helpers, background jobs), Codex run, screenshot, and the git state of your repositories.
Everything runs on your machine. Your code is never uploaded.

Why I built it
I work on a large product: about ten repositories, tens of thousands of functions, and several AI agents working on it in parallel. Two things kept slowing me down:
- Finding where things live. Before every change I (and my agents) read dozens of files just to find which repository and module owns a feature. Agents burned context and time on searching.
- Keeping track of the agents. With many sessions open, I missed the one waiting for my approval.
Workbench builds a deterministic map of every repository once, keeps it current when the code moves, and lets both people and agents start from the map instead of raw files. The Agents tab shows what every session is doing.
What you can do
| Area | What it does |
|---|---|
| Projects | Group repositories into a project (one product = one project). Projects never mix. |
| Sources | Add a repository from My GitHub (through your gh login), a GitHub link, or a local folder, and pick the branch. Workbench builds from its own clone. Your folder is never written to. |
| Builds | Code-only graphs, with tests, migrations, vendored code and submodules excluded by default (with reasons). Live build log, build history, and incremental updates when the branch moves. |
| Status | Per repository: current, N commits behind, settings changed, diverged, not built, or missing. It checks the sources every 10 minutes without downloading anything. |
| Maps | One node per code community (for example "payments · RetryPolicy"). Drill down to symbols by file. A project-wide map is coloured by repository. |
| Ask | query (plain words), path (how A reaches B) and explain (a symbol and its neighbours), with file:line, over one repository, all of them, or the merged graph. |
| Agents (MCP) | wb mcp-register <project> gives Claude Code and Codex a read-only wb-<project> server: graph_status, query, path, explain, search, community. |
| Agents tab | Sessions sorted by Needs you / Working / Waiting for reply / Idle, helpers, background jobs, a live activity feed, screenshots linked to the session that made them. |

Install
Needs Python 3.12 via uv and git. gh (GitHub CLI, signed in) is optional: it lists your GitHub repositories in the Add dialog. Built and used daily on Windows 11; see Limits.
git clone https://github.com/alikhizarsohal/workbench.git
cd workbench
uv tool install graphifyy # graphify CLI (0.9.76 verified)
uv tool install --editable .\engine # puts `wb` on PATH
wb start # starts the app and opens the browser
Then click New project, add your repositories, and press Build. Or use the CLI:
wb add myproject https://github.com/your-org/api.git --branch main
wb add myproject D:\code\web --branch main
wb build myproject
wb merge myproject # the project-wide graph
wb query myproject "where are refunds calculated?"
wb mcp-register myproject # optional: graphs for Claude Code and Codex
Start and stop
.\workbench.cmd # same as `wb start`: starts the server in the background (or reuses it), opens the browser
wb stop # stops it (wb stop --port N for one server)
wb serve # or run it in this console (Ctrl+C stops it)
wb autostart enable # opt-in: start at Windows sign-in (one .cmd in your Startup folder)
wb autostart disable # removes exactly that file; `wb autostart status` shows the state
Your data
| What | Where | In this repository? |
|---|---|---|
| Your projects and paths | workbench.yaml |
No (git-ignored; workbench.example.yaml shows the format) |
| Graphs of your code | projects\ |
No (git-ignored) |
| Clones, logs, caches | workspace\, logs\ |
No (rebuildable) |
The graphs contain the names and structure of your code. Never push them to a public repository. If you want a backup, copy workbench.yaml and the small files under projects\ (graph.json.gz, GRAPH_REPORT.md, communities.json, build.json, history.jsonl) to a private place of your own. On a new machine: install, copy them back, then run wb restore and wb status.
Security
- Local only. The server binds
127.0.0.1on an exclusive port: no hosted services, no telemetry, no LLM API keys (they are removed from graphify's environment). - Locked to its own page. Every API call needs a random per-run token that only the app's own page can read.
Hostmust be127.0.0.1orlocalhost(no DNS rebinding). Changes are JSON POSTs from the app's own origin only. A strict Content-Security-Policy applies, and the page loads nothing from the internet. - Read-only towards your repositories. Every build snapshots the repository before and after (HEAD, status, hooks, graphify marker files) and fails if anything changed. Git runs with
GIT_OPTIONAL_LOCKS=0. graphify output goes only underprojects\. Never used:graphify hook install,graphify <assistant> install, or the hosted graphify app. - Secrets are masked. The Agents tab masks secrets (API keys, tokens, JWTs, passwords, database URL passwords) in all text it shows and serves images only from the configured screenshot folders.
Full reference (every command, file and setting): engine/README.md. Plan and architecture: docs/PLAN.md.
Tests
cd engine
uv venv --python 3.12 .venv; uv pip install --python .venv -e ".[dev]"
.venv\Scripts\python -m pytest # 99 tests; the integration tests need graphify on PATH
Limits
- Windows first. The app, the CLI and the tests run on Windows 10/11.
wb start, autostart and some paths haven't been checked on macOS or Linux yet. - Graphs show structure, not meaning.
INFERREDedges are guesses; check important facts in the code. - The Agents tab reads the log formats of Claude Code and Codex as they are today. Those formats aren't a public API.
Only want the agent dashboard, with nothing to install? Use Agent Watch.
Later ideas: BACKLOG.md.
License
MIT. graphify is a separate tool under its own license (Apache-2.0). The vendored front-end libraries keep their licenses (see engine/src/wb/web/vendor/).