█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

graphify

कोड, डॉक्स, PDF और इमेज वाले फ़ोल्डर को एक ऐसे नॉलेज ग्राफ़ में बदलें जिसमें query की जा सके

RAG Frameworks & Platformsओपन सोर्स
अपडेट किया गया
3 अप्रैल 2026
भाषा
Python
लाइसेंस
Apache-2.0
कवरेज
1 story
$pip install graphifyy && graphify install

नया क्या है

3 अप्रैल 2026

Covered by AI/TLDR: turns a folder of code, docs, papers, images and video into a queryable knowledge graph using tree-sitter ASTs and Leiden clustering, queried by an agent instead of reading raw files.

ताज़ा खबरें

संक्षेप में

graphify क्या है?

graphify कोड, डॉक्स, PDF और इमेज वाले फ़ोल्डर को एक ऐसे नॉलेज ग्राफ़ में बदलें जिसमें query की जा सके. यह Retrieval & Knowledge (RAG) टूल्स की RAG Frameworks & Platforms श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: इंस्टॉल करें.

अपडेट किया गया Markdown वर्शन ↗

सारांश

graphify आपके दिए गए हर चीज़ से नॉलेज ग्राफ़ बनाता है — सोर्स कोड, Markdown नोट्स, PDF, स्क्रीनशॉट और डायग्राम — और फिर आप और आपका coding agent कच्ची फ़ाइलें दोबारा पढ़ने के बजाय इस ग्राफ़ से query कर सकते हैं। यह लोकल चलता है: कोड को tree-sitter से निर्धारित तरीके से AST में parse किया जाता है और उसके साथ call-graph pass होता है, जबकि docs, papers और इमेज को LLM concepts और relationships में बदलता है। इसमें कोई vector store या Neo4j server ज़रूरी नहीं है; स्टैक में NetworkX, graspologic के ज़रिए Leiden community detection, tree-sitter और vis.js शामिल हैं।

The interactive graph.html produced by graphify, showing the FastAPI codebase as a force-directed graph of several hundred coloured nodes next to a COMMUNITIES sidebar listing detected clusters such as APIRouter, SecurityBase, FastAPIDeprecationWarning and HTTPException with a node count against each
A run over the FastAPI repository: every symbol is a node, and the sidebar lists the Leiden communities graphify detected, with the number of nodes in each.graphify README ↗

एक run से `graphify-out/` डायरेक्टरी बनती है, जिसमें एक इंटरैक्टिव `graph.html` होता है जिस पर आप क्लिक करके नेविगेट कर सकते हैं, एक Obsidian-compatible vault, एक स्थायी `graph.json` जिसे हफ़्तों बाद भी query किया जा सकता है, एक `GRAPH_REPORT.md` जो 'god nodes' (सबसे ज़्यादा degree वाले concepts जिनसे सब कुछ होकर गुज़रता है) और अप्रत्याशित cross-document connections दिखाती है, और एक SHA256 cache, ताकि re-run में सिर्फ़ बदली हुई फ़ाइलें दोबारा process हों। हर edge पर `EXTRACTED`, `INFERRED` या `AMBIGUOUS` लेबल होता है, जिससे साफ़ रहता है कि कौन से relationships सोर्स से पढ़े गए थे और कौन से अनुमान थे।

यह एक agent द्वारा चलाए जाने के लिए डिज़ाइन किया गया है। यह Claude Code के लिए `/graphify` skill के रूप में इंस्टॉल होता है और `--mcp` से MCP के ज़रिए graph भी expose कर सकता है, ताकि agent दो symbols के बीच का path या किसी एक symbol की व्याख्या माँग सके। `--wiki` mode Wikipedia-style Markdown articles बनाता है जिनमें `index.md` entry point होता है, जिससे कोई भी agent फ़ाइलें पढ़कर knowledge base में नेविगेट कर सकता है। `--watch` mode और post-commit git hook कोड बदलने के साथ graph को sync रखते हैं।

