Graphify: Transform Your Codebase into a Queryable Knowledge Graph
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Graphify is an innovative AI coding assistant skill that converts any codebase, documentation, and even multimedia files into a queryable knowledge graph. This powerful tool allows developers to navigate complex projects by querying relationships between components, rather than manually searching through files. It integrates seamlessly with popular AI assistants, providing deep insights and streamlining development workflows.
Repository Information
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.
Introduction
Graphify is an advanced AI coding assistant skill designed to revolutionize how developers interact with their codebases. It takes any folder of code, SQL schemas, R scripts, shell scripts, documents, papers, images, or videos and transforms them into a queryable knowledge graph. This means you can have your application code, database schema, and infrastructure all represented in one interconnected graph, making complex projects easier to understand and navigate. Graphify integrates with a wide range of AI coding assistants, including Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and many more.
Installation
Getting started with Graphify is straightforward.
Prerequisites
Ensure you have Python 3.10+ installed. For package management, uv is recommended, or pipx as an alternative.
- Python: 3.10+
- uv (recommended):
curl -LsSf https://astral.sh/uv/install.sh | sh - pipx (alternative):
pip install pipx
Step 1: Install the package
The official PyPI package is graphifyy (note the double-y), though the CLI command remains graphify.
# Recommended (uv puts graphify on PATH automatically):
uv tool install graphifyy
# Alternatives:
pipx install graphifyy
pip install graphifyy
Step 2: Register the skill with your AI assistant
After installation, register Graphify with your preferred AI assistant.
graphify install
Now, open your AI assistant and type /graphify . to start mapping your project. For platform-specific installations, refer to the official documentation.
Examples
Graphify simplifies project exploration with intuitive commands.
Build a Knowledge Graph
To generate a knowledge graph for your current directory, simply run:
/graphify .
This command will produce three key files in the graphify-out/ directory:
graph.html: An interactive visualization of your graph, viewable in any browser.GRAPH_REPORT.md: A summary of highlights, key concepts, surprising connections, and suggested questions.graph.json: The full graph data, which you can query directly.
Querying the Graph
Instead of grepping through files, ask your graph questions:
/graphify query "what connects auth to the database?"
Export Call-Flow Diagrams
Generate readable architecture pages with Mermaid call-flow diagrams:
graphify export callflow-html
Add External Content
Integrate external resources like research papers or videos into your graph:
/graphify add https://arxiv.org/abs/1706.03762
/graphify add <youtube-url>
Why Use It
Graphify transforms how you understand and interact with complex codebases.
Deep Codebase Understanding
It provides a high-level overview of your project's architecture, revealing "God nodes" (most-connected concepts) and "surprising connections" between different modules or files. This helps in quickly grasping the core logic and interdependencies.
AI-Powered Insights
The generated GRAPH_REPORT.md offers AI-curated insights, including suggested questions the graph is uniquely positioned to answer, and explanations for code sections (from inline comments and docstrings). Every inferred relationship is tagged with EXTRACTED, INFERRED, or AMBIGUOUS, giving you confidence in the data.
Comprehensive File Support
Graphify handles a wide array of file types, ensuring a holistic view of your project:
- Code: 31 languages including Python, TypeScript, Go, Java, C++, SQL, and more.
- Docs: Markdown, HTML, TXT, RST, YAML.
- Office:
.docx,.xlsx(with optional extras). - PDFs:
.pdf. - Images:
.png,.jpg,.webp,.gif. - Video / Audio:
.mp4,.mov,.mp3,.wav, and YouTube URLs (with optional extras).
Seamless AI Assistant Integration
By registering Graphify as a skill, your AI assistant can leverage the knowledge graph for codebase questions, preferring scoped queries over raw file searches, significantly enhancing its utility and accuracy.
Links
- GitHub Repository: https://github.com/safishamsi/graphify
- Official Website: https://graphifylabs.ai
- License: MIT License
Related repositories
Similar repositories that may be relevant next.
Codebase-Memory-MCP: High-Performance Code Intelligence for AI Agents
June 20, 2026
Codebase-Memory-MCP is an exceptionally fast and efficient code intelligence engine tailored for AI coding agents. It transforms your codebase into a persistent knowledge graph, indexing an average repository in milliseconds and supporting 158 languages. This tool significantly reduces token usage and integrates seamlessly with various agents as a single, dependency-free binary.

Memary: The Open Source Memory Layer for Autonomous Agents
December 28, 2025
Memary is an innovative open-source memory layer designed to enhance autonomous agents by emulating human memory. It integrates knowledge graphs and memory modules to provide agents with advanced capabilities for reasoning and learning. This project aims to make agents more intelligent and capable of self-improvement.

KAG: Knowledge Augmented Generation for LLM Reasoning in Professional Domains
November 27, 2025
KAG is a powerful logical form-guided reasoning and retrieval framework built upon the OpenSPG engine and Large Language Models. It is specifically designed to create robust logical reasoning and factual Q&A solutions for specialized domain knowledge bases. This framework effectively overcomes the limitations of traditional RAG vector similarity calculation models and the noise often introduced by GraphRAG approaches.
Source repository
Open the original repository on GitHub.