Graphify

raw JSON →
0.7.10 verified Sat May 09 auth: no python

Graphify is an AI coding assistant skill that turns any folder of code, docs, papers, images, or videos into a queryable knowledge graph. Current version 0.7.10, released April 2025. Active development with frequent releases (~every 2–3 weeks). Supports multiple LLM backends (Claude, Gemini, OpenAI, Ollama, Kimi) and 26+ programming languages.

pip install graphifyy
error KeyError: 'links'
cause Older graph JSON files have 'edges' key; v0.7.10 expects 'links'.
fix
Re-extract with v0.7.10, or manually rename 'edges' to 'links' in the JSON file.
error JSONDecodeError while reading tsconfig.json
cause tsconfig.json contains JSONC (comments, trailing commas) and is parsed with json.loads() before v0.7.4.
fix
Upgrade to graphify >=0.7.4, which uses a JSONC-aware parser.
error ModuleNotFoundError: No module named 'google.genai'
cause Trying to use Gemini backend without installing the optional dependency.
fix
Install: pip install graphifyy[gemini]
breaking Older graph JSON files may have 'edges' key instead of 'links'. Loading such files with v0.7.10 will raise KeyError: 'links'.
fix Re-extract the graph using v0.7.10 or patch the JSON manually (replace 'edges' with 'links').
breaking .tsx files were previously parsed with language_typescript grammar, which silently dropped all JSX-specific nodes. This is fixed in 0.7.10 but existing graphs may be incomplete.
fix Re-extract .tsx files with graphify 0.7.10+.
deprecated The Python snippet workflow for export is deprecated. Use graphify export <format> CLI subcommands instead.
fix Use CLI: 'graphify export html' or 'graphify export obsidian'.
gotcha Sensitive files (e.g., tokenizer.py, password_verification.py, SecretManager.java) may be silently dropped due to false-positive word-boundary matching in _is_sensitive(). Fixed in 0.7.6, but old graphs may be missing files.
fix Upgrade to 0.7.6+ and re-extract.
gotcha tsconfig.json path aliases defined in extended configs (via 'extends') are not resolved unless using v0.7.1+. Even then, JSONC parsing could fail silently before v0.7.4.
fix Upgrade to 0.7.4+ and ensure tsconfig files are valid JSONC.
pip install graphifyy[gemini]
pip install graphifyy[openai]
pip install graphifyy[ollama]

Quickstart: instantiate Graphify, extract a directory, query, and export.

import os
from graphify import Graphify

# API keys can be set via environment variables (ANTHROPIC_API_KEY, GEMINI_API_KEY, etc.)
g = Graphify()

# Extract a codebase into a knowledge graph
g.extract('./my_project', backend='claude')

# Query the graph
results = g.query('What API endpoints are in the auth module?')
print(results)

# Export as Obsidian vault
g.export('obsidian', output='./vault')