Skip to content

Graphify

by Graphify LabsCLI toolWrite code

Maps a codebase and its docs into a knowledge graph you can ask questions of

View on GitHub

About Graphify

Graphify turns a project folder, with its code, docs, PDFs and images, into a knowledge graph you can open in a browser and query from your AI coding assistant.

For DevelopersAI coding assistant usersTeams new to a codebase

Made by Graphify Labs

Graphify Labs is a GitHub organization that publishes Graphify under Apache-2.0; its README links a hosted service called Graphify Cloud.

Stars
★ 144k
License
Apache-2.0
Cost
Usage-based
Platforms
Mac · Win · Linux
Level
Advanced

Screenshots

From the project's own repository.

Graphify's interactive graph view showing the FastAPI codebase as a force-directed knowledge graph with coloured communities
Image: Graphify Labs (Apache-2.0). Original file

Overview

Graphify adds a /graphify command to your AI coding assistant. Run it on a project and it maps code, docs, PDFs and images into a knowledge graph: an interactive graph.html, a short report of key concepts and surprising connections, and a graph.json you can query later instead of searching files. Code is parsed on your machine without a model; docs and images use your assistant's model or an API key you set. Each connection is labelled as read from the source or inferred.

Each connection in the graph is tagged as read directly from the source or inferred, so you can see what the tool guessed.

Try these first

Start with the first one: it is a small task you can check easily.

  1. /graphify . Map this project, then tell me the five key concepts from GRAPH_REPORT.md.First try · writes graphify-out

  2. /graphify explain "[concept]"read-only

  3. /graphify path "[concept A]" "[concept B]"read-only

  4. graphify extract . --code-onlyterminal, code only

Example prompts written by Agent Flows Hub.

Features

From the creator's documentation.

FeatureWhat it doesRuns
Graph viewWrites graph.html, an interactive map you can click, filter and searchYour computer
ReportWrites GRAPH_REPORT.md with key concepts, surprising connections and suggested questionsYour computer
Local code parsingParses code with tree-sitter on your machine, with no model callYour computer
Explained edgesTags each connection as read from the source or inferredYour computer
Docs and imagesSends docs, PDFs and images to your assistant's model or a configured API keyYour model provider
Many assistantsgraphify install copies a skill and registers it in your assistant's instruction file; some assistants also get hooksYour assistant settings

Good to know

Understand a project you did not write, or one you wrote long ago. Graphify turns the folder into a graph you can open in a browser, then answers questions such as the path between two concepts without re-reading every file.

Limits

  • Installing needs Python 3.10 or newer and uv or pipx; the package name on PyPI is graphifyy, with two y letters.
  • Code maps stay free and local. Docs, PDFs and images are sent to your assistant's model or to the API provider you configure, so those runs use your own model or key.
  • graphify install writes a skill file and instruction entries into your assistant's settings; some assistants also get hooks.
  • The README also advertises Graphify Cloud, a separate hosted service with a free 14-day trial; the open-source tool does not need it.

Notes by (original project name: graphify), written from the creator's documentation, not from running it ourselves. Graphify README · Graphify documentation · Graphify quickstart

Stuck setting it up?

Tell us what happened. We take a look first; if it needs paid work, you get an estimate before anything starts.

Get help

Other cli tools

  • Herdr Terminal Keeps coding agents running in terminal panes and shows which one is waiting for you
  • Horizon Turns the news sources you follow into a ranked daily briefing in English or Chinese
  • llmfit Shows which AI models your computer can run, ranked by fit, speed and quality
  • MarkItDown Converts PDFs, Word, Excel, PowerPoint and more into Markdown text an AI can read
  • OfficeCLI Lets your AI agent create and edit Word, Excel and PowerPoint files without Office
  • Open Code Review Reads your Git changes and writes line-by-line review comments with an AI model

See all 29 cli tools

GitHub