# Wingbox > Wingbox builds a local code graph of a repository so that AI coding agents and developers can see dependencies, call flows, architecture boundaries and the blast radius of a change before editing code. Open source (MIT), built by Aileron Technologies. It works as an agent skill in Claude Code, Codex, Gemini CLI, Cursor and GitHub Copilot, as a plugin for Claude Code and Codex, as an MCP server for any MCP client and as a plain command, and supports Python, TypeScript, Rust, C#, Java, Go, Ruby, Rails, PHP and Laravel (Blade, Livewire), Dart and Flutter (opt-in: `pipx install "wingbox[dart]"`), Free Pascal and Lazarus. Everything runs on the user's machine: deterministic static parsing, no LLM call, no embeddings, no network access to build or query the graph. It can be used inside a security perimeter: it runs with the network switched off, sends nothing to a model or a service, collects no telemetry, reads the code without running it, and its map is one HTML file that loads nothing from outside. ## Install - Systems: macOS, Linux and Windows (native, no WSL; Windows since 0.7.0). On Windows the hooks and the plugin start the program directly, so they work from PowerShell, cmd or Git Bash (0.7.1); the plugin needs uv. - Command and agent setup: `pipx install wingbox && wingbox install` (https://pypi.org/project/wingbox/): the skill, an always-on block and the Claude Code search hook for every coding assistant found on the machine (Claude Code, Codex, Gemini CLI, Cursor, GitHub Copilot); then type `/wingbox` in the agent - Project setup: `wingbox init` adds `/.wingbox/` to the project .gitignore. Use `wingbox install --global-gitignore` to add `.wingbox/` to Git's global excludes file. - With Homebrew, on macOS or Linux: `brew install aileron-tech/wingbox/wingbox && wingbox install` (tap: https://github.com/aileron-tech/homebrew-wingbox); upgrade with `brew upgrade wingbox` - Any MCP client: `wingbox mcp` (stdio, no network); Claude Code: `claude mcp add wingbox -- wingbox mcp`; 18 tools: impact, usages, build, analyze, quick, deps, rdeps, boundaries, layers, find_callers, find_callchain, entity, find_function, find_type, diff_functions, query and more (https://github.com/aileron-tech/wingbox#use-from-an-mcp-client) - Plugin for Claude Code: `/plugin marketplace add aileron-tech/wingbox`, then `/plugin install wingbox@aileron-tech` (skill, search hook and MCP server; uses the installed `wingbox` command, or runs the pinned release through uvx) - Plugin for Codex: `codex plugin marketplace add aileron-tech/wingbox`, then `codex plugin add wingbox@aileron-tech` (needs `pipx install wingbox`) - Skill only: `npx skills add aileron-tech/wingbox` - Build the graph: `wingbox build .`: everything Wingbox writes lives in one folder, `.wingbox/` (the index, caches, `REPORT.md`, `map.html`, its own `.gitignore`); `wingbox open` opens the map; queries work from any subfolder of the project (0.5.0) - The graph keeps itself fresh (0.4.0): in Claude Code a PostToolUse hook marks each edited file and, before the next Grep, Glob or Read, every MCP tool and the query commands, only the changed files are patched into the graph (about 1 s for one file on FastAPI, 1,227 files); changes by git, editors or scripts are found by a size and time snapshot; a stale graph is never shown as fresh. Installed by `wingbox install` and the Claude Code plugin. - Ask what a change reaches: `wingbox impact path/to/file 2` - Architecture per part of a repository (0.6.0): `wingbox init` finds the style of each part from a library (layered, onion/clean, hexagonal, MVC, NestJS, microkernel, route-tree, Feature-Sliced Design, CQRS overlay) or reads the layers the project declares; `wingbox place ""` names the layer and folder for new code; `wingbox align` lists the gaps against a style; `wingbox learn` lets the coding agent settle the folders the style cannot place, asking the operator when the code does not tell; `wingbox compare` lines up the parts of a monorepo. On Archestra's own declared layers the result equals their checker: 112 of 112 upward imports, 0 extra, 0 missing. - Capability rules (0.6.0): what a layer may do, with the line as evidence: SQL and the database client in repositories, outbound HTTP in infrastructure, no web framework in the domain, and three pattern checks (a controller skipping the service, a service building an HTTP response, the domain importing the ORM). A project whose own rule file Wingbox does not read yet (dependency-cruiser `forbidden` rules, import-linter contracts) is reported as declared and not read; no violation is stated from guessed layers. - Find every use of a symbol, line by line: `wingbox usages path/to/file::Name` ## Pages - [Map my repository](https://wingbox.dev/map-my-repo): ask for a live 3D map and a report of a public GitHub repository; the request is an issue of the Wingbox repository, built on a GitHub runner, checked against the code, then published among the examples. - [Home](https://wingbox.dev/): what the tool does, an animated example on a public repository, the interactive map in its 3D layers view, install commands. - [Benchmarks](https://wingbox.dev/benchmarks): Wingbox measured on public code: 100 questions drawn at random in five repositories (the impact command names the complete list of dependent files in all of them), a coding agent with and without Wingbox on 55 of them (fewer tokens, lower cost, complete answers), every edge compared with the code, build time. Confidence intervals, public scripts, a container that reproduces the run. - [Context size](https://wingbox.dev/benchmarks#test-context): one Wingbox impact answer is up to 4,233x smaller than the code it covers, every one of the 100 answers complete; tokens per answer of each tool on the same commits. - [Comparison report](https://wingbox.dev/benchmarks/graphify): Wingbox (0.10.0 for the impact command and the agent test), Graphify 0.9.110, CodeGraph 1.6.2 and OntoIndex 3.1.9 on the same commits, questions, reference lists and scoring. Exact list of dependent files: 5 of 5, 1 of 5, 1 of 5, 1 of 5. FastAPI file edges wrong / missing: 0 / 0, 19 / 17, 106 / 25, 22 / 118. Mean command answer: 1,657, 7,896, 618 and 2,940 tokens (CodeGraph the shortest where it answers; CodeGraph and OntoIndex named no file on the two Rust questions). The same agent (Claude Opus 5.5) per answer: 0.121, 0.395, 0.354 and 0.401 USD; 66,628, 314,516, 297,215 and 362,508 tokens; exact lists in 15, 10, 11 and 11 of 15 runs; built-in search alone 0.357 USD, 254,967 tokens and 13 of 15. Per their documentation CodeGraph covers more languages and answers symbol and call-flow questions, Graphify also maps documents, PDFs, images and videos, and OntoIndex records calls, routes, execution flows and clusters. Summary with charts: https://wingbox.dev/benchmarks#test-comparison - [Find usages report](https://wingbox.dev/benchmarks/usages): where an exported symbol is used, 100 questions on five public repositories in TypeScript, Rust and Python, checked against the language tooling (1,660 use lines in 362 files). Files exact: Wingbox `usages` 100 of 100 (1,660 of 1,660 use lines, none outside, none missing), CodeGraph `callers` 79 (680 lines, no file outside, 48 files missing, 45 of them in Rust), Graphify `affected --depth 1` 76 of the 91 it answers (604 lines; it has no find-usages command, this is the nearest; 34 at its default depth 2). Median answer: 62, 73 and 91 tokens. Summary: https://wingbox.dev/benchmarks#test-usages - [Examples](https://wingbox.dev/examples): reports and live 3D maps of public repositories, among them Archestra in its own declared layers (https://wingbox.dev/reviews/archestra). - [Sample report](https://wingbox.dev/examples/immich): a real Wingbox report on the server of immich (a public repository), shown as the tool wrote it, with the interactive map (https://wingbox.dev/examples/immich/map) and the list of what was checked against the code. - [Compliance](https://wingbox.dev/compliance): what a run of the pull request check records for a team that prepares for ISO/IEC 27001, ISO/IEC 42001 or SOC 2 (the commit that was checked, what a change touches and what depends on it, boundary findings, the tests that use what changed with what the job's test reports hold about them, file digests, one JSON record with a schema), the rule that what was not checked is never a pass, and what is not claimed for each regime. Technical evidence for a reviewer; whether a control conforms is the reviewer's decision. Deterministic, no language model, on the team's own runner. - [Modules](https://wingbox.dev/modules): the three libraries of the evidence layer, each with a status table (available, merged in the next release, in development): [wingbox-evidence](https://wingbox.dev/modules/evidence) normalises and verifies technical evidence, [wingbox-acceptance](https://wingbox.dev/modules/acceptance) runs acceptance criteria and writes the report from the records, [wingbox-controls](https://wingbox.dev/modules/controls) holds formal rules and the mapping to ISO/IEC 27001, ISO/IEC 42001 and SOC 2. None is published as a package yet: today their capabilities are delivered through the pull request check (https://wingbox.dev/pull-request-check). - [Story](https://wingbox.dev/story): where Wingbox comes from. It grew out of the paper Theory of Code Space (arXiv:2603.00601, https://arxiv.org/abs/2603.00601), which asks whether code agents can build a belief map of a codebase while exploring it; Wingbox builds that map with a parser instead of the model. Also cites Theory of Space (arXiv:2602.07055) and the author's write-up (https://gonzoml.substack.com/p/do-code-agents-actually-understand). ## Source - Repository: https://github.com/aileron-tech/wingbox - Benchmark scripts and results: https://github.com/aileron-tech/wingbox/tree/main/benchmarks - Publisher: Aileron Technologies, https://aileron-tech.fr