nex-trace ⚡
Polyglot AST Cartographer, Deep Dependency Grapher & System Breakdown Engine for Autonomous AI Agents.
nex-trace solves the fundamental blindness of autonomous coding agents and systems architects: how to instantly map, decompose, and audit an entire polyglot codebase—its directory topology, data-flow pipelines, and granular entity inventory (imports, classes, structs, interfaces, methods, endpoints)—in under 50 milliseconds with zero LLM token tax.
Backed by Python's native ast, high-throughput tree-sitter integration, and zero-dependency lexer fallbacks, nex-trace transforms complex, multi-language repositories into actionable terminal telemetry, copy-paste Mermaid sequence diagrams, and machine-parsable JSON ledgers.
The Mechanical Reality: Why Naive Tree & Grep Fail
Autonomous agents frequently hallucinate missing functions, mutate wrong modules, or fail to understand cross-file import contracts because standard utilities give them fractured context:
treeprovides filenames but zero semantic meaning (no indication of public exports, classes, or endpoints).grepproduces unstructured string fragments that lack AST boundary awareness.- Feeding raw multi-file code dumps to LLMs burns tens of thousands of prompt tokens and induces attention decay.
nex-trace provides the ground-truth semantic boundary:
- Directory Hierarchy: Interactive color-coded tree detailing LOC and export count per file.
- Data-Flow Pipeline: Automatic extraction of execution ingress, routing decisions, and terminal exits.
- Granular Entity Inventory: Exhaustive enumeration of external ecosystem dependencies vs internal module couplings, classes/structs/interfaces, functions/coroutines, and routes.
- Polyglot Coverage: Native parsing for Python (
.py), TypeScript (.ts,.tsx), JavaScript (.js,.jsx), Rust (.rs), HTML (.html), and CSS.
Quickstart
Installation
pip install nex-trace
# Or with tree-sitter acceleration:
pip install "nex-trace[fast]"
Metadata
Release files for nex-trace 0.1.0
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 |
|---|---|---|---|---|
| nex_trace-0.1.0.tar.gz | 13.6 kB | With provenance | Details for nex_trace-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nex_trace-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nex_trace-0.1.0-py3-none-any.whl |
Total release size: 26.7 kB
Release files / nex_trace-0.1.0.tar.gz
| Download URL | nex_trace-0.1.0.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9437fe5d985a8a3bab7b8e51b31133f0321f33f7be24f3fb57fc785e11b29aef
|
|
BLAKE2b-256 checksum How to use checksums |
90ceac9625eb0d01663ac490e000fb3b4ecc19f6f94980daf4de1408208b4ae5
|
| 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 29, 2026.
Transparency logRelease files / nex_trace-0.1.0-py3-none-any.whl
| Download URL | nex_trace-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f25f5404e3de238f52bd4baf99ebfd1a0ef14cdc13174a90519666058e4dab9b
|
|
BLAKE2b-256 checksum How to use checksums |
74f5f617eaf44cb2b59a31dc63e2a46f17040dd331e9bf7b4be3cd72f54510db
|
| 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 29, 2026.
Transparency logSecurity for nex-trace 0.1.0
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 nex_trace-0.1.0.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 29, 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.