Discover and explore top open-source AI tools and projects—updated daily.
safishamsiAI knowledge graph for code and multimodal data
New!
Top 8.4% on SourcePulse
Summary
Graphify is an AI coding assistant skill designed to transform any collection of code, documentation, papers, or images into a queryable knowledge graph. It helps users understand complex codebases faster, uncover architectural rationale, and navigate vast amounts of information efficiently. The primary benefit is a significant reduction in token usage for queries compared to processing raw files, making AI-assisted code analysis more cost-effective and persistent across sessions.
How It Works
Graphify employs a two-pass process. Initially, a deterministic Abstract Syntax Tree (AST) pass parses code files to extract structural elements like classes, functions, imports, and call graphs without LLM involvement. Subsequently, Claude sub-agents process documents, papers, and images to extract concepts and relationships. These results are merged into a NetworkX graph, clustered using Leiden community detection based on graph topology (edge density), and exported. Novelty lies in using graph structure itself as the similarity signal, eliminating the need for separate embedding steps or vector databases, and tagging relationships as EXTRACTED, INFERRED (with confidence scores), or AMBIGUOUS.
Quick Start & Requirements
Requires Python 3.10+. Installation is typically pip install graphifyy (the PyPI package name is temporarily graphifyy while graphify is reclaimed) followed by graphify install. Platform-specific installation commands exist for Claude Code, Codex, OpenCode, OpenClaw, and Factory Droid. Codex users need multi_agent = true in their config. Running /graphify within a project folder initiates the process. An AI coding assistant (Claude Code, Codex, etc.) is essential for semantic extraction.
Highlighted Details
graph.json for querying weeks later without re-reading source files.AGENTS.md files, and Git hooks for automatic graph rebuilding on commit/checkout.GRAPH_REPORT.md), queryable JSON, and supports exports to SVG, GraphML, and Neo4j.Maintenance & Community
The project encourages contributions through "Worked examples" and reporting extraction bugs. It references ARCHITECTURE.md for details on adding language support. No specific community channels (like Discord/Slack) or roadmap links are provided in the README.
Licensing & Compatibility
The README does not explicitly state the software license. This omission requires clarification for assessing commercial use or closed-source linking compatibility.
Limitations & Caveats
Relies on external AI model APIs (Anthropic, OpenAI) for semantic extraction from non-code files, incurring potential costs and requiring API keys. Code processing is local via AST. OpenClaw platform has early-stage, sequential agent support. The PyPI package name graphifyy differs from the CLI command graphify.
11 hours ago
Inactive