यह क्या करता है

  • tree-sitter से Python, TypeScript, JavaScript, Go, Rust, Java, C/C++, Ruby, C#, Kotlin, Scala और PHP के लिए निर्धारित AST extraction, साथ में call-graph pass
  • Multimodal ingestion — Markdown और text, citation mining वाले PDF, और model vision के ज़रिए इमेज (स्क्रीनशॉट, डायग्राम, whiteboard की फ़ोटो)
  • NetworkX + Leiden communities पर पूरी तरह लोकल चलता है; कोई vector store और Neo4j server ज़रूरी नहीं
  • हर edge पर EXTRACTED, INFERRED या AMBIGUOUS टैग, ताकि आप तथ्य और अनुमान में फ़र्क कर सकें
  • इंटरैक्टिव graph.html, Obsidian vault, स्थायी graph.json, और god nodes व अप्रत्याशित connections वाली GRAPH_REPORT.md आउटपुट में मिलते हैं
  • Agent के लिए surfaces: /graphify skill, MCP stdio server (--mcp), और crawl होने लायक Markdown wiki (--wiki)
  • डिज़ाइन से ही incremental — SHA256 cache, बदली हुई फ़ाइलों के लिए --update, live sync के लिए --watch, और post-commit git hook
  • SVG, GraphML (Gephi, yEd) और Neo4j cypher में export

शुरू करें

graphify एक Python package के रूप में इंस्टॉल होता है, जो Claude Code skill रजिस्टर करता है। इसके लिए Claude Code और Python 3.10 या उससे नया वर्जन चाहिए।

इंस्टॉल करें

PyPI से इंस्टॉल करें और skill रजिस्टर करें। PyPI पैकेज का नाम graphifyy है, जबकि graphify नाम अभी वापस लिया जा रहा है; CLI और skill कमांड अब भी graphify ही हैं। macOS पर externally-managed Python हो, या Windows पर कमांड न मिले, तो इसके बजाय pipx इस्तेमाल करें।

bashbash
pip install graphifyy && graphify install

ग्राफ़ बनाएं

किसी भी डायरेक्टरी में Claude Code खोलें और किसी फ़ोल्डर पर skill चलाएं। यह सारा आउटपुट graphify-out/ में सेव होता है।

टेक्स्टटेक्स्ट
/graphify .
/graphify ./raw --mode deep      # more aggressive INFERRED edge extraction
/graphify ./raw --update         # re-extract only changed files

Graph से query करें

graph से सवाल पूछें, दो symbols के बीच का path ट्रेस करें, या किसी एक node की व्याख्या लें।

टेक्स्टटेक्स्ट
/graphify query "what connects attention to the optimizer?"
/graphify path "DigestAuth" "Response"
/graphify explain "SwinTransformer"

Sync रखें और expose करें

फ़ोल्डर में बदलाव पर नज़र रखें, post-commit hook इंस्टॉल करें, या MCP के ज़रिए graph को agent के लिए उपलब्ध कराएं।

टेक्स्टटेक्स्ट
/graphify ./raw --watch
graphify hook install
/graphify ./raw --mcp

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • जब agent को किसी बड़े codebase का ढाँचा चाहिए और कच्ची फ़ाइलें पढ़ने से context window भर जाएगा, तब इसका इस्तेमाल करें
  • बिखरी हुई research सामग्री — papers, notes, स्क्रीनशॉट — को एक navigable graph में जोड़ने के लिए इसका इस्तेमाल करें
  • जब आपको opaque vector similarity के बजाय auditable edges वाली graph-based retrieval चाहिए, तब इसे चुनें
  • जब कई agents एक साथ कोड लिख रहे हों, तब repository का लाइव नक्शा बनाए रखने के लिए इसका इस्तेमाल करें

How graphify compares

graphify alongside other open-source rag frameworks & platforms tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
Dify★ 162kLLM और RAG ऐप विज़ुअल कैनवास पर बनाने के लिए ओपन सोर्स प्लेटफ़ॉर्म
graphify★ 156kकोड, डॉक्स, PDF और इमेज वाले फ़ोल्डर को एक ऐसे नॉलेज ग्राफ़ में बदलें जिसमें query की जा सके
RAGFlow★ 95.1kगहरी डॉक्यूमेंट समझ और स्रोत से जुड़े, ट्रेस किए जा सकने वाले उद्धरणों वाला ओपन सोर्स RAG engine
Context7★ 65.8kनवीनतम, वर्ज़न-विशिष्ट लाइब्रेरी डॉक्स सीधे आपके कोडिंग एजेंट के प्रॉम्प्ट में
Pathway★ 61.9kडेटा बदलने के साथ-साथ अपडेट रहने वाली Python ETL और RAG पाइपलाइन
LightRAG★ 41kग्राफ़-आधारित RAG, जो आपके दस्तावेज़ों को क्वेरी योग्य नॉलेज ग्राफ़ में बदल देता है
PageIndex★ 40.9kVectorless, reasoning-based RAG जो लंबे डॉक्युमेंट से tree index बनाता है
Quivr★ 39.7kआपकी फ़ाइलों को सवाल पूछे जा सकने वाले 'सेकंड ब्रेन' में बदलने वाला बना-बनाया RAG कोर