{"repo":"johunsang/semble_rs","free":true,"listed":false,"github":"https://github.com/johunsang/semble_rs","clone":"git clone https://github.com/johunsang/semble_rs.git","description":"Fast, AI-agent-native code search in Rust — hybrid BM25 + semantic, Tree-sitter AST chunking, dependency & impact analysis. Drop-in replacement for grep/cat/read/ls in Claude Code, Codex, Cursor, Aider, OpenHands.","language":"Rust","stars":213,"topics":["ai-agent","bm25","claude-code","cli","code-search","codex","coding-assistant","cursor","dependency-graph","developer-tools"],"license":null,"category":"ai-agents","readme_excerpt":"semble rs Fast and Accurate Code Search for Agents — in Rust Replaces grep / cat / read / ls and compresses build & CI output. Up to -99% tokens. Quickstart • Search • Tree • Digest • Deps / Impact • How it works • Benchmarks semble rs is a Rust port and superset of MinishLab/semble built for AI coding agents. It returns the exact code chunks an agent needs, prints a token-cheap codebase tree instead of ls -R , and compresses 3 MB CI logs into 35 KB. One single binary, no daemon, no API keys, no GPU. Hybrid BM25 + Model2Vec static embeddings with code-aware reranking, plus a dependency graph, AST chunking, and a digest pipeline for build / test / CI output. Quickstart The binary lands at /.cargo/bin/semble rs . On first run, the default embedding model minishlab/potion-code-16M (\\ 60 MB) is downloaded from HuggingFace. For agent integration (Claude Code, Codex, Cursor), see Agent integration. Main Features - Fast : indexes the local repo (22 files) in \\ 150 ms, \\ 10 s on 1,600 files. Static embedder — no transformer forward pass at query time. - Token-efficient : tree collapses ls -R by 4×–747× ; --outline is -47% vs full output; digest reaches -98.9% on real GitHub Actions logs. - Hybrid retrieval : BM25 + Model2Vec embeddings fused with RRF, then reranked with definition / identifier-stem / file-coherence boosts and noise penalties. - Dependency graph : deps / impact show what a file imports, defines, and what changes if you touch it. Optional Graphviz --dot output. - Build","default_branch":null,"files":null,"tree":[],"storefront":"/r/johunsang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/johunsang/semble_rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}