aileron-tech/wingbox
A local static code graph for tracing dependencies before AI-assisted edits
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Wingbox is a Python 3.11+ static-analysis tool. wingbox build . parses a checkout into a graph of modules, symbols, imports, references, calls, and architectural relationships. The index is stored as plain S-expression facts in .wingbox/index.sexp, so it can be queried with Wingbox or inspected with text tools. Git supplies ignore rules, working-tree state, and diffs; the default build does not run the project's code, tests, or build.
The same graph is available through a CLI, coding-agent skills, and a local MCP server that does not listen on a port. In Claude Code, an edit hook marks changed files and the next search patches the index; Wingbox can also detect changes made through Git or an editor. Packaging is defined with Hatchling, requirements.txt pins PyYAML==6.0.3, and the Docker image starts from python:3.12-slim and installs Git.
Key Capabilities & Differentiators
impact walks reverse dependencies to a chosen depth, showing how each file was reached and what to read first. It supports compact S-expressions, --human text, and --json; --summary and --only tests help triage large result sets. Wingbox also locates symbol usages, traces calls and data flows, and checks layer and capability rules with boundaries all. Bundled parsers cover Python, TypeScript, Rust, C/C++, C#, Java, Go, Ruby, PHP, Dart, and Free Pascal, with framework support including Rails, Laravel (Blade and Livewire), Flutter, and Lazarus.
A fixed-seed benchmark of 100 file-dependency questions across five public TypeScript, Rust, and Python repositories reported 100 exact results at a two-hop depth. In a separate 55-question Claude Code comparison, adding Wingbox yielded 55 complete answers versus 48 with built-in search and cut mean cost per answer from $0.179 to $0.110. Token use still rose on three of the five repositories, so the aggregate result is not a per-repository savings estimate.
Trade-offs & Limitations
Wingbox focuses on deterministic source-code relationships rather than broad knowledge indexing. Graphify also covers documents and images; CodeGraph and OntoIndex are closer comparisons for agent-oriented code indexing. In a five-question shared test, Wingbox returned five exact dependent-file lists and each alternative returned one. That is a useful comparison for import-driven impact analysis, not a general ranking for semantic search or every language and framework.
Treat the graph as a map of relationships the analyzer could resolve, not proof of runtime reachability or a reason to skip tests. Dynamic wiring, unindexed files, and architecture rules that leave files unclassified all warrant follow-up; a clean boundary result is only meaningful for code actually checked. The default tool keeps analysis local, but an attached assistant can still send retrieved code or graph facts to its own model provider. MIT licensing makes commercial use possible without removing that separate data-handling concern.
Hardware & Deployment Guide
On macOS, Linux, or native Windows, install with pipx install wingbox, run wingbox install to select assistant integrations, then run wingbox build . in the checkout. Homebrew is an option on macOS and Linux; the Claude Desktop .mcpb and Codex app plugin require uv. For an offline run after building the image, use docker run --rm --network none -v "$PWD":/repo wingbox. The mount is writable so Wingbox can create .wingbox/; on Linux, use --user "$(id -u):$(id -g)" to keep generated files owned by the invoking user.
Default builds and queries require no model, GPU, account, or network. Set up packages or images before moving into an air gap. Keep the opt-in --lsp disabled when local language servers must not trigger builds or fetch dependencies. Remote MCP serving is a separate wingbox-http package. v0.19.0 added compact impact summaries, v0.19.1 made wingbox init add /.wingbox/ to the project's .gitignore, and v0.19.2 exposed the optional global Git ignore setting in the interactive installer.
.wingbox/index.sexp are accessible to graph queries and ordinary text search.impact groups reverse dependencies by depth and explains why each file appears; --summary, --only tests, and --diff help narrow the review.init records detected styles in .wingbox/config.yaml; boundaries all checks layer dependencies and capability rules.--human and --json support people and scripts.--network none; the mounted checkout receives .wingbox/ artifacts.Teams using coding agents on multi-module repositories that need traceable dependency lists, test targets, and layer checks before a refactor, with indexing that can run offline.
Your primary need is search across code, documents, and images, or you need runtime tracing to resolve behavior that static analysis cannot establish.
Quick Start & Installation
docker build -f Dockerfile.benchmark -t wingbox-benchmark . docker run --rm wingbox-benchmark
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| wingbox ★ | 27 | — | Python | MIT | A local static code graph for tracing dependencies before AI-assisted edits |
| archify | 103.1k | +2k | JavaScript | Apache-2.0 | Agent skill and Node CLI for source-backed, interactive architecture diagrams. |
| graphify | 156.8k | +2.4k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
| codebase-memory-mcp | 49.6k | +362 | C | MIT | A local code graph for tracing code, docs, and infrastructure via MCP. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/aileron-tech/wingbox.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about wingbox
How does a coding assistant get and refresh the code graph?
wingbox build . writes a repository-local graph to .wingbox/index.sexp. A coding assistant can query it through MCP or use the installed skill to run CLI queries. In Claude Code, an edit hook marks changed files so the next search can patch the index; changes made by Git or an editor can also be detected.Do I need a GPU, and how should I size the runtime?
.wingbox/ disk usage on a representative checkout; the supplied measurements do not establish a universal minimum.Can we use Wingbox commercially on code that must stay inside our network?
--lsp off where project execution or dependency fetching is prohibited, and treat .wingbox/ as source-derived data.When would I choose Wingbox over Graphify, CodeGraph, or OntoIndex?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy