Skip to content
View original post on X: meng shao
Published

Graphify builds a persistent knowledge graph so coding agents stop re-grepping repos

AIGraphify builds a local tree-sitter AST knowledge graph of an entire repository, saved to graphify-out/ as graph.json, graph.html and GRAPH_REPORT.md. Coding agents can then query the graph for call, import and inheritance paths instead of repeatedly grepping files.
meng shaoVerified on X
@shao__meng
View on X

Graphify:整仓一次建知识图,少让 Agent 反复 grep

@graphify 的做法:先整仓建持久知识图,再让 coding agent 查图改码,而不每轮任务从头 grep/瞎读文件;省 token、也少迷路;是否真能稳降 80% 花费等营销数字,要看仓规模、图是否保鲜,以及 agent 是否真接进图查询。

开源项目:https://github.com/Graphify-Labs/graphify

三点提炼
1. 持久知识图,不是向量库:对代码做本地 tree-sitter AST(确定性、边标 EXTRACTED / INFERRED);文档/PDF/多媒体可再走语义层。产物落在 graphify-out/(graph.json + 可点的 graph.html + GRAPH_REPORT.md),之后可 query / path / explain,不必每次重扫全仓。
2. 少反复 grep:口号「map once, not grep forever」;agent 问「认证流怎么走」「A 到 B 几跳」时走图上的 calls/imports/继承等边,而不海量搜字符串。社区检测、god node 等帮助先看见子系统枢纽。
3. 接进 coding agent:uv tool install graphifyy → graphify install 注册 skill,助手里 /graphify .;也可用 graphify-mcp 把已有 graph.json 挂到 Claude Code / Cursor / Codex 等,用 graph_stats、query_graph 一类工具当上下文源。Cloud 另有「常开记忆 / 跨仓」等,与开源 CLI 要分开看。

Source details

meng shao · x.comPublished · added here

Original title: Graphify:整仓一次建知识图,少让 Agent 反复 grep