frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Semble – Code search for agents that uses 98% fewer tokens than grep

https://github.com/MinishLab/semble
5•stephantul•1h ago
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.

So we built Semble. 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://github.com/MinishLab/semble

Benchmarks: https://github.com/MinishLab/semble/tree/main/benchmarks

Model: https://huggingface.co/minishlab/potion-code-16M

Let us know if you have any feedback or questions!

Uncle Bob: It's Over

https://old.reddit.com/r/vibecoding/comments/1srfqm0/uncle_bob_its_over/
1•lopespm•1m ago•0 comments

Show HN: Software Engineer to Novelist: Writing a Book Like Coding

https://frequal.com/forwriters/
1•TeaVMFan•4m ago•0 comments

Shell Is Just a Loop

https://douxx.blog/?p=15-your-shell-is-just-a-loop
1•dblog•5m ago•0 comments

Eliza effect at work: Avoiding emotional attachment to AI coworkers

https://www.ibm.com/think
1•thinkingemote•7m ago•0 comments

Google search treats the word "crumble" as a misspelling of cookie brand Crumbl

https://bsky.app/profile/cait.bsky.social/post/3mkxdtprzmk2e
1•davidgerard•9m ago•0 comments

When Is Nextcloud Overkill?

https://samueleamato.xyz/2026/05/03/you-dont-need-nextcloud
1•rd_wei•9m ago•0 comments

I built a Chrome extension that exposes product markups

https://chromewebstore.google.com/detail/sniff-it-shopping-assista/lhgpbkoaoigajoppckjeobgfafhkgjfn
1•sniffit•11m ago•0 comments

'The Iran war strengthened Ukraine. Could a ceasefire with Russia be closer?'

https://www.bbc.com/news/articles/cgjp7vpee03o
2•MilnerRoute•12m ago•0 comments

Tanker boarded south of Trelleborg – suspected violation of maritime law

https://www.kustbevakningen.se/en/more-news/tanker-boarded-south-of-trelleborg--suspected-violati...
1•madspindel•12m ago•0 comments

Ghost Operators: How Israeli Telecoms Were Exploited to Track Citizens Worldwide

https://www.haaretz.com/israel-news/security-aviation/2026-05-03/ty-article-magazine/ghost-operat...
1•miohtama•15m ago•0 comments

OSM-FR Panoramax server "only for testing if outside of France"

https://community.openstreetmap.org/t/osm-fr-panoramax-server-only-for-testing-if-outside-of-fran...
1•marklit•15m ago•0 comments

Can Investors Trust AI Sales Figures?

https://www.wsj.com/opinion/can-investors-trust-ai-sales-figures-c60c46bf
2•ericlamb89•17m ago•2 comments

Viewstamped Replication (1988) [pdf]

https://www.cs.princeton.edu/courses/archive/fall09/cos518/papers/viewstamped.pdf
1•tosh•17m ago•0 comments

DigiCert: Misissued Code Signing Certificates

https://bugzilla.mozilla.org/show_bug.cgi?id=2033170
1•baal80spam•18m ago•0 comments

Container Is Not a Sandbox

https://emirb.github.io/blog/microvm-2026/
2•xngbuilds•19m ago•0 comments

China became addicted to its tobacco monopoly

https://www.theexamination.org/articles/how-china-became-addicted-to-its-tobacco-monopoly
3•Teever•22m ago•0 comments

Spirit pilot gets overwhelming sendoff from rivals after final flight cancelled

https://www.theguardian.com/world/2026/may/03/spirit-pilot-send-off-from-southwest
1•cf100clunk•25m ago•0 comments

Screw You Realtek

https://www.growse.com/2026/05/02/screw-you-realtek.html
2•birdculture•27m ago•0 comments

On AI-Created Art: An Interview with Adam Clegg

https://micahblachman.beehiiv.com/p/on-ai-created-art-an-interview-with-adam-clegg
1•subdomain•27m ago•0 comments

Writing Better – Julian Shapiro

https://www.julian.com/guide/write/intro
1•eigenBasis•28m ago•0 comments

Looking for advice on reaching low-tech B2B users (craftsmen)

https://news.ycombinator.com/ask
1•FelixLepi•28m ago•1 comments

AI chatbot fraud: the 'gift card' subcription that may cost you dear

https://www.theguardian.com/money/2026/may/03/ai-claude-chatbot-gift-card-subcription-scam-myster...
1•Brajeshwar•28m ago•0 comments

Lines or Less: Test Case Minimization

https://matklad.github.io/2026/04/20/test-case-minimization.html
1•swq115•31m ago•0 comments

Looking for advice on reaching low-tech B2B users (craftsmen)

2•FelixLepi•31m ago•0 comments

Show HN: A 4-year-old "TurboQuant" implementation

https://github.com/amitport/EDEN-Distributed-Mean-Estimation
2•amitport•32m ago•1 comments

Hindu Perspectives on Free Will

https://worthypatterns.substack.com/p/the-soul-of-the-world
1•A-K•32m ago•0 comments

For thirty years I programmed with Phish on, every day

https://christophermeiklejohn.com/ai/personal/phish/flow/agents/2026/05/03/rift.html
20•azhenley•34m ago•4 comments

Ask HN: Is it possible to get hired as an African software engineer

3•vixalien•36m ago•1 comments

Year old Nepali and unemployed, any advice for me?

1•shivajikobardan•37m ago•0 comments

Real inbox deserves better Temp emails with full API access and webhooks

https://openinbox.io/
1•devnplay•37m ago•0 comments