**TheGitAI为何放弃仓库索引:即时探索优于预检索** _Repo indexing was doing more harm than good, so
原帖
**TheGitAI为何放弃仓库索引:即时探索优于预检索**
_Repo indexing was doing more harm than good, so we dropped it from our agent_
> TheGitAI团队在构建AI编程代理时发现,仓库索引虽能检索相似代码,但无法识别真正相关的上下文。软件调试是动态调查过程,而非一次性检索。他们转而采用即时探索策略:让代理在工作中按需搜索、读取、运行和观察,通过证据链逐步定位问题,而非预先加载所有可能相关的代码。
**来源信息**
- **来源**:Hacker News:AI 热帖
- **分类**:ai-products
- **发布时间**:2026-08-28 17:47(北京时间)
- **原文**:[打开原文](https://thegit.ai/blog/why-we-abandoned-repository-indexing)