cd /news/ai-agents/show-hn-sweet-search-local-code-sear… · home › topics › ai-agents › article
[ARTICLE · art-162035] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Sweet-search – local code search for agents (5–33% cheaper runs)

Developer Marko released sweet-search, a local code search tool for Claude Code, Codex and Opencode, claiming it cuts agentic run costs by 5–33% with Sol 6.1 and Opus 5.5 while matching native search on solved tasks (481 of 1,000 pooled across 5 model-harness combinations on 200 held-out SWE-rebench tasks). The tool ships 6 tools including hybrid search with late interaction reranking and a custom grep, plus GPU-accelerated indexing and incremental indexing; Marko reports the custom MaxSim kernel runs 1.4–7.3× faster than NumPy and PyTorch for CPU reranking, the custom grep is 2.46× faster end-to-end than ripgrep, and the hybrid-search tool is state of the art on M2CRB and zero-shot state of the art on CoSQA.

read1 min views5 publishedNov 1, 2026

Hi everyone :) After almost a year of fighting windmills, I am proud to say I built sweet-search, a local code search tool for Claude Code, Codex and Opencode.

It delivers 5-33% cheaper agentic runs with Sol 6.1 and Opus 5.5 with Claude Code, Codex and Opencode, with pooled solved tasks equal vs native (both 481 of 1,000 tasks pooled on 5 model*harness combos). Measured on 200 held-out SWE-rebench tasks. Detailed bench results are in the README.

It consists of 6 tools: hybrid search with late interaction reranking, my version of grep, and others. It also has GPU accelerated indexing (for embedding and late interaction models) and low footprint incremental indexing.

Some highlights: 1. The ANN kernel is custom and very competitive with FAISS and USearch. 2. The custom MaxSim kernel is 1.4–7.3× faster than NumPy and PyTorch (reranking on CPU). 3. My hybrid-search tool is SOTA on M2CRB and zero-shot SOTA on CoSQA. 4. My custom grep tool is 2.46x faster e2e than ripgrep and ranks hits in a specific way (inspired by Sainte-Laguë).

Here is the promo video I built with fframes and Opus 5.5: https://www.youtube.com/watch?v=lJzgXRQprs4 Would love to hear your opinions, Marko :)

Comments URL: [https://news.ycombinator.com/item?id=50326635](https://news.ycombinator.com/item?id=50326635)

Points: 2

── more in #ai-agents 4 stories · sorted by recency
── more on @sweet-search 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-sweet-search…] indexed:0 read:1min 2026-11-01 · —