minishlab/semble

Fast and Accurate Code Search for Agents. Uses 99% fewer tokens than grep+read

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 22 minutes ago
Added to GitGenius on September 11th, 2026
Created on April 6th, 2026
Open Issues & Pull Requests: 2 (+0)
GitHub issues: Enabled
Number of forks: 265
Total Stargazers: 6,058 (+0)
Total Subscribers: 18 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.9 hours
Mean response time: 10.4 hours
90th percentile: 24.0 hours
Tracked items: 99

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 11% of issues opened in the past year have been closed. Three people close 82% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 2
New in 7 days: 1
Closed in 7 days: 2
Avg open age: 25 days
Stale 30+ days: 1
Stale 90+ days: 0

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (3)
  • bug (2)
  • agent slop (1)
  • duplicate (1)

Detailed Description

Semble is a code search library built for agents that retrieves exact code snippets using semantic search with dramatically reduced token consumption compared to traditional grep-and-read approaches.

The tool solves the problem of agents wasting tokens by reading entire files or using inefficient search methods. It uses embeddings-based retrieval to index codebases and return only the relevant code snippets in response to natural language queries. The indexing and search operations run entirely on CPU without requiring API keys, GPU resources, or external services. Semble achieves retrieval quality comparable to code-specialized transformer models while indexing significantly faster and using substantially fewer tokens per query.

Semble suits teams integrating coding agents into their workflows who want to reduce token costs and improve search accuracy. It works with any MCP-compatible agent including Claude Code, Cursor, Codex, and OpenCode. The tool can be deployed as an MCP server that agents call directly as a tool, added as CLI instructions in agent configuration files, or run as a dedicated sub-agent. It handles both local repository paths and remote git URLs. An interactive installer detects installed coding agents and configures the appropriate integration method, with options for manual setup if needed.

The project maintains active development with regular updates and comprehensive test coverage. The codebase demonstrates attention to performance optimization, with benchmarks showing substantial speed advantages over transformer-based alternatives. Documentation includes detailed installation guides, CLI usage instructions, and integration examples for multiple agent platforms. The tool is distributed as a Python package with straightforward installation via standard package managers.