God, Love, News, Event, Entertainment, Amebo,..... All about Bringing out the best in you...
Show HN: Semble – Code search for agents that uses 98% fewer tokens than grep https://ift.tt/NKTPWhq
Show HN: Semble – Code search for agents that uses 98% fewer tokens than grep Hey HN! We (Stephan and Thomas) recently open-sourced Semble. We kept running into the same problem while using Claude Code on large codebases: when the agent can't find something directly, it falls back to grep, reading full files or launching subagents. This uses a lot of tokens, and often still misses the relevant code. There are existing tools for this, but they were either too slow to index on demand, needed API keys, or had poor retrieval quality. Semble is our solution for this. It combines static Model2Vec embeddings (using our latest static model: potion-code-16M) with BM25, fused via RRF and reranked with code-aware signals. Everything runs on CPU since there's no transformers involved. On our benchmark of ~1250 query/document pairs across 63 repos and 19 languages, it uses 98% fewer tokens than grep+read and reaches 99% of the retrieval quality of a 137M-parameter code-trained transformer, while being ~200x faster. Main features: - Token-efficient: 98% fewer tokens than grep+read - Fast: ~250ms to index a typical repo on our benchmark, ~1.5ms per query on CPU (very large repos may take longer) - Accurate: 0.854 NDCG@10, 99% of the best transformer setup we tested - MCP server: drop-in for Claude Code, Cursor, Codex, OpenCode - Zero config: no API keys, no GPU, no external services Install in Claude Code with:
claude mcp add semble -s user -- uvx --from "semble[mcp]" semble Or check our README for other installation instructions, benchmarks, and methodology: Semble: https://ift.tt/5vgnPEH Benchmarks: https://ift.tt/u4Q3aSh Model: https://ift.tt/Buat7S1 Let us know if you have any feedback or questions! https://ift.tt/5vgnPEH May 17, 2026 at 05:37AM
Subscribe to:
Post Comments (Atom)
Show HN: Forje Studio – data-driven design and motion, entirely client-side https://ift.tt/EHvqmMJ
Show HN: Forje Studio – data-driven design and motion, entirely client-side https://ift.tt/wWfj6XD July 23, 2026 at 10:36PM
-
submitted by /u/Dull_Tonight [link] [comments] source https://www.reddit.com/r/worldnews/comments/pehy48/housing_secretary_robert_je...
-
Show HN: Lindra – generate browser agents to automate any website Hi HN, We’re one month into building Lindra, a platform that turns any web...
-
Show HN: High-precision date/time in SQLite https://ift.tt/hEvedVC August 12, 2024 at 03:47AM
No comments:
Post a Comment