论文73°

Grep 式搜索 + 智能体框架,或可替代向量数据库?

// Is Grep All You Need? // Pay attention to this on, AI devs. (bookmark it) They find that grep-...

精选理由

做编码智能体的开发者值得关注——grep 式搜索+好框架可能省掉向量数据库的复杂度和成本,建议点开论文看看实验细节。

AI 摘要

一项研究发现,在编码智能体任务中,将 grep 风格的文本搜索嵌入合适的智能体框架,其效果可与基于嵌入的检索相媲美甚至更优。这提示我们,编码智能体真正需要的可能不是更好的嵌入,而是围绕原始工具设计更优的框架。如果你依赖向量数据库构建编码智能体,现在或许是重新评估的时候。论文指出,在规模场景下向量数据库仍有优势,但混合方法尚未成熟。

原文 · elvis

// Is Grep All You Need? // Pay attention to this on, AI devs. (bookmark it) They find that grep-...

// Is Grep All You Need? // Pay attention to this on, AI devs. (bookmark it) They find that grep-style text search, when wrapped in the right agent harness, matches or beats embedding-based retrieval on coding-agent tasks. Are vector databases even needed where this is all going? It might be that what coding agents needed was not better embeddings. It was better harness design around primitive tools. If you operate a coding-agent stack that depends on a vector DB, it might be time to re-evaluate. My personal experience on this has been that agentic search, if done right, is more than good enough for a lot of use cases. But you also have to understand how to properly index and structure information for the agents to take advantage. At scale, vector databases do shine so take that into account as well. In most cases, a hybrid approach often works best but that's something we haven't figured out really well as of yet. Paper: arxiv.org/abs/2605.15184 Learn to build effective AI agents in our academy: academy.dair.ai 💬 35 🔄 37 ❤️ 265 👀 26237 📊 112 ⚡

Grep 式搜索 + 智能体框架,或可替代向量数据库? · AI 热点