RepoDNA — Architecture & Code Intelligence Workstation
RepoDNA is a local-first repository architecture, deep code quality, multi-repository, and AI agent intelligence platform with zero execution of analyzed target repository code.
| Professional Workstation (1440×900) | Code Quality & Complexity (1440×900) |
|---|---|
Quickstart
Install from the verified GitHub Release v1.0.1 wheel (bundles the full production React Workstation UI — no Node.js build required):
# 1. Install the official release wheel into a Python 3.12+ virtual environment
pip install repodna_engine-1.0.1-py3-none-any.whl
# 2. Verify environment & ecosystem health
repodna --version
repodna doctor
# 3. Launch the local Workstation UI at http://127.0.0.1:8000 (auto-enables per-launch session auth)
repodna start --open-browser
# 4. Run CLI analysis or try the included multi-repository demo workspace
repodna analyze . --format json
repodna workspace analyze demo/repodna-workspace.yml --format json
Package Naming Notice: The PyPI name
repodnabelongs to an unrelated third-party project (github.com/repodna/repodna). Do not runpip install repodna. RepoDNA's Python distribution name isrepodna-engine(preservingimport repodnaand therepodnaCLI command).
Core Capabilities
- 9-Language Tree-sitter AST Analysis: Python, TypeScript, JavaScript, Go, Rust, C#, Java, C, and C++ with bounded complexity contributors, Winnowing Type-1/Type-2 clone detection, conservative unused-code candidates, static test relationship mapping, AST security signals (with
[REDACTED]secret masking), and validated SARIF 2.1.0 export. - Architecture Graph, Guardian, Time Machine & Refactoring Advisor: Dependency graphs, circular dependency detection, declarative architecture contracts, Git commit history evolution, and graph-theoretic refactoring recommendations.
- Live Architecture Engine: Opt-in local filesystem monitoring with debounced incremental reconciliation, bounded SSE event streaming, and independent core/quality freshness tracking.
- AI Agent Intelligence & 47 Read-Only MCP Tools: Deterministic EN/TR task localization, signature-first repository maps, token-budgeted context packing (
exactvsestimatedtokenizer disclosure), acknowledged delta packs, read-only change preflight/patch/postflight verification, and 47 read-only MCP tools (--tool-profile minimal|architecture|code-intelligence|full). - Multi-Repository Intelligence: Explicit
repodna-workspace.ymlfederation, canonical repository identity (preventing basename collisions), multilingual package & version constraint checks, static service cataloging, SSRF-safe OpenAPI 3.0/3.1 parsing, variance-aware structural compatibility, and bounded cross-repository change impact. - Professional Workstation & Developer Ecosystem: 7-domain Activity Rail, Unified Findings table (
25rows/page), Report Center, Light/Dark/High-Contrast themes, TR/EN localization, declarative zero-execution Plugin SDK (sdk/), VS Code extension (extensions/vscode/), fork-safe Composite GitHub Action (integrations/github-action/), and hardened non-root Docker image (docker/).
Verified Performance & Accuracy Summary
- v1.0.1 Held-Out AI Retrieval & Negative-Task Abstention (
benchmarks/results/v101_ai_retrieval_abstention.json): 91.67% File Recall@5 (12positive tasks) and 86.67% negative-task abstention accuracy (13/15out-of-scope tasks) using the estimated local tokenizer (heuristic_code_v1). Earlierv0.11.011-repo / 52-task benchmark archived indocs/agent/BENCHMARKS.md. - v1.0.1 Large Repository Stress Benchmarks (
benchmarks/results/v101_large_repo_stress.json): RealRepoDNA(504files,93,316LOC)1,046 mscold →261 mswarm (4.02×); synthetic1,050files1,789 ms→555 ms(3.22×); synthetic5,050files12,622 ms→4,836 ms(2.61×,120 MBRSS). - v1.0.1 Real Open-Source Multi-Repository Validation (
benchmarks/results/v100_real_multi_repo_validation.json):- Pallets Stack (
markupsafe@3.0.2+jinja@3.1.5+flask@3.1.0,402files,N=2declared package edges): 2/2 precision/recall,3/3warm reuse (3,840 ms→911 ms). - Encode HTTP Stack (
httpcore@1.0.7+httpx@0.28.1,205files,N=1declared package edge): 1/1 precision/recall,2/2warm reuse (2,577 ms→557 ms). - (Small sample caveat: these 3 edges validate Python package declarations only and do not imply 100% general cross-ecosystem accuracy.)
- Pallets Stack (
- Declarative Plugin Overhead (v0.11.0 baseline) (
docs/ecosystem/BENCHMARKS.md):0.925 msmedian evaluation across 4 rule packs on 388 files (0.172%of core analysis time).
Security Model & Known Limitations
- Zero-Execution & Local-First: RepoDNA never executes target repository code, build scripts, tests, Docker Compose commands, or Python plugins, and never sends source code to external services. See
SECURITY.mdanddocs/release/THREAT-MODEL.md. - Honest Boundaries:
- Static AST analysis is not compiler semantic analysis and does not replace runtime test suites.
- Static test mapping is not runtime code coverage; AST security signals are not confirmed vulnerabilities.
- Estimated context tokens are not LLM billing tokens; no independent external AI agent A/B study or external human UX study is claimed.
- Full structural API compatibility currently covers OpenAPI 3.0/3.1; Protobuf, AsyncAPI, and GraphQL are marked
PARTIAL/UNSUPPORTED. - External registries (PyPI, VS Code Marketplace, Open VSX, GitHub Marketplace, GHCR) are currently
NOT PUBLISHEDpending maintainer registry credentials; official artifacts are published on GitHub Releases with SHA-256 checksums and a CycloneDX 1.5 SBOM.
Documentation & Contributing
- Public API Freeze (
v1.0.0) · Threat Model · 40-Point Go/No-Go Review - Workstation Guides · Multi-Repository Guides · Ecosystem & Plugin SDK
- Reproducible Demo Workspace · Contributing Guide · Security Policy · Changelog
Licensed under the MIT License.
Metadata
Release files for repodna-engine 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| repodna_engine-1.0.1.tar.gz | 754.3 kB | With provenance | Details for repodna_engine-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| repodna_engine-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for repodna_engine-1.0.1-py3-none-any.whl |
Total release size: 1.6 MB
Release files / repodna_engine-1.0.1.tar.gz
| Download URL | repodna_engine-1.0.1.tar.gz |
|---|---|
| Size | 754.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1da283a9ce3e3a701401f561c8724be950b3ac1ee4ba1bf2bdd2828a4858a6f
|
|
BLAKE2b-256 checksum How to use checksums |
deacf20ad6671da1c5c6f65f31d36e23aacbf50d57023bae86fdc377d59c4aea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / repodna_engine-1.0.1-py3-none-any.whl
| Download URL | repodna_engine-1.0.1-py3-none-any.whl |
|---|---|
| Size | 826.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94fdd6826624ca7174ea6633df4a8adb05ca63160015e67228d24e82f00c990c
|
|
BLAKE2b-256 checksum How to use checksums |
362a12b7863029da853dcc8b73faa1549f208ab22bf5b68b45c92b0923a58f44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for repodna-engine 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for repodna_engine-1.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.