GraphRuntime extracts the architectural graph of any software project or package, enables LLMs to reason on that graph, and generates a runtime.json that connects, modifies, or fuses multiple systems — in any language.
pip install graphruntimeEvery file in every project answers 4 questions:
→ What enters this file? (imports, dependencies)
→ What exits this file? (classes, functions, exports)
→ What does it call? (internal dependencies)
→ Who calls it? (inferred by graph inversion)
These 4 questions work on Python, TypeScript, Rust, Go, Java, C++, Terraform, SQL, GraphQL — 42 languages supported.
# Extract graph from a local repo
graphruntime extract ./my-project
# Pull a pre-analyzed graph from the registry
graphruntime pull flask
graphruntime pull numpy
# Inspect an architecture
graphruntime inspect graph.json
# Merge two architectures with an objective
graphruntime merge graph_flask.json graph_numpy.json \
--objective "REST API that processes dataframes"
# Execute a runtime
graphruntime run runtime.json
# Let the AI choose everything
graphruntime goal "I want an API that transcribes audio files to PDF"| Command | Description |
|---|---|
extract <source> |
Extract graph from local path, GitHub, PyPI, npm, cargo |
pull <package> |
Pull pre-analyzed graph from registry |
inspect <graph> |
Human-readable architecture summary |
diff <graph_a> <graph_b> |
Architectural diff between two versions |
modify <repo> |
Modify existing repo guided by graph |
create <repo> |
Create missing files identified by graph |
rewire <repo> |
Invert or reroute data flow between modules |
merge <a> <b> |
Fuse two architectures into a runtime |
run <runtime> |
Execute a runtime.json |
watch <repo> |
Live graph rebuild on file changes |
explain <graph> |
LLM explains the architecture |
validate <repo> |
Validate architectural integrity |
goal "<objective>" |
AI selects libs, builds and runs everything |
publish <graph> |
Contribute a graph to the registry |
graphruntime extract ./local-path
graphruntime extract github:user/repo
graphruntime extract pip:flask
graphruntime extract npm:react
graphruntime extract cargo:tokio
graphruntime extract go:gin-gonic/gingraphruntime config set provider groq # default
graphruntime config set provider openai
graphruntime config set provider anthropic
graphruntime config set provider ollama # localThe GraphRuntime Registry contains pre-analyzed graph.json files for the most critical packages in the world. Browse at registry/ or pull directly:
graphruntime pull pandas
graphruntime pull kubernetes
graphruntime pull reactContribute a new graph:
graphruntime publish my_graph.json --package mypackage --version 1.0.0Any LLM or AI agent can understand and pilot GraphRuntime by reading SKILL.md.
MIT © GraphRuntime Contributors