Graphify

Open-source agent skill that turns codebases, docs and PDFs into a queryable knowledge graph

What it is

An open-source agent skill and CLI that converts any codebase — together with its docs, SQL schemas, configs and PDFs — into a queryable knowledge graph, exposed as a /graphify skill for coding agents like Claude Code, Cursor, Codex and Gemini CLI. It builds the graph with local deterministic AST parsing, explains every edge it creates, and needs no vector store. The project quickly topped GitHub trending and has passed 129,000 stars.

Highlights

  • Local deterministic AST parsing with no vector store, so graphs reproduce offline
  • Every edge carries provenance and explanation, easing audits and debugging
  • Code, docs, SQL schemas, configs and PDFs join one graph
  • Drops into Claude Code, Cursor, Codex and Gemini CLI as a skill

How to use

Install the graphify skill in your coding agent (or use the pip-installed CLI), run /graphify on the target repo, and once parsing completes you can ask things like who calls this function or which docs relate to this schema — the agent answers from the graph with citations.

License

Released under Apache-2.0. Read the terms before commercial use or redistribution, especially if you plan to offer it as a service.