RepoBrain
活跃·★ 24·MIT·更新于 2026-05-27
★ 时下流行★ 代码助手★ 记忆与上下文
RepoBrain是一个本地优先的AI代码库分析师。
RepoBrain是一个本地优先的AI代码库分析师,它在本地索引仓库,检索基于证据的信息,追踪流程,并对编辑目标进行排序,无需托管后端。它帮助编码代理在编辑前理解代码上下文,降低错误修改的风险。
#AI 智能体#MCP 服务器#MCP 服务器#Python
01
功能特性
01本地优先的索引和检索,使用BM25、嵌入和重排序
02跨路由、服务、作业和配置表面的流程追踪
03带有显式置信度分数和警告的排名编辑目标
04CLI、本地Web UI和用于IDE的stdio MCP风格适配器
05可插拔的本地或云端推理提供商(Gemini、OpenAI等)
02
兼容性
Windows
Windows
已通过文档验证
macOS
macOS
已通过文档验证
Linux
Linux
已通过文档验证
03
快速开始
1
$ git clone https://github.com/hieuchaydi/RepoBrain.git
2
$ cd RepoBrain
3
$ python -m venv .venv
4
$ source .venv/bin/activate
5
$ python -m pip install -e ".[dev,tree-sitter,mcp]"
04
使用场景
↳查找特定逻辑(如支付重试)的实现位置
↳追踪功能(如Google登录)从路由到服务的流程
↳确定代理在编辑前应检查哪些文件
05
同类工具
相关搜索
评论
登录后发表评论
- QQuinn Garcia2026年5月25日
Good for AI coding assistants that need persistent understanding of a specific codebase.
- SScout Lewis2026年5月25日
Local-first means your code stays on your machine — important for proprietary projects.
- LLane Brown2026年4月30日
Local-first codebase memory engine that understands code at a semantic level.
- RRebel Anderson2026年3月27日
Memory accumulates over time, making the AI progressively more useful for the project.