roam-code
活跃·★ 466·MIT·更新于 2026-05-25
★ 代码助手★ 开发者工具
Roam 是一个本地的代码语义图引擎,为AI编码代理提供架构层面的理解和操作能力。
Roam 是一个结构智能引擎,通过SQLite、tree-sitter和git历史将代码库预索引为语义图。它为AI编码代理提供五个核心动词——理解、检索、上下文、预检、批评——用单个图查询替代数十次grep/read调用。该工具完全本地运行,支持27种语言,提供154个命令和120个MCP工具。
#AI 编程#AI 工具#architecture#命令行工具#代码分析#code-graph#代码智能#code-quality
01
功能特性
01五个核心动词(理解、检索、上下文、预检、批评)覆盖约80%的代理工作流
02本地SQLite图索引,使用tree-sitter解析和git历史,无需API密钥
03图感知检索,具有混合FTS5和结构重排序器
04CI就绪,支持SARIF输出、质量门和GitHub Action集成
05MCP服务器提供120个工具,可直接与AI编码代理集成
02
兼容性
Claude Code
Claude Code
已通过文档验证
Cursor
Cursor
已通过文档验证
Aider
Aider
已通过文档验证
MCP
MCP
已通过文档验证
GitHub Actions
GitHub Actions
已通过文档验证
GitLab CI
GitLab CI
已通过文档验证
03
快速开始
1
$ pip install roam-code
04
使用场景
↳代理辅助编码:通过使用结构化图查询减少令牌消耗和工具调用
↳架构治理:健康评分、CI质量门、预算执行和适应度函数
↳安全重构:影响范围分析、受影响测试检测和变更前安全检查
05
同类工具
相关搜索
评论
登录后发表评论
- AAspen Brown2026年5月14日
The roam-code approach to architecture is more useful than flat code search for refactoring
- LLogan Clark2026年4月22日
Architectural intelligence layer with structural graphs gives AI genuine codebase understanding
- MMarlowe Rivera2026年4月18日
The structural graph catches architectural issues that text search misses entirely
- SSpencer Anderson2026年3月27日
Used for large codebase navigation and architectural analysis, very insightful