Home / Code · Agents / sweet-search

sweet-search
For agents searching codebases: local semantic search that saves 5–33% per agent run
What is sweet-search
sweet-search gives coding agents local semantic search over a codebase, saving 5–33% per run. It is free and open source under the Apache-2.0 license and published on npm.
How to use
- Install with npm (Node.js 22+):
npm install -g sweet-search- In your repository, run
sweet-search initto wire up Claude Code (add--codexor--opencodefor those agents). - Build the index with
sweet-search index(GPU-accelerated where available). - Search in natural language, e.g.
sweet-search "where do we validate JWT tokens?" - Let your agent use the six tools (search, grep, find, semantic, trace, read); the index updates itself as you edit.
- Uninstall with
sweet-search uninstall(this repo) orsweet-search uninstall --all.
Use cases
- Cutting the cost and time of Claude Code, Codex or opencode runs
- Hybrid semantic + keyword code search across a repository
- Tracing callers, callees and impact from a code graph
- Fast grep for agents with fewer wasted tokens
- Fully local code search with no API keys, cloud or Docker
Price from official sources
Free
- Free and open source under the Apache-2.0 license;
- runs 100% locally.
Check the official site for current pricing · Price not yet checked by our editors
Source: github.com · Info as of Nov 2, 2026
Reviews
No reviews yet.
Alternatives
-
nonce Not stated For securely granting AI access to your email: issues time-limited, least-privilege access per question
- Added
- Nov 2, 2026
Same category: Code
-
Skep Free For collaborating with coding agents across devices: share live sessions with a join code
- Added
- Nov 2, 2026
Same category: Code
-
Rufous
Free
For coding with small local models: an agent framework built for 2B–12B models
- Added
- Nov 2, 2026
Same category: Code
-
SKI
Freemium
For voice coding: drive multiple coding agents side by side
- Added
- Nov 2, 2026
Same category: Code
Social