Local-first · Zero target code execution · MIT

Understand your codebase before you change it.

Static architecture graphs, code quality evidence, and 47 read-only MCP tools for developers and AI coding agents — running strictly on your machine.

Python 3.12+ · PowerShell / Bash
$pip install repodna-engine$repodna start --open-browser
Illustrative 3D architectural code helix sculpture (enable JavaScript for interactive rotation).
Illustrative 3D code sculpture · Drag or arrow keys
02 / Workstation

Real local workstation, bundled inside the wheel

Inspect module topology, audit explainable health deductions, or watch the unedited 72-second recording of RepoDNA v1.0.1 analyzing its own repository.

Workstation architecture
RepoDNA v1.0.1 Architecture Studio analyzing its own repository with 85 package clusters, Tarjan SCC cycle highlighting, and module inspector.
Architecture Studio: 514 files, 94,651 LOC, 85 collapsed package clusters, and 2 detected circular dependency cycles. repodna start --open-browser
03 / Workflows

Three evidence-led workflows, zero target code execution

Static AST analysis is not compiler type-checking and static test mapping is not runtime coverage. Every output cites verifiable file evidence and discloses its boundaries.

01

Explore repository architecture

Parse Python, TypeScript, JavaScript, Go, Rust, C#, Java, C, and C++ with Tree-sitter ASTs to inspect directed module dependencies, fan-in/fan-out, Git hotspots, and federated multi-repo workspaces.

repodna analyze . --format json
02

Find architectural and quality issues

Isolate Tarjan SCC circular dependencies, evaluate declarative layer contracts, surface complexity hotspots and Winnowing Type-1/Type-2 clones, mask secrets with [REDACTED], and export validated SARIF 2.1.0.

repodna quality . --format sarif --output repodna.sarif
03

Prepare bounded context for AI coding agents

Expose 47 read-only MCP tools across four scoped profiles (minimal, architecture, code-intelligence, full) with token-budgeted context packs, exact vs. estimated tokenizer disclosure, and negative-task abstention.

repodna mcp --tool-profile minimal
04 / Interactive Sample

How RepoDNA inspects dependencies and cycles

Select any module in this synthetic educational graph to inspect outgoing imports, incoming dependents, and how a circular dependency (ARCH-001) is isolated.

cli/main.py core/analyzer.py parsers/resolver.py mcp/server.py rules/health.py agent/context.py
Synthetic educational sample (not live repository analysis or real codebase extract). Dashed edges illustrate an ARCH-001 strongly connected cycle.
SYNTHETIC EDUCATIONAL INSPECTOR

core/analyzer.py

Coordinates static Tree-sitter parsing, graph assembly, and rule evaluation without executing target code.

OUTGOING IMPORTS
  • parsers/resolver.py
  • rules/health.py
INCOMING DEPENDENTS
  • cli/main.py
  • parsers/resolver.py (cycle edge)
  • agent/context.py
ARCH-001 Cycle: core/analyzer.py → rules/health.py → parsers/resolver.py → core/analyzer.py. Cutting the reverse edge breaks the strongly connected component.
05 / Installation & Ecosystem

Install via PyPI, VS Code Marketplace, or GitHub

Requires Python 3.12+. Python distribution v1.0.2 (VS Code extension v1.0.1).

PyPI Package Python v1.0.2

Self-contained wheel with the production React Workstation UI bundled inside.

pip install repodna-engine
repodna start --open-browser
Open on PyPI

VS Code Extension published v1.0.1

6 Activity Bar views, 12 commands, UTF-16 diagnostics, and Workspace Trust.

code --install-extension Cihanak1.repodna-vscode
repodna doctor
Open Marketplace

GitHub Action & Releases v1.0.2

Fork-safe Composite Action, SHA-256 checksums, and CycloneDX 1.5 SBOM.

uses: Cihanak1/RepoDNA/integrations/github-action@v1.0.2
View Release
Package Naming Notice: The PyPI name repodna belongs to an unrelated third-party project. Always install repodna-engine — Python import repodna, the repodna CLI, and the repodna-engine alias for direct uvx repodna-engine mcp launches all work out of the box.
Registry Status: Open VSX and GitHub Actions Marketplace are currently Not Published. GHCR container publishing is Release-Gated behind vars.ENABLE_GHCR_PUBLISH; build locally from docker/Dockerfile.
06 / Benchmark Evidence

Reproducible measurements, honest scope

Every figure below comes directly from committed JSON artifacts in benchmarks/results/.

261 ms
Warm incremental run on RepoDNA (504 files, 93,316 LOC · 4.02× vs cold)
91.67%
Held-out File Recall@5 (12 pos) · 86.67% abstention (13/15 neg)
60 min
Live monitoring soak: 50/50 OK, 0 failures, +2.92 MB RSS, 0.37% CPU
0.925 ms
Median declarative plugin evaluation across 4 rule packs (388 files)
Artifact Measured Result Scope & Caveat
v101_large_repo_stress.json 504 files: 1,046 → 261 ms (58.9 MB RSS) · 5,050 files: 12,622 → 4,836 ms (120.2 MB RSS) Real RepoDNA repo + synthetic 1,050 & 5,050 file fixtures
v101_ai_retrieval_abstention.json 91.67% Recall@5 · 86.67% abstention Local estimated tokenizer (heuristic_code_v1); no external LLM A/B study claimed
v101_live_soak_60m.json 3,600.5 s · 60 edits · 1,204 SSE events · 0 failures Continuous local file-watch soak test on Windows 11 / Python 3.12
v100_real_multi_repo_validation.json Pallets (2/2) · Encode (1/1) declared edges · 3,840 → 911 ms warm Small sample (3 Python package edges); does not imply general cross-ecosystem accuracy

Inspect your architecture before the next change.

Install the local Python engine, explore the MIT-licensed source code on GitHub, or browse full English and Turkish documentation.

Python 3.12+ · PowerShell / Bash
$pip install repodna-engine$repodna start --open-browser