AI Skill Hub 强烈推荐:Graphify AI编码助手 是一款优质的AI工具。在 GitHub 上收获超过 47.7k 颗 Star,AI 综合评分 8.2 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。
Graphify AI编码助手 是一款基于 Python 开发的开源工具,专注于 AI编程助手、多模型支持、代码生成 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
Graphify AI编码助手 是一款基于 Python 开发的开源工具,专注于 AI编程助手、多模型支持、代码生成 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install graphify
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install graphify
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/safishamsi/graphify
cd graphify
pip install -e .
# 验证安装
python -c "import graphify; print('安装成功')"
# 命令行使用
graphify --help
# 基本用法
graphify input_file -o output_file
# Python 代码中调用
import graphify
# 示例
result = graphify.process("input")
print(result)
# graphify 配置文件示例(config.yml) app: name: "graphify" debug: false log_level: "INFO" # 运行时指定配置文件 graphify --config config.yml # 或通过环境变量配置 export GRAPHIFY_API_KEY="your-key" export GRAPHIFY_OUTPUT_DIR="./output"
<p align="center"> <a href="https://graphify.com"><img src="https://raw.githubusercontent.com/Graphify-Labs/graphify/v8/docs/graphify-logo.png" width="360" height="189" alt="Graphify"/></a> </p>
<p align="center"> <a href="https://trendshift.io/repositories/25296?utm_source=repository-badge&utm_medium=badge&utm_campaign=badge-repository-25296" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/25296" alt="Graphify-Labs%2Fgraphify | Trendshift" width="250" height="55"/></a> </p>
🇺🇸 <a href="README.md">English</a> | 🇨🇳 <a href="docs/translations/README.zh-CN.md">简体中文</a> | 🇯🇵 <a href="docs/translations/README.ja-JP.md">日本語</a> | 🇰🇷 <a href="docs/translations/README.ko-KR.md">한국어</a> | 🇩🇪 <a href="docs/translations/README.de-DE.md">Deutsch</a> | 🇫🇷 <a href="docs/translations/README.fr-FR.md">Français</a> | 🇪🇸 <a href="docs/translations/README.es-ES.md">Español</a> | 🇮🇳 <a href="docs/translations/README.hi-IN.md">हिन्दी</a> | 🇧🇷 <a href="docs/translations/README.pt-BR.md">Português</a> | 🇷🇺 <a href="docs/translations/README.ru-RU.md">Русский</a> | 🇸🇦 <a href="docs/translations/README.ar-SA.md">العربية</a> | 🇮🇷 <a href="docs/translations/README.fa-IR.md">فارسی</a> | 🇮🇹 <a href="docs/translations/README.it-IT.md">Italiano</a> | 🇵🇱 <a href="docs/translations/README.pl-PL.md">Polski</a> | 🇳🇱 <a href="docs/translations/README.nl-NL.md">Nederlands</a> | 🇹🇷 <a href="docs/translations/README.tr-TR.md">Türkçe</a> | 🇺🇦 <a href="docs/translations/README.uk-UA.md">Українська</a> | 🇻🇳 <a href="docs/translations/README.vi-VN.md">Tiếng Việt</a> | 🇮🇩 <a href="docs/translations/README.id-ID.md">Bahasa Indonesia</a> | 🇸🇪 <a href="docs/translations/README.sv-SE.md">Svenska</a> | 🇬🇷 <a href="docs/translations/README.el-GR.md">Ελληνικά</a> | 🇷🇴 <a href="docs/translations/README.ro-RO.md">Română</a> | 🇨🇿 <a href="docs/translations/README.cs-CZ.md">Čeština</a> | 🇫🇮 <a href="docs/translations/README.fi-FI.md">Suomi</a> | 🇩🇰 <a href="docs/translations/README.da-DK.md">Dansk</a> | 🇳🇴 <a href="docs/translations/README.no-NO.md">Norsk</a> | 🇭🇺 <a href="docs/translations/README.hu-HU.md">Magyar</a> | 🇹🇭 <a href="docs/translations/README.th-TH.md">ภาษาไทย</a> | 🇺🇿 <a href="docs/translations/README.uz-UZ.md">Oʻzbekcha</a> | 🇹🇼 <a href="docs/translations/README.zh-TW.md">繁體中文</a> | 🇵🇭 <a href="docs/translations/README.fil-PH.md">Filipino</a> | 🇮🇱 <a href="docs/translations/README.he-IL.md">עברית</a>
</details> </div>
<p align="center"> <a href="https://pypi.org/project/graphifyy/"><img src="https://img.shields.io/pypi/v/graphifyy" alt="PyPI"/></a> <a href="https://github.com/Graphify-Labs/graphify/actions/workflows/ci.yml"><img src="https://github.com/Graphify-Labs/graphify/actions/workflows/ci.yml/badge.svg?branch=v8" alt="CI"/></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue" alt="License: Apache-2.0"/></a> <a href="https://pepy.tech/project/graphifyy"><img src="https://img.shields.io/pepy/dt/graphifyy?color=blue&label=downloads" alt="Downloads"/></a> <a href="https://docs.graphify.com"><img src="https://img.shields.io/badge/Docs-docs.graphify.com-0b7285?style=flat&logo=readthedocs&logoColor=white" alt="Docs"/></a> <a href="https://app.graphify.com/login"><img src="https://img.shields.io/badge/Graphify%20Cloud-app.graphify.com-118d4f?style=flat&logoColor=white" alt="Graphify Cloud"/></a> <a href="https://discord.gg/XDnKVpzdXB"><img src="https://img.shields.io/badge/Discord-Join-5865F2?style=flat&logo=discord&logoColor=white" alt="Discord"/></a> <a href="https://www.youtube.com/@graphifylabs"><img src="https://img.shields.io/badge/YouTube-Graphify%20Labs-FF0000?style=flat&logo=youtube&logoColor=white" alt="YouTube"/></a> <a href="https://www.linkedin.com/company/graphify-labs"><img src="https://img.shields.io/badge/LinkedIn-Graphify%20Labs-0077B5?logo=linkedin" alt="LinkedIn"/></a> <a href="https://www.ycombinator.com/companies/graphify-labs"><img src="https://img.shields.io/badge/Y%20Combinator-S26-F0652F?style=flat&logo=ycombinator&logoColor=white" alt="YC S26"/></a> </p>
<p align="center"> <b>Cut agent token spend by 80%.</b> Graphify Cloud is always-on memory that governs your agents, keeps code quality high, and proves correctness with formal verification. <a href="https://app.graphify.com/login"><b>Start a free 14-day trial →</b></a> </p>
Type /graphify in your AI coding assistant and it maps your entire project (code, docs, PDFs, images, videos) into a knowledge graph you can query instead of grepping through files.
EXTRACTED (explicit in the source) or INFERRED (resolved by graphify), so you can tell what was read directly from what was inferred.[!NOTE] Want this always-on? Graphify Cloud keeps the graph live across your entire SDLC: monorepo and cross-repo support, formal verification, and code review with a bird's-eye view of your SDLC, plus connectors for Sentry, Jira, and more so incidents and tickets sit in the same graph as your code. Start a free 14-day trial at app.graphify.com.
<p align="center"> <img src="https://raw.githubusercontent.com/Graphify-Labs/graphify/v8/docs/graph-hero.png" alt="graphify's interactive graph.html showing the FastAPI codebase as a force-directed knowledge graph with a legend of detected communities" width="900"> </p> <p align="center"> <em>The FastAPI codebase mapped by graphify. Every node is a concept, colors are detected communities, and the whole thing is clickable in graph.html.</em> </p>
Get started (30 seconds):
uv tool install graphifyy # install the CLI (or: pipx install graphifyy)
graphify install # register the skill with your AI assistant
Then, in your AI assistant:
/graphify .
That's it. You get three files:
graphify-out/
├── graph.html open in any browser — click nodes, filter, search
├── GRAPH_REPORT.md the highlights: key concepts, surprising connections, suggested questions
└── graph.json the full graph — query it anytime without re-reading your files
The persisted graph includes graph.schema_version so integrations can detect incompatible format changes, plus graph.graphify_version identifying the Graphify release that produced it.
Works in Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot, and 15+ more — pick your platform.
---
GRAPH_REPORT.md summarizes the god nodes, communities, and key paths for broad architecture review. How the graph is built and what it contains: How graphify works.
---
| Requirement | Minimum | Check | Install |
|---|---|---|---|
| Python | 3.10+ | python --version | [python.org](https://www.python.org/downloads/) |
| uv *(recommended)* | any | uv --version | curl -LsSf https://astral.sh/uv/install.sh \| sh |
| pipx *(alternative)* | any | pipx --version | pip install pipx |
macOS quick install (Homebrew):
brew install python@3.12 uv
Windows quick install:
winget install astral-sh.uv
Ubuntu/Debian: ```bash sudo apt install python3.12 python3-pip pipx
curl -LsSf https://astral.sh/uv/install.sh | sh ```
---
[!IMPORTANT] Official package: The PyPI package isgraphifyy(double-y). Othergraphify*packages on PyPI are not affiliated. The CLI command is stillgraphify.
The official source repository is Graphify-Labs/graphify.
Step 1 — install the package:
```bash
viz_node_limit=0 ```
The declaration controls file classification, extractor selection and language-specific grammar and resolution, and the AST cache: a file re-parsed under a different language never reuses the old entry. Original source paths and physical format conventions, such as Fortran .F90 preprocessing and C/C++ header/implementation pairing, are preserved. Optional language backends must still be installed. A typo is reported once on stderr and the scan continues with graphify's defaults.
Adding, changing, or removing a language declaration invalidates affected incremental manifest entries even when the source bytes have not changed. graphify watch recognizes declared source extensions and root .graphifyrc changes, including atomic replacement; configuration changes schedule an AST rebuild and flag semantic work for the next extraction. The same configuration is read by graphify extract, graphify update, the hooks, the MCP server, and the /graphify skill.
Extensionless local JS/TS imports can also resolve declared suffixes. Native suffixes retain precedence within file and directory-index lookup, and file candidates are tried before directory indexes. Python module and package lookups also support declared Python suffixes, while retaining native .py precedence.
---
Commit or share the graph so your whole team queries the same context, and review pull requests with graph context. See Share context with your team and Review pull requests.
---
Building something in the graphify ecosystem? That is encouraged. If your project uses "graphify" in its name (for example graphify-dashboard or graphify-action), please add a short note to your README clarifying that it is community-built and not affiliated with or endorsed by Graphify Labs. "graphify" and the graphify logo are marks of Graphify Labs; please do not use them in a way that implies official status.
---
uv tool install graphifyy
Create a .graphifyrc in the scan root for settings that belong to the project rather than to one run. One key=value per line; lines beginning with # are comments.
Ambiguous extensions. Some extensions mean different languages in different projects: .inc is PHP on pfSense, Pascal in a Delphi tree, SQL or assembly elsewhere; .h is C or C++; .m is Objective-C or MATLAB. graphify has to pick one global default, and when it picks wrong the file does not fail — it parses as the wrong language and yields a handful of incidental nodes, so the graph looks populated while the real symbols are missing. Declare what the extension means in your repo:
```
Backends, API keys, hook behavior, and tuning are controlled by environment variables. Full table: Configuration.
---
The instructions installed by graphify install and those supplied with a Graphify MCP connection describe different ways to query a graph:
| Setup | Guidance to use | Query access |
|---|---|---|
| Local CLI and installed assistant skill | The platform instructions written by graphify install | Run graphify query, graphify path, and graphify explain against the local graph (graphify-out/ by default). |
| Connected Graphify MCP server | The connection's instructions and the tools listed by that server | Call the listed MCP tools against the graph served by that connection. Tool names and descriptions come from the server. |
Both encourage scoped graph queries before broad source searches. Choose the instructions that match the tools your assistant can actually access; neither block establishes a universal precedence rule for your assistant's instruction files. If you use both integrations, identify which graph each queries and choose a primary query path instead of copying two unconditional instruction blocks into AGENTS.md.
graphify install installs the local assistant integration; it does not establish an MCP connection. An MCP client does not need to run local CLI queries to use its connected server. A locally hosted server still needs its own Graphify installation and graph, while a hosted connection may serve a graph that is not present in the client's working directory. If the expected tools are missing, check the relevant CLI installation or MCP connection rather than treating the other setup's instructions as interchangeable.
---
Every command and flag, with examples: CLI reference.
---
language.tpl=.ts
pipx install graphifyy pip install graphifyy # may need PATH setup — see note below
**Step 2 — register the skill with your AI assistant:**
bash graphify install
That's it. Open your AI assistant and type `/graphify .`
To install the assistant skill into the current repository instead of your user
profile, add `--project`:
bash graphify install --project graphify install --project --platform codex ```
Project-scoped installs write under the current directory, for example .claude/skills/graphify/SKILL.md or .agents/skills/graphify/SKILL.md (plus a references/ sidecar the skill loads on demand), and print a git add hint for files that can be committed. Per-platform commands that support project-scoped installs accept the same flag, for example graphify claude install --project or graphify codex install --project.
[!TIP] Hittingcommand not found, apip-on-Mac/Windows issue, PowerShell quoting,uvxusage, git-hook PATH quirks, or strict mode? See Installation and Troubleshooting.
<details> <summary><b>Pick your platform</b> (20+ assistants, click to expand)</summary>
| Platform | Install command |
|---|---|
| Claude Code (Linux/Mac) | graphify install |
| Claude Code (Windows) | graphify install (auto-detected) or graphify install --platform windows |
| CodeBuddy | graphify install --platform codebuddy |
| Codex | graphify install --platform codex |
| OpenCode | graphify install --platform opencode |
| Kilo Code | graphify install --platform kilo |
| GitHub Copilot CLI | graphify install --platform copilot |
| VS Code Copilot Chat | graphify vscode install |
| Aider | graphify install --platform aider |
| OpenClaw | graphify install --platform claw |
| Factory Droid | graphify install --platform droid |
| Trae | graphify install --platform trae |
| Trae CN | graphify install --platform trae-cn |
| Gemini CLI | graphify install --platform gemini |
| Hermes | graphify install --platform hermes |
| Kimi Code | graphify install --platform kimi |
| Amp | graphify amp install |
| Agent Skills (cross-framework) | graphify install --platform agents (alias --platform skills) |
| Kiro IDE/CLI | graphify kiro install |
| Pi coding agent | graphify install --platform pi |
| Cursor | graphify cursor install |
| Devin CLI | graphify devin install |
| Google Antigravity | graphify antigravity install |
Codex users also need multi_agent = true under [features] in ~/.codex/config.toml for parallel extraction. CodeBuddy uses the same Agent tool and PreToolUse hook mechanism as Claude Code. Factory Droid uses the Task tool for parallel subagent dispatch. OpenClaw and Aider use sequential extraction (parallel agent support is still early on those platforms). Trae uses the Agent tool for parallel subagent dispatch and does not support PreToolUse hooks, so AGENTS.md is the always-on mechanism.
--platform agents (alias --platform skills) targets the generic cross-framework Agent-Skills locations: the spec's user-global ~/.agents/skills/ (read by npx skills and spec-compliant frameworks) for a global install, and ./.agents/skills/ for a project (--project) install. The bare graphify install stays single-platform (Claude Code) by design — use the named agents platform when you want the skill discoverable by any framework that reads .agents/skills.
Codex uses$graphifyinstead of/graphify.
</details>
<details> <summary><b>Optional extras</b> (install only what you need)</summary>
| Extra | What it adds | Install |
|---|---|---|
pdf | PDF extraction | uv tool install "graphifyy[pdf]" |
office | .docx and .xlsx support | uv tool install "graphifyy[office]" |
google | Google Sheets rendering | uv tool install "graphifyy[google]" |
video | Video/audio transcription (faster-whisper + yt-dlp) | uv tool install "graphifyy[video]" |
mcp | MCP stdio server | uv tool install "graphifyy[mcp]" |
neo4j | Neo4j push support | uv tool install "graphifyy[neo4j]" |
falkordb | FalkorDB push support | uv tool install "graphifyy[falkordb]" |
svg | SVG graph export | uv tool install "graphifyy[svg]" |
leiden | Leiden community detection (graspologic on Python < 3.13; native backend on 3.13+) | uv tool install "graphifyy[leiden]" |
ollama | Ollama local inference | uv tool install "graphifyy[ollama]" |
openai | OpenAI / OpenAI-compatible APIs | uv tool install "graphifyy[openai]" |
gemini | Google Gemini API | uv tool install "graphifyy[gemini]" |
anthropic | Anthropic Claude API (--backend claude, uses ANTHROPIC_API_KEY) | uv tool install "graphifyy[anthropic]" |
bedrock | AWS Bedrock (uses IAM, no API key) | uv tool install "graphifyy[bedrock]" |
azure | Azure OpenAI Service (--backend azure, uses AZURE_OPENAI_API_KEY + AZURE_OPENAI_ENDPOINT) | uv tool install "graphifyy[openai]" |
sql | SQL schema extraction | uv tool install "graphifyy[sql]" |
postgres | Live PostgreSQL introspection (--postgres DSN) | uv tool install "graphifyy[postgres]" |
dm | BYOND DreamMaker .dm/.dme AST extraction (may need a C compiler + python3-dev if no wheel matches your platform) | uv tool install "graphifyy[dm]" |
terraform | Terraform / HCL .tf/.tfvars/.hcl AST extraction | uv tool install "graphifyy[terraform]" |
pascal | Pascal / Delphi .pas/.dpr/.dpk/.inc AST extraction (more accurate calls/inherits edges; falls back to a regex extractor when absent) | uv tool install "graphifyy[pascal]" |
ocaml | OCaml .ml/.mli AST extraction | uv tool install "graphifyy[ocaml]" |
commonlisp | Common Lisp .lisp/.cl/.lsp/.asd AST extraction | uv tool install "graphifyy[commonlisp]" |
robot | Robot Framework .robot/.resource extraction (suites, test cases, keywords, keyword-call and resource/library import edges) | uv tool install "graphifyy[robot]" |
chinese | Chinese query segmentation (jieba) | uv tool install "graphifyy[chinese]" |
all | Everything above | uv tool install "graphifyy[all]" |
</details>
---
Common install and extraction issues and their fixes: Troubleshooting.
---
本项目是 Graphify 的简介,介绍了该项目的 logo 和相关链接。
本节介绍了 Graphify 的功能,包括 God nodes、Surprising connections 和 The "why" 等。
本节列出了 Graphify 的环境依赖和系统要求,包括 Python 和 uv 等。
本节提供了安装 Graphify 的步骤,包括使用 pip 和 Docker 等方式。
本节介绍了 Graphify 的配置选项,包括 PDF、Office 和 Google 等额外功能。
本节提供了 Graphify 的全命令参考,包括 /graphify、/graphify ./raw 等命令。
本节介绍了 Graphify 的工作流和模块,包括 Git workflow、Active development 等。
本节回答了常见问题,包括 "graphify: command not found" 等问题。
架构设计合理,多模型抽象封装完善。活跃维护,社区生态良好。生产级工具,值得关注。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,Graphify AI编码助手 是一款质量优秀的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | graphify |
| 原始描述 | 开源AI工具:AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and。⭐47.7k · Python |
| Topics | AI编程助手多模型支持代码生成开源框架 |
| GitHub | https://github.com/safishamsi/graphify |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。