Graphify – Turn Any Codebase into a Queryable Knowledge Graph
Turn code, docs, SQL schemas, and PDFs into a queryable knowledge graph with /graphify in your AI coding assistant – no vector store needed.
- Source repo
- Graphify-Labs/graphify
- Stars
- ★ 156k
- Last updated
- 1d ago v0.9.125
- FARS reviewed
- Nov 08, 2026 +19 new
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 73/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude CodeChatGPT (Partial support)
- Cost
- Free, no paid service needed
- Pricing
- Connect to the hosted graph (Graphify, free plan, no card): per README
- Models
- OpenAI · Azure OpenAI · Ollama · local models per README Compare model cost & benchmarks →
- OS / editors
- Windows · macOS · Linux · VS Code · Cursor per README
- Safety controls
- Local-only / offline execution per README
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer joining a large codebase can use the interactive graph to quickly see key concepts and how modules connect.
- Not a fit if
- Teams requiring vector or embedding search
- Huge codebases whose graph may exceed 512 MiB
- Environments unable to install Python 3.10+
- Website
- graphify.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v0.9.125 (2026-12-02)+420.3 ★/day over 7 days
- Source review
- 73/100 · Some gaps
What does this agent do, and when should you use it?
Graphify is a local-first code analysis tool that integrates with AI coding assistants like Claude Code, Cursor, Codex, and Gemini CLI. It uses tree-sitter to deterministically parse code into an AST and build a knowledge graph without any LLM calls, resolving cross-file relationships like calls, imports, inherits, and mixes_in across 40+ languages. For docs, PDFs, images, and videos, it uses your assistant's model or a configured API key for semantic extraction. Every edge is tagged EXTRACTED or INFERRED with confidence, so you know what was read vs. inferred. The output includes graph.html for interactive visualization, GRAPH_REPORT.md with highlights, and graph.json for querying. It offers query, path, and explain commands, and can serve the graph via MCP for structured access.
Graphify runs via the /graphify command on a directory and produces graphify-out/ with three files: graph.html, GRAPH_REPORT.md, and graph.json. It parses code with tree-sitter, extracting cross-file edges such as calls, imports, inherits, and mixes_in. Users can query with graphify query "<question>", find shortest paths with graphify path "A" "B", and explain nodes with graphify explain "Symbol". It registers as a skill via graphify install for platforms like Claude Code, Gemini CLI, and more. It also supports graphify export callflow-html for architecture diagrams, graphify hook install to auto-rebuild on git commit, and graphify add <URL> to fetch papers or videos into the graph.
- A developer joining a large codebase can use the interactive graph to quickly see key concepts and how modules connect.
- During debugging or code review, trace dependencies between functions or services using
graphify path. - Teams can commit
graphify-out/to git so everyone has an up-to-date map from the start. - CI pipelines can run
graphify extractheadlessly to keep the graph fresh without IDE involvement. - For projects with docs and PDFs, semantic extraction maps non-code assets into the same graph.
- Architects can identify hot spots via god nodes and communities to plan refactors.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
uv tool install graphifyypipx install graphifyyuv tool install "graphifyy[pdf]"
- Config files
graphify-out/graph.json- Runtime
- Python 3.10+
How do you install or deploy this agent?
Install with uv tool install graphifyy or pipx install graphifyy, then run graphify install to register the skill. Requires Python 3.10+, uv or pipx. Optional extras: uv tool install "graphifyy[pdf]", "graphifyy[office]", "graphifyy[video]", etc.
How do you use this agent?
In your AI assistant, type /graphify . to generate the graph. Then query with graphify query "<question>", graphify path "A" "B", or graphify explain "Symbol". For headless extraction, set an API key and run graphify extract ./docs --backend claude. You can also serve the graph via MCP: python -m graphify.serve graphify-out/graph.json.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
README-backed isolation & workflow protocols
FARS trust-control audit
- data-flow disclosure
What are this agent's strengths and limitations?
- Local deterministic AST parsing with no LLM calls for code, ensuring privacy and offline capability.
- Every edge has a confidence label distinguishing explicit extractions from inferred relationships.
- Multi-platform integration (20+ assistants) with an MCP server for structured tool access.
- No vector store – a real graph you can traverse, with community detection and path queries.
- Docs, PDFs, and images require LLM calls, needing API keys or an IDE session.
- For huge codebases, graph files can become large (512 MiB cap) and the HTML might be heavy in browsers.
- There is a learning curve for CLI commands and configuration options.
- Installation may hit PATH issues on some systems, requiring extra setup like
uv tool update-shell.
How does this agent compare with similar options?
Graphify outperforms mem0 and supermemory on the LOCOMO benchmark in recall@10 (0.497 vs 0.048 and 0.149) but QA accuracy is slightly lower than supermemory (45.3% vs 49.7%). Compared to RAG systems, it avoids vector storage and instead builds a traversable graph.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Graphify – Turn Any Codebase into a Queryable Knowledge Graph This agent | 73 · Some gaps | CLIFree | ★ 156k | 1d ago | Python | Codex · Claude Code |
| GraphMind Code Graph | 55 · Major gaps | Desktop appFreemium | ★ 219 | 2d ago | Rust | Claude Code · Claude.ai |
| Graphicle | 84 · Good | CLIFree + model costs | ★ 638 | 2d ago | Rust | Codex · Claude Code |
| mex Project Memory | 84 · Good | CLIFree | ★ 1.8k | 14d ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The security policy describes local AST parsing, semantic-backend data flow, explicit URL fetching, opt-in HTTP listening, path constraints, secret redaction, and uninstall safeguards; the Pi guard also bounds input, output, and runtime. This supports a high data-flow-transparency score. Install, fetching, backend configuration, and pushes are substantially user initiated, but installation and graph generation write files and not every action has a clearly shown per-action confirmation. The policy says credentials are not stored, but the packet does not fully explain handling of sensitive source content across backends. Dependencies have version bounds and security scans, but the scans are allowed to fail without blocking CI. Uninstall can remove the integration and optionally purge output, while recovery from overwritten files is not fully shown. The repository and package names provide some traceability, but publisher identity and maintenance ownership are unclear in this material.
The README, skill, and source descriptions broadly agree on local parsing, semantic backends, and graph queries, but the broad platform and backend surface makes full consistency hard to establish from this sample. Core and optional dependency ranges are explicit, while operation still depends on Python, assistant environments, and any selected services or backends. Source examples show actionable warnings and recovery messages, and the security policy describes some failure handling; the packet does not establish the full range of user-facing failures, so these criteria are not full marks.
The packet covers code, documents, papers, media, multi-repository use, and many assistants, and explains when graph construction is useful versus direct search. It clearly distinguishes AST from semantic extraction, conditional external calls, optional features, and some limitations. The skill's general description is broad, but its guidance by corpus size, question type, and existing graph gives useful trigger advice. Installation guidance covers platforms, operating systems, project-scoped setup, optional dependencies, and platform-specific constraints.
README, skill, package metadata, security policy, CI, and examples form a clear information structure. Installation methods, prerequisites, platform differences, uninstall, and troubleshooting entry points are extensive. The CLI name `graphify` and package name `graphifyy` are explained, though multiple spellings and install paths can still cause minor confusion. Examples, commands, platform tables, and FAQ/troubleshooting entry points are strong; limitations are disclosed but do not cover every backend and extraction boundary. The license file and package metadata identify Apache-2.0. A package version and graph schema version are visible, and CI and contribution conventions provide maintenance signals, but the supplied sample has no clear release changelog. A vulnerability-reporting route exists, but named ownership, response times, and long-term maintenance commitments are not clear.
HTML, report, and JSON outputs plus query, path, and explain commands provide usable results, including source locations and edge-confidence labels. Graph structure and cross-file relations can add value beyond text search, but claimed gains and benchmarks are largely project-authored and do not justify full marks. The skill warns that semantic processing can take time and consume substantial tokens, and offers local AST and direct-search alternatives; cost choices are explained, while some media and backend costs still depend on model and configuration.
The README, CLI examples, package configuration, and security policy provide traceable support for several claims, but many performance and security statements remain project-authored, and the packet contains only partial core skill and CLI source. README, source, security documentation, and CI partly corroborate the architecture; CI configuration does not prove successful runs, and product claims lack independent corroboration. EXTRACTED/INFERRED labels, path sources, and line numbers help distinguish direct extraction from inference, but benchmark claims and some security assurances are not fully demonstrated in the supplied evidence.
- Semantic processing may send document or media content to the configured model or backend; review that configuration before processing sensitive corpora.
- Security scans are non-blocking in CI; the packet does not establish that they passed or cover every dependency.
- Benchmark, performance, security, and broad platform-support claims are primarily project-authored; this static review did not execute installation or validate results.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
A faster cold build with byte-identical output, two TypeScript/incremental resolution reworks, generic-type-parameter accuracy, and a wide robustness pass that hardens the export, report, serve and post-processing paths against malformed graph data. The TypeScript and Python generic-parameter changes alter extraction output, so the AST cache schema bumps (60 to 61) and those inputs re-extract on the first build after upgrading; everything else needs no rebuild. Performance …View on GitHub ↗ -
Release notes excerpt
Extractor accuracy across Swift, Apex, Python, TypeScript and Bash, a new GitHub Actions surface, incremental-extraction correctness, and a batch of export/report hardening and performance work, landed from twenty-eight community pull requests. The Swift, Apex, Python, Bash and GitHub Actions changes alter extraction output, so the AST cache schema bumps (59 to 60) and those inputs re-extract on the first build after upgrading; everything else needs no rebuild. Features …View on GitHub ↗ -
Release notes excerpt
TypeScript, C++ and Bash extractor accuracy, incremental-extraction correctness, several new surfaces (an import-cycles tool, native plugin manifests, sharded semantic cache), and robustness/perf work across thirty community pull requests. The TypeScript, C++ and Bash changes alter extraction output, so the AST cache schema bumps (58 to 59) and those inputs re-extract on the first build after upgrading; everything else needs no rebuild. Features …View on GitHub ↗
FAQ
How does Graphify handle code privacy?
Do I need an API key?
How is Graphify different from RAG?
How do I make my assistant always use the graph?
graphify claude install or the equivalent for your platform, which writes config files like CLAUDE.md or AGENTS.md and installs hooks to prefer graph queries.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.