---
title: "sweet-search — Local code search for AI coding agents"
url: "https://xlrocket.men/sweet-search-local-code-search-for-ai-coding-agents"
markdown_url: "https://xlrocket.men/sweet-search-local-code-search-for-ai-coding-agents.md"
format: "link"
published: "2026-11-02T12:25:56.000Z"
link_url: "https://github.com/mrsladoje/sweet-search"
site: "火箭君 MEN"
---

# [sweet-search — Local code search for AI coding agents](https://github.com/mrsladoje/sweet-search)

译：给 AI coding agent 的本地代码搜索

- 六工具（search/grep/find/semantic/trace/read）替代「只会 grep+Read」
- 实测可降约 5–33% agent 成本、加快检索；索引本地 GPU，含未提交改动
- 100% 本地、无 API key/云端；面向 Claude Code / Codex 等
