{"id":27851,"library":"graphifyy","title":"Graphify","description":"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.","status":"active","version":"0.7.10","language":"python","source_language":"en","source_url":"https://github.com/safishamsi/graphify","tags":["knowledge-graph","code-analysis","ai-assistant","llm","claude","gemini","openai","ollama"],"install":[{"cmd":"pip install graphifyy","lang":"bash","label":"Base install"},{"cmd":"pip install graphifyy[gemini]","lang":"bash","label":"With Gemini backend"},{"cmd":"pip install graphifyy[openai]","lang":"bash","label":"With OpenAI backend"},{"cmd":"pip install graphifyy[ollama]","lang":"bash","label":"With Ollama backend"}],"dependencies":[{"reason":"Default LLM backend (Claude)","package":"anthropic","optional":true},{"reason":"Gemini backend support","package":"google-genai","optional":true},{"reason":"OpenAI backend support","package":"openai","optional":true},{"reason":"Ollama local backend support","package":"ollama","optional":true}],"imports":[{"note":"Common mistake: importing the module directly instead of the class.","wrong":"import graphify","symbol":"Graphify","correct":"from graphify import Graphify"}],"quickstart":{"code":"import os\nfrom graphify import Graphify\n\n# API keys can be set via environment variables (ANTHROPIC_API_KEY, GEMINI_API_KEY, etc.)\ng = Graphify()\n\n# Extract a codebase into a knowledge graph\ng.extract('./my_project', backend='claude')\n\n# Query the graph\nresults = g.query('What API endpoints are in the auth module?')\nprint(results)\n\n# Export as Obsidian vault\ng.export('obsidian', output='./vault')","lang":"python","description":"Quickstart: instantiate Graphify, extract a directory, query, and export."},"warnings":[{"fix":"Re-extract the graph using v0.7.10 or patch the JSON manually (replace 'edges' with 'links').","message":"Older graph JSON files may have 'edges' key instead of 'links'. Loading such files with v0.7.10 will raise KeyError: 'links'.","severity":"breaking","affected_versions":">=0.7.10 (fixed in 0.7.10)"},{"fix":"Re-extract .tsx files with graphify 0.7.10+.","message":".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.","severity":"breaking","affected_versions":"<0.7.10"},{"fix":"Use CLI: 'graphify export html' or 'graphify export obsidian'.","message":"The Python snippet workflow for export is deprecated. Use graphify export <format> CLI subcommands instead.","severity":"deprecated","affected_versions":">=0.7.2"},{"fix":"Upgrade to 0.7.6+ and re-extract.","message":"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.","severity":"gotcha","affected_versions":"<0.7.6"},{"fix":"Upgrade to 0.7.4+ and ensure tsconfig files are valid JSONC.","message":"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.","severity":"gotcha","affected_versions":"<0.7.4"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Re-extract with v0.7.10, or manually rename 'edges' to 'links' in the JSON file.","cause":"Older graph JSON files have 'edges' key; v0.7.10 expects 'links'.","error":"KeyError: 'links'"},{"fix":"Upgrade to graphify >=0.7.4, which uses a JSONC-aware parser.","cause":"tsconfig.json contains JSONC (comments, trailing commas) and is parsed with json.loads() before v0.7.4.","error":"JSONDecodeError while reading tsconfig.json"},{"fix":"Install: pip install graphifyy[gemini]","cause":"Trying to use Gemini backend without installing the optional dependency.","error":"ModuleNotFoundError: No module named 'google.genai'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}