עברית 📰 Blog
← Back to Blog
AI Tools

Graphify: Give Your Coding Agent a Map of the Whole Project

Stav Adam
Founder, Masterphub
November 7, 2026

Share this article

Graphify: Give Your Coding Agent a Map of the Whole Project
Short answer: Graphify is a free, open source tool that maps a project (code, docs, PDFs, schemas) into a knowledge graph. Your coding agent asks the graph questions instead of grepping and re-reading files. Code is parsed on your own machine with no AI model and no API key. It has about 140,000 stars on GitHub.

The problem it solves

Coding agents like Claude Code or Cursor spend a lot of their effort just finding things. Where is this function called? Which file talks to the database? On a big project the agent reads file after file, burns tokens, and still misses connections. Graphify builds a map of the project once, so the agent can look things up instead of searching from scratch every session.

How it works

  • Install: uv tool install graphifyy (note the double "y" in the package name; the README warns that other graphify packages on PyPI are not theirs). Then run graphify install to add the skill to your agent.
  • Build the map: inside your agent, type /graphify .
  • Ask: commands like /graphify query "...", /graphify path A B (how two parts connect) and /graphify explain X.
  • What you get: an interactive graph.html you can open in a browser, a GRAPH_REPORT.md with key concepts and suggested questions, and a full graph.json.

Code is read with tree-sitter, a parser that understands about 40 programming languages. That step is exact and offline. Docs, PDFs, images and video go through a second pass that does need an AI model: either the agent you already use, or your own key (Gemini, Claude, OpenAI, DeepSeek and others), or a local model through Ollama.

Which agents it works with

The README lists Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot, Aider and many more, around 25 install targets in total. There is also an optional MCP server, so other agent tools can connect to the graph.

Who it's for

  • Builders working on a project that has grown too big for the agent to "just read".
  • Agent builders who want a project map as a tool their agent can call.
  • Creators who inherited someone else's code and want to see how it fits together before touching it.
  • Anyone who wants a visual map of a project to explain it to a client or a team.

What to watch out for

  • Privacy: only the code stays fully local. Docs, PDFs and images are sent to whatever model you connect. Use --code-only if that is a concern.
  • Paid cloud version: there is a hosted product, Graphify Cloud, with a 14 day free trial. The "80% fewer tokens" claim you may see appears in the Cloud section. The open source tool is free.
  • Benchmarks are their own: the README shows memory benchmark results from the team's own test setup. In one of them a competing tool scores higher on answer accuracy. Treat the numbers as a starting point, not proof.
  • Requirements: Python 3.10 or newer. Some agents get partial support (for example Codex needs a config change for parallel work).
  • License: the repo includes both Apache 2.0 and MIT license files. Check them before building it into a product.
  • Logging: queries are logged locally by default. You can turn that off with an environment setting.

Bottom line

If your agent keeps getting lost in a large project, Graphify is a cheap thing to try: install, run one command, and open the map. Start with code only, see if answers get faster and more accurate, then decide if you want to add docs.

Source: Graphify-Labs/graphify on GitHub

More AI tools and ready prompts at masterphub.io

Share this article