graphify: Turn Codebases into Queryable Knowledge Graphs

graphify: Turn Codebases into Queryable Knowledge Graphs

Summary

Graphify builds a queryable knowledge graph from code, documentation, schemas, and other project files. It helps developers and AI coding assistants explore relationships, trace paths, and understand codebases without relying on a vector store.

At a glance

Language
Python
License
Apache-2.0
Stars
124k
Forks
11.9k
Added to OSRepos
May 19, 2026
Last analyzed
October 3, 2026
View on GitHub

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Overview

Graphify is a Python CLI and skill for AI coding assistants that maps project code and supporting files into a knowledge graph. It addresses the difficulty of navigating large codebases by making entities and their relationships queryable, rather than requiring repeated searches across files.

Code analysis uses local tree-sitter parsing, while semantic extraction for documents and media can use an assistant model or configured API backend. Graphify is a good fit when you want explainable structural exploration for a project, especially alongside an AI coding assistant. It is not a vector-search index.

Key Features

  • Extracts code structure locally using tree-sitter, without an LLM call for code.
  • Connects symbols across files, including imports, calls, and inheritance relationships.
  • Labels relationships as extracted or inferred so users can distinguish source evidence from resolved links.
  • Supports graph queries, shortest-path tracing, and explanations of individual concepts.
  • Can include documentation, PDFs, images, video, audio, SQL schemas, and configuration files.
  • Generates a graph visualization, a Markdown report, and a JSON graph for reuse.
  • Integrates as a skill with multiple AI coding assistants and can expose graph queries through MCP.

Use Cases

  • Developers onboarding to an unfamiliar repository can identify central concepts and trace how components connect.
  • Engineers investigating a bug can follow a path between a user-facing feature and underlying implementation symbols.
  • Teams can give AI coding assistants a structured project map to consult before searching or reading files.
  • Maintainers can connect code with architecture notes, rationale, and documents when those files are included in extraction.

Project Facts

  • Language: Python
  • License: Apache-2.0
  • Stars: 124k
  • Forks: 11.9k
  • Topics: ai-agents, antigravity, ast, claude-code, code-analysis, code-search, codex, cursor, developer-tools, gemini, graphrag, knowledge-graph, leiden, llm, mcp, openclaw, rag, skills, tree-sitter
  • Archived: No

Getting Started

Install the package and register the assistant skill:

uv tool install graphifyy
graphify install

Then run /graphify . in a supported assistant. See the README for platform setup, optional extras, and command details.

Alternatives

  • codegraph: CodeGraph focuses on local code structure, call paths, and change impact across languages, rather than graphs spanning code, documentation, and schemas.
  • codebase-memory-mcp: codebase-memory-mcp centers on a persistent code-structure graph queried through an MCP server, rather than a broader graph of project files.
  • GitNexus: GitNexus focuses on code dependencies and execution flows, exposing them through CLI and MCP rather than modeling documentation and schemas too.
  • GitNexus: This GitNexus runs in the browser on GitHub repositories or ZIP files and presents an interactive graph, rather than building a local project-wide graph.

Considerations

  • Python 3.10 or newer is required.
  • Code extraction is local, but semantic extraction for documents and media uses an assistant model or configured backend. Headless extraction of those files may require provider credentials.
  • Optional capabilities, including PDF, office, video, SQL, database, and MCP support, may require installing extras.
  • The project distinguishes extracted relationships from inferred ones, so inferred links should be treated as resolved analysis rather than explicit source declarations.
  • Graphify produces a graph for exploration, not a vector index; teams specifically seeking embedding-based semantic search may need a different or complementary tool.

Source repository

Open the original repository on GitHub.

16 counted GitHub visits

View on GitHub

Related repositories

Similar repositories that may be relevant next.

web-design: A Claude Code SKILL for Spec-First Web Page Design

web-design: A Claude Code SKILL for Spec-First Web Page Design

October 3, 2026

The web-design project is a Claude Code SKILL designed to streamline the creation of beautiful and consistent web pages. It emphasizes a 'spec first, code second' approach, ensuring design principles are established before development begins. This tool helps generate UI, visuals, motion, and responsiveness that are consistent across pages and easily editable.

Claude CodeClaude SkillDesign System
OOMWOO: Build Your Own Open-Source, Hackable Robot Vacuum Cleaner

OOMWOO: Build Your Own Open-Source, Hackable Robot Vacuum Cleaner

October 2, 2026

OOMWOO is an ambitious open-source project enabling users to build their own robot vacuum cleaner using Raspberry Pi, 3D printing, and ROS2. It emphasizes local operation, hackability, and integration with Home Assistant, providing a high-quality, customizable home appliance. This project aims to deliver a fully open hardware, software, and firmware solution for autonomous home cleaning.

RoboticsOpen SourceDiy
Shepherd: Reversible Execution Traces for Programmable Meta-Agents

Shepherd: Reversible Execution Traces for Programmable Meta-Agents

October 2, 2026

Shepherd is a Python runtime substrate designed for agent work requiring inspection, reversibility, and supervision. It records agent runs as durable, inspectable execution traces, enabling meta-agents to observe, fork, replay, and revert any operation. This framework couples agents and environments using a copy-on-write fork, offering significant performance benefits and robust permission enforcement.

PythonAIAgent Framework
Agent Anvil: CI-First Evaluation Harness for Tool-Using AI Agents

Agent Anvil: CI-First Evaluation Harness for Tool-Using AI Agents

October 1, 2026

Agent Anvil is a robust, CI-first evaluation harness designed for AI agents that utilize tools. It meticulously runs scenario suites, captures detailed traces of agent behavior, and provides semantic grading to identify issues. The platform excels at clustering failures and suggesting concrete fixes for prompts, tools, and guardrails, ensuring agents behave safely and effectively.

PythonAIAgent
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️