MCP e chiamate agli strumenti

Graphify: Turn Any Codebase into a Queryable Knowledge Graph

graphify-labs/graphify

Graphify is a local-first CLI tool and AI assistant skill that parses codebases, docs, SQL schemas, and PDFs into a queryable knowledge graph using deterministic AST parsing, eliminating the need for vector stores or embeddings.

★ 104KStelle
⑂ 10,1KFork
860Problemi aperti
PythonLingua
Apache-2.0Licenza
Q@project.QualityScorePunteggio editoriale

Screenshot del progetto

Screenshot di Graphify: Turn Any Codebase into a Queryable Knowledge Graph Screenshot di Graphify: Turn Any Codebase into a Queryable Knowledge Graph

Panoramica

Graphify transforms software projects into interactive knowledge graphs that can be queried instead of searched. By utilizing tree-sitter for deterministic AST parsing, it maps code structures, cross-file dependencies, and documentation into a graph format. It distinguishes between explicitly extracted relationships and inferred ones, providing transparency into how connections are made. The tool operates locally for code analysis, ensuring no source code leaves the developer's machine. It integrates directly into AI coding assistants via a skill system, allowing the assistant to query the graph to answer questions, trace paths between components, and explain concepts without reading raw files.

Funzionalità principali

  • Local deterministic AST parsing via tree-sitter
  • No vector store or embeddings required
  • Confidence tags for every edge (EXTRACTED vs. INFERRED)
  • Interactive graph.html for visual exploration
  • Cross-file link resolution across ~40 languages
  • Leiden community detection with LLM-free labels
  • Integration with 20+ AI coding assistants
  • Support for docs, PDFs, images, and video/audio mapping
  • Strict mode for AI assistants to enforce graph-first queries

Requisiti, installazione e avvio rapido

The official PyPI package is 'graphifyy' (with a double-y). It is recommended to install using 'uv': `uv tool install graphifyy`. Alternatively, use `pipx install graphifyy` or `pip install graphifyy`. After installing the package, register the skill with your AI assistant by running `graphify install`. Platform-specific installations are available (e.g., `graphify cursor install`, `graphify codex install`).

Utilizzo

After installation, navigate to your project directory and run `/graphify .` in your AI assistant (or `graphify .` in PowerShell). This generates three files in a `graphify-out/` directory: `graph.html` for visual exploration, `GRAPH_REPORT.md` for key highlights, and `graph.` for programmatic querying. You can also use CLI commands directly, such as `graphify explain "APIRouter"` to explain a concept or `graphify path "FastAPI" "ModelField"` to trace connections.

Compatibilità del modello e casi d'uso

Graphify integrates with AI coding assistants including Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot, Aider, and 15+ others. For semantic passes over docs and media, it can use the assistant's model or configured API keys for OpenAI, Anthropic, Google Gemini, AWS Bedrock, Azure OpenAI, or local Ollama models.

Note su licenza e rischi

Apache-2.0

Editorial verification 2026-08-09: repository URL, owner, description, license and repository statistics were reviewed. License metadata: Apache-2.0. README was fetched for the channel draft; re-check repository dependencies, releases and model terms before production use.

Rilascio e manutenzione

Not stated in the repository metadata

MemPalace

mempalace/mempalace

★ 58KPython

QwenPaw

agentscope-ai/qwenpaw

★ 33,9KPython

Composio

composiohq/composio

★ 29,5KTypeScript