ToolsThe story, in brief

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

98% fewer tokens. That's what Semble delivers for code search in AI agents—and it just went open source.

Illustration of independent geometric mechanisms passing paper tasks along branching amber tracks.
AI agents and the coordination of work.AI illustration by KeyNews
The KeyNews take

Why it matters

As Claude Code and other AI agents scale on large codebases, token efficiency in retrieval becomes a competitive moat. Semble's open-source MCP server offers a drop-in solution that cuts token spend dramatically while maintaining retrieval quality, directly addressing a pain point for developers shipping agent-based workflows.

The key facts

8 to know
  1. 98% token reduction vs grep+read baseline

  2. 0.854 NDCG@10 retrieval quality; 99% of 137M transformer performance

  3. ~250ms repo indexing on CPU; ~1.5ms per query

  4. ~200x faster than transformer-based retrieval

  5. MCP server integration: Claude Code, Cursor, Codex, OpenCode

  6. Zero config: no API keys, no GPU, no external services

  7. Benchmark: 1,250 query/document pairs across 63 repos, 19 languages

  8. Open source release on GitHub + Model2Vec embeddings (potion-code-16M) on Hugging Face

Go to the source

Hacker Newsgithub.com

Publisher excerpt: 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…
Read original report
Back to today's editionMore tools news

Keep reading

Related stories

More from Tools