tracely360 - Knowledge Graphs for AI Coding Assistants
Turn any folder of code, docs, papers, images, or videos into a queryable graph with a local knowledge graph engine for AI coding assistants. Type /tracely360 in your AI coding assistant and it builds a map of structure, dependencies, and design context you can actually navigate.
$pip install tracely360
25+
Languages
71.5×
Token Reduction
14
AI Platforms
Offline by default25+ languages14 assistant integrationsApache 2.0
tracely360 is an open-source local knowledge-graph engine that transforms folders of code, documentation, images, and media into queryable, interactive knowledge graphs for AI coding assistants.
The core extraction runs entirely offline using tree-sitter and static analysis, so teams can understand large codebases without shipping raw source code to a hosted indexing service. An optional second pass can add semantic meaning from documentation to the same graph.
Install it with pip install tracely360, run tracely360 install, then use /tracely360 . as a slash command inside Claude Code, Codex, Cursor, and Copilot-style assistants.
That gives you a multi-modal code and docs graph that reduces tokens for AI coding assistants while preserving relationships, provenance, and architectural intent.
Core Capabilities
Everything you need to understand a large codebase
tracely360 unifies static analysis, semantic extraction, and graph clustering into a single skill any AI coding assistant can invoke.
Deterministic AST Extraction
25 languages via tree-sitter: Python, JS, TS, Go, Rust, Java, C/C++, Ruby, C#, Kotlin, Scala, PHP, Swift, Lua, Zig, and more. Two-pass extraction for cross-file resolution.
Knowledge Graph Build
Merges extracted nodes and edges into a NetworkX graph. Leiden community detection groups related concepts by topology — no LLM calls, no embeddings required.
God Nodes & Surprises
Identifies the highest-degree god nodes at the heart of your system. Flags unexpected cross-community edges worth investigating, each with a plain-English explanation.
API Endpoint Discovery
Static analysis of route decorators across 13 frameworks: Flask, FastAPI, Django, Express, NestJS, Next.js, Spring, Laravel, Rails, Gin, Echo, Chi, ASP.NET. No code execution.
Multimodal Inputs
Code, markdown, PDFs, images, screenshots, diagrams, whiteboard photos, video, and audio. Video/audio transcribed via faster-whisper with domain-aware prompts.
Interactive Outputs
graph.html (vis.js visualization), GRAPH_REPORT.md (one-page audit), graph.json (persistent queryable graph), and wiki/ (Obsidian-compatible vault with bidirectional wikilinks).
Integrations
14 AI coding assistants, one skill
tracely360 ships as a slash command. Type /tracely360 . in any supported assistant. It writes tracely360-out/ and queries read the graph instead of raw files.
Claude CodeOpenAI CodexCursorVS Code CopilotGitHub Copilot CLIAiderOpenCodeFactory DroidGemini CLIOpenClawTraeKiroHermesGoogle Antigravity
MCP Server tools
query_graphNatural language query
get_nodeFull node details
get_neighborsAdjacency lookup
get_communityCommunity members
god_nodesTop connected nodes
graph_statsGraph summary
shortest_pathPath between nodes
Architecture
A modular pipeline
Each stage is an isolated module. Contributors can extend any step independently without touching the rest of the pipeline.
detect
Collect & classify files
extract
AST + LLM nodes/edges
build
NetworkX graph assembly
cluster
Leiden communities
analyze
God nodes & surprises
report
GRAPH_REPORT.md
export
HTML · JSON · Wiki
Install & Run
Up in 60 seconds
tracely360 is distributed on PyPI. Install it, run tracely360 install to auto-detect your AI assistant, then type /tracely360 . to build your first graph.
tracely360 is released under the Apache 2.0 License. Its core dependencies — NetworkX (BSD-3) and tree-sitter (MIT) — are all permissive open-source licenses with no conflicts. The project performs no telemetry.
The only outbound network call is the optional semantic-extraction step, which uses your own configured AI model API key. Only semantic descriptions of documents are transmitted — never raw source code.
🔒
No raw code transmitted
Only semantic summaries sent to LLMs. AST extraction is 100% local.
🛡️
SSRF protection
URL fetching restricted to http/https, size- and time-bounded via security.py.
📁
Path traversal prevention
All output paths are containment-checked before write.
✅
XSS-safe outputs
Node labels are HTML-escaped before being written into graph.html.
🚫
No telemetry
Zero analytics, zero beacons, zero external pings beyond your own LLM key.
📄
Apache 2.0 License
Commercial use, modification, and distribution permitted with no restrictions.
Does tracely360 send my source code to a third-party model?
No. The AST extraction pass runs entirely locally using tree-sitter — no network calls, no API keys required. Only during the optional semantic extraction step are semantic summaries of documents sent to an LLM, never raw source code.
Which AI coding assistants are supported?
14 platforms: Claude Code, OpenAI Codex, OpenCode, Aider, Cursor, VS Code Copilot Chat, GitHub Copilot CLI, OpenClaw, Factory Droid, Trae, Gemini CLI, Hermes, Kiro, and Google Antigravity. Each has a matching install command.
How large a codebase can tracely360 handle?
Leiden clustering uses approximate betweenness centrality sampling for graphs over 5,000 nodes. Per-file SHA256 caching means incremental rebuilds only process changed files, so subsequent updates are fast regardless of total codebase size.
Is tracely360 free for commercial use?
Yes. tracely360 is released under the Apache 2.0 License, which permits commercial use, modification, and distribution. Its core dependencies — NetworkX (BSD-3) and tree-sitter (MIT) — are equally permissive.
Do I need to run tracely360 every time I change code?
Not manually. Run tracely360 hook install once to set up post-commit and post-checkout git hooks that auto-rebuild the AST graph. Alternatively, tracely360 watch gives real-time file-system monitoring.