Tool profile

sweet-search

github.com

Local code search for AI coding agents: six purpose-built tools that replace grep-and-read, with benchmarked 5–33% cheaper agent runs.

PricingOpen source
PublishedNov 2, 2026

What it does

sweet-search is an open-source (Apache-2.0) local code search engine built for coding agents such as Claude Code, Codex and opencode. Instead of reaching for grep and reading whole files, the agent gets six purpose-built tools — search, grep, find, semantic, trace and read — plus a tuned system prompt. The author benchmarked it on 200 real engineering tasks across five harness and model setups: runs were 5–33% cheaper with the same number of tasks solved (481 vs 481), and model time per code question dropped by up to 34%. You index a repo once with one GPU-accelerated command; a reconcile daemon then keeps the index current as you edit, including uncommitted changes. Everything runs on your machine with no API keys, cloud or Docker. Install with npm (Node.js 22+), then sweet-search init wires it into Claude Code (flags for Codex, opencode or AGENTS.md tools). First-class on macOS, Linux x64/arm64 and Windows via WSL2; Cursor and any MCP client also work; supports 20+ programming languages.

  • Cut token costs of Claude Code or Codex on large repos
  • Ask natural-language questions about a codebase locally
  • Give any MCP client semantic code search without a cloud index

Categories

open-sourcemcpsemantic-searchcodexclaude-codeopencodelocalcode-search

Frequently asked questions

Does sweet-search send my code anywhere?
No. It runs 100% locally with no API keys, cloud or Docker.
Which agents are supported?
Claude Code, Codex and opencode are tuned and benchmarked; Cursor, MCP clients and shell-capable agents also work.
What are the requirements?
Node.js 22+ on macOS, Linux or Windows via WSL2; machines with 8 GB RAM or less are not recommended.

Explore

More in AI Code Assistant

Open-source workspace to run and manage many coding agents at once using your own subscriptions.

Open sourcegithub
PonytailAI Code Assistant

A ruleset/skill that makes AI coding agents write the least code that works.

Open sourcegithub
HalvAI Code Assistant

Open-source desktop workspace that runs Claude Code, Codex, Kimi and GLM side by side and cuts token spend.

Freemiumopen-source
MnemolithAI Code Assistant

Shared MCP memory for coding agents that marks notes stale when the underlying code changes.

Open sourceopen-source
T3 CodeAI Code Assistant

Open-source app from Ping.gg for running and controlling coding agents such as Codex, Claude and Cursor.

Open sourceopen-source
Compound EngineeringAI Code Assistant

Every's open-source plugin of skills and agents for a plan, work, review and compound engineering loop.

Open sourceopen-source