
用于AI编码代理的代码库智能层。语义索引、图导航和仓库智能
概览
用于AI编码代理的代码库智能层轨迹丰富感知RAG ·通过MCP服务 ·100%本地化 TeaRAGs 是基于 MCP 的代理查询。它将你机器上的仓库索引为五层——三层读取代码,两层判断其接口: —— 🔍 对AST感知区块进行语义和混合搜索 - 🕸️ ——呼叫者、被调用者、粉丝参与、传递影响——🧬——流失、漏洞修复率、所有权、年龄🏛️——依赖方向、泄露的表象、文件之间无边🔤际的变更————从呼叫图推断出的命名词汇,以及每个新名字的判决 前三层以及特工为何需要同时所有这些层面,都在Codebase Intelligence для агента(俄语称为Habr)中详细阐述。 TeaRAGs还提供代理技能,知道任务需要哪一层。代理不再猜测哪些代码安全复制、哪些关键、哪些变更会破坏——而是阅读档案。
概述(AI 翻译)
茶RAGs(TeaRAGs) 🦖🍵
用于AI编码代理的代码库智能层 轨迹富集感知RAG ·通过MCP服务 ·100%本地
你的编码代理复制的是它找到的第一个代码——而不是正确的代码。
TeaRAGs 是基于 MCP 的 {代码库智能层** 你的代理查询。它 将你机器上的存储库索引为五个层——其中三个层读取 代码和两个判断其接口的代码:
- 🔍 它的作用 — 对AST感知区块进行语义和混合搜索
- 🕸️ 它如何相互关联 — 来电者、被呼者、粉丝互动、传递影响
- 🧬 它的历史状况 — 流失率、修复率、所有权、年龄
- 🏛️ 布局是否正确 — 依赖方向,外墙外墙泄漏, 文件之间没有边际,会一起变化
- 🔤 项目中对事物的称呼——由 呼号图,以及每个新名字的判决
前三层以及为什么代理人需要同时所有这些层面 in Codebase Intelligence для агента (哈布尔,俄文)
TeaRAGs还提供能够识别任务需要哪一层的代理技能。代理
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
TeaRAGs 🦖🍵
Codebase Intelligence layer for AI coding agents Trajectory Enrichment-Aware RAG · served over MCP · 100% local
Your coding agent copies the first code it finds — not the right one.
TeaRAGs is a Codebase Intelligence layer your agent queries over MCP. It indexes the repository on your machine into five layers — three that read the code and two that judge its interfaces:
- 🔍 What it does — semantic and hybrid search over AST-aware chunks
- 🕸️ How it is connected — callers, callees, fan-in, transitive impact
- 🧬 How it has lived — churn, bug-fix rate, ownership, age
- 🏛️ Whether it is laid out right — dependency direction, leaking facades, files that change together with no edge between them
- 🔤 What the project calls things — the naming vocabulary, inferred from the call graph, and a verdict on every new name
The first three layers and why an agent needs all of them at once are laid out in Codebase Intelligence для агента (Habr, in Russian).
TeaRAGs also ships agent skills that know which layer a task needs. The agent stops guessing which code is safe to copy, what is critical, and what a change will break — it reads the dossier instead.
📖 Documentation · 🏁 15-minute quickstart · 🧠 Core concepts
👀 See It
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"tea-rags": {
"command": "tea-rags",
"args": ["server"]
}
}
}