
本地代码库智能CLI+面向AI编码代理的MCP服务器:SQLite代码图,28种语言,287个命令,246个MCP工具,变更安全门,审计证据,零API密钥。
概览
无凭证 ·默认为100%本地(选择加入的指标推送是唯一的出站表面) ·防篡改的ChangeEvidence数据包 ·Apache 2.0 ·完全运行在您的机器上 279 条命令 ·244 个 MCP 工具(默认核心预设中有 16 个)·28 种语言 METR 和 FrontierCode 都指出了同一个缺口:通过测试并不等同于可合并代码。Roam 是 ROM 在编辑前给代理局部图事实、限制风险变更并在运行后输出范围证据的算法。在截至 2026-06-12 调查的代理/审查工具中,区别在于以下组合: - 无账户,无 API 密钥,无云登录。PIP 安装并运行。- 源代码永远不离开机器;空隙仓库的工作方式类似云仓库。单一的出站表面(漫游指标推送)是选择加入的,仅摘要,并在 --试运行下打印其精确有效载荷。
概述(AI 翻译)
本地代码分析和编码代理的现成检查。
Roam为你的代理提供可复用的代码库索引、模式发现、候选 算法替代方案和检查,它可以调用。它可以调查 在不从零构建每个分析的情况下,编写代码并评估变更。
运行在你的机器上 ·免费且开源 ·无账户或API密钥用于本地分析 ·无自动源代码或遥测上传
288 个命令 ·259 个 MCP 工具(默认 core 预设中有 17 个)·28 种语言
连接你的代理人 ·尝试一项任务 · 文档 ·探索代码映射
为什么漫游不同
你的代理已经能读代码、推理代码并运行工具。Roam补充 可复用的本地分析:查询文件与函数之间的索引连接, 用拟议的替代方案检查检测到的模式,或进行范围检查。 这些结果为你的经纪人提供了具体的检查、测试和改进依据。
静态检查使用本地计算,而不是模型调用或付费漫游API。你的
代理的模型使用,包括读取这些结果,是独立的。刷新
随着代码变化,索引与roam index。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
roam-code
Local code analysis and ready-to-run checks for coding agents.
Roam gives your agent a reusable codebase index, pattern findings, candidate algorithmic alternatives, and checks it can call as it works. It can investigate code and evaluate changes without building each analysis from scratch.
Runs on your machine · free and open source · no account or API key for local analysis · no automatic source-code or telemetry upload
288 commands · 259 MCP tools (17 in the default core preset) · 28 languages
Connect your agent · Try a task · Documentation · Explore the code map
Why Roam is different
Your agent can read code, reason about it, and run tools already. Roam adds reusable local analyses: query indexed connections between files and functions, inspect a detected pattern with a proposed alternative, or run a scoped check. The results give your agent something concrete to inspect, test, and build on.
Static checks use local compute, not model calls or a paid Roam API. Your
agent’s model usage, including reading those results, is separate. Refresh the
index with roam index as the code changes.
Roam is useful before there is a defect or a patch: trace a dependency, compare an approach, or establish which checks a change will need. Agents use the tools; people set direction and decide what ships. It complements your editor, search, tests, security tools, and code review.
Connect your agent
You need Python 3.10+ and a Git repository. On Linux, macOS, or Windows:
pip install "roam-code[mcp]"
cd path/to/your/repo
roam init
Replace the path with your project. init builds the local index and creates
project configuration; use roam index if you want only the index. The first
run can download a parser and takes longer than a refresh.
Then choose your agent’s setup guide. Connect through MCP (a standard way for agents to use tools), or let your agent call the CLI. Add the usage instructions to its project configuration; connecting
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →