Show HN: Semble – Code search for agents that uses 98% fewer tokens than grep
A token-efficient, fast, and accurate alternative to grep+read for AI agents (Claude Code, Cursor, Codex, OpenCode) when searching large codebases. It claims 98% fewer tokens than grep+read and 99% retrieval quality of a 137M-parameter transformer, while being ~200x faster. It is zero-config, requiring no API keys, GPU, or external services.
View Origin Link
Product Positioning & Context
AI Executive Synthesis
A token-efficient, fast, and accurate alternative to grep+read for AI agents (Claude Code, Cursor, Codex, OpenCode) when searching large codebases. It claims 98% fewer tokens than grep+read and 99% retrieval quality of a 137M-parameter transformer, while being ~200x faster. It is zero-config, requiring no API keys, GPU, or external services.
Semble addresses a critical operational bottleneck in AI agent development for code interaction. High token costs and slow performance of traditional methods like grep+read severely limit agent utility on large codebases. Semble's 98% token reduction and 200x speed improvement offer a significant cost and efficiency advantage, enabling more practical and scalable agent deployments. Its CPU-only, zero-config architecture lowers adoption barriers, making advanced code search accessible without specialized hardware or cloud dependencies. This innovation accelerates the development and adoption of AI-powered developer tools, shifting focus from raw model size to efficient, localized retrieval mechanisms. The market demands cost-effective, performant solutions for integrating AI into developer workflows, a demand Semble directly meets.
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 servicesInstall in Claude Code with:
claude mcp add semble -s user -- uvx --from "semble[mcp]" sembleOr check our README for other installation instructions, benchmarks, and methodology:Semble: https://github.com/MinishLab/sembleBenchmarks: https://github.com/MinishLab/semble/tree/main/benchmarksModel: https://huggingface.co/minishlab/potion-code-16MLet us know if you have any feedback or questions!
Model2Vec embeddings
potion-code-16M
BM25
RRF
code-aware signals
CPU
transformers
NDCG@10
Related Ecosystem & Alternatives
Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.
Deep-Dive FAQs
What is Semble – Code search for agents that uses 98% fewer tokens than grep?
Semble – Code search for agents that uses 98% fewer tokens than grep is analyzed by our AI as: A token-efficient, fast, and accurate alternative to grep+read for AI agents (Claude Code, Cursor, Codex, OpenCode) when searching large codebases. It claims 98% fewer tokens than grep+read and 99% retrieval quality of a 137M-parameter transformer, while being ~200x faster. It is zero-config, requiring no API keys, GPU, or external services.. It focuses on Semble addresses a critical operational bottleneck in AI agent development for code interaction. High token costs and slow performance of tradition...
Where did Semble – Code search for agents that uses 98% fewer tokens than grep originate?
Data for Semble – Code search for agents that uses 98% fewer tokens than grep was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was Semble – Code search for agents that uses 98% fewer tokens than grep publicly launched?
The initial public indexing or launch date for Semble – Code search for agents that uses 98% fewer tokens than grep within our tracked developer communities was recorded on May 18, 2026.
How popular is Semble – Code search for agents that uses 98% fewer tokens than grep?
Semble – Code search for agents that uses 98% fewer tokens than grep has achieved measurable traction, logging over 202 traction score and facilitating 50 recorded discussions or engagements.
Which technical categories define Semble – Code search for agents that uses 98% fewer tokens than grep?
Based on metadata extraction, Semble – Code search for agents that uses 98% fewer tokens than grep is categorized under topics such as: Model2Vec embeddings, potion-code-16M, BM25, RRF.
What are some commercial alternatives to Semble – Code search for agents that uses 98% fewer tokens than grep?
Our semantic intelligence engine identifies potential commercial alternatives in the SaaS space, such as Caveman, which offers overlapping value propositions.
Are there open-source alternatives related to Semble – Code search for agents that uses 98% fewer tokens than grep?
Yes, the GitHub ecosystem contains correlated projects. For example, a repository named JuliusBrussee/caveman shares highly similar architectural descriptions and topics.
How does the creator describe Semble – Code search for agents that uses 98% fewer tokens than grep?
The original author or development team describes the product as follows: "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 fall..."
Community Voice & Feedback
Discovery Source

Hacker News
Aggregated via automated community intelligence tracking.
Tech Stack Dependencies
No direct open-source NPM package mentions detected in the product documentation.
Media Tractions & Mentions
No mainstream media stories specifically mentioning this product name have been intercepted yet.
Deep Research & Science
No direct peer-reviewed scientific literature matched with this product's architecture.