🚀 Next-Gen Code Graph
Surgical Code Intelligence powered by Execution Pruning.
Next-Gen Code Graph is a high-performance, multi-language code analysis engine designed to bridge the gap between static AST indexing and dynamic runtime behavior. By combining Tree-sitter's precision with execution coverage analysis, it achieves 8.2x better token efficiency during code reviews by surgically pruning unexecuted "cold" branches from the context.
✨ Key Features
- 🌐 23+ Language Support: Integrated grammars for Python, TypeScript, Kotlin, Go, Rust, C++, and more via a pluggable registry architecture.
- ✂️ Execution Pruning: Automatically prunes unexecuted code blocks from your analysis context using
coverage.xmldata, saving up to ~74% on LLM tokens. - 📓 Jupyter Support: Direct parsing and indexing of
.ipynbnotebook cells. - 🔌 One Install, Every Platform: Auto-configures as an MCP server for Cursor, Claude, Windsurf, Zed, and Continue.
- 🛰️ LSP Integration: Real-time symbol type resolution via Language Server Protocol.
🛠️ Installation
# Clone the repository
git clone https://github.com/PiQuessen/next-gen-code-graph
cd next-gen-code-graph
# Install locally
pip install .
# Auto-configure your AI assistants
next-gen-graph install
🚀 Usage
Indexing a Workspace
next-gen-graph index --path ./my-project
Performing a Surgical Review
# Analyze using execution data for maximum token efficiency
next-gen-graph review --coverage ./coverage.xml
📊 Performance Benchmarks (The PiQue Project)
| Metric | Standard Indexer | Next-Gen Code Graph | Improvement |
|---|---|---|---|
| Context Tokens | 120k | 14.5k | 8.2x Reduction |
| Analysis Speed | ~45s | ~8s | 5.6x Faster |
| Precision | Generic | Surgical | High |
🛡️ License
Distributed under the MIT License. See LICENSE for more information.
Powered by PiQuessen Technologies. "Surgical precision for the modern engineer."
Metadata
Release files for next-gen-code-graph 1.0.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 |
|---|---|---|---|---|
| next_gen_code_graph-1.0.0.tar.gz | 18.9 kB | Without provenance | Details for next_gen_code_graph-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| next_gen_code_graph-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for next_gen_code_graph-1.0.0-py3-none-any.whl |
Total release size: 44.6 kB
Release files / next_gen_code_graph-1.0.0.tar.gz
| Download URL | next_gen_code_graph-1.0.0.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79e6f2c86ef9dba5f365aa4629d506c8adc34005dee213355dc10871cb93e50d
|
|
BLAKE2b-256 checksum How to use checksums |
018d7a737d216901a8438e4e0db0be56cc4ea0cac22eb3d77c51a9f2946f2c22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / next_gen_code_graph-1.0.0-py3-none-any.whl
| Download URL | next_gen_code_graph-1.0.0-py3-none-any.whl |
|---|---|
| Size | 25.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51e583982f7638e134b5ddffda25a5d398efaaed3e062822b3f4269a69926375
|
|
BLAKE2b-256 checksum How to use checksums |
5ae82951f3bdb0faad5fa4855377751c177f7285ac5f2b3b73046b8edfeed441
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for next-gen-code-graph 1.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.