semble
活跃·★ 4.5k·MIT·更新于 2026-05-29
★ 代码助手★ RAG / 知识库
Semble 是一个为智能体(agents)构建的快速准确的代码搜索库。
Semble 是一个专为 AI 智能体设计的高性能代码搜索库,能够即时提供精确的代码片段。与基于 Transformer 的模型相比,它在索引和查询速度上显著更快,同时能达到 99% 的检索质量,并且完全在 CPU 上运行,无需外部依赖。
#智能体#code-search#向量嵌入#MCP 协议#MCP 服务器#MCP 服务器#模型上下文协议#retrieval
01
功能特性
01在 CPU 上实现快速性能(索引约 250 毫秒,查询约 1.5 毫秒)
02高准确性(NDCG@10 达 0.854),媲美 Transformer 模型
03支持索引本地路径和远程 Git 仓库
04可作为 MCP 服务器供各种 AI 智能体使用
05零配置,无需 API 密钥、GPU 或外部服务
02
兼容性
Claude Code
Claude 代码
已通过文档验证
Codex
Codex
已通过文档验证
OpenCode
OpenCode
已通过文档验证
Cursor
Cursor
已通过文档验证
03
快速开始
1
$ pip install semble
04
使用场景
↳通过快速准确的代码搜索能力增强 AI 智能体(如 Claude Code, Cursor, Codex)
↳根据自然语言或代码查询,在本地或远程代码库中搜索特定的代码片段
↳根据给定的文件路径和行号,查找语义相似的代码段
05
同类工具
相关搜索
评论
登录后发表评论
- SSkyler Brown2026年5月25日
Good for agents that need to find relevant code across many files quickly
- LLogan Brown2026年5月5日
The accuracy on semantic code queries is better than pure keyword search approaches
- RRowan Zhang2026年3月11日
Fast and accurate code search for agents is exactly what large codebase navigation needs
- CCasey Rivera2026年3月9日
Used for codebase exploration in large repos, the speed makes real-time agent queries viable