ken
Active·★ 20·MIT·Updated 2026-05-29
★ Trending★ Code Assistant★ RAG / Knowledge Base
Fast hybrid code search for agents. Pure Go, drop-in MCP-compatible with semble.
Ken is a pure Go port of semble, providing fast hybrid code search for agents with drop-in MCP compatibility. It offers a single static binary distribution, approximately 44x fewer tokens than grep+Read at recall@10, and supports indexing source code and documentation. The retrieval algorithm is a verbatim port of semble's hybrid BM25 + Model2Vec approach.
#agents#bm25#code-search#embeddings#go#golang#mcp#mcp-server
01
Features
01Pure Go, no cgo; single static binary with free cross-compilation
02Drop-in MCP-compatible with semble (same tool schemas and output format)
03Verbatim port of semble's hybrid BM25 + Model2Vec retrieval algorithm
04Measured ~44x fewer tokens than grep+Read at recall@10 on agent queries
05Fast cold start (~10–20ms for small indexes)
02
Compatibility
macOS
macOS
Verified via docs
Linux
Linux
Verified via docs
03
Quick start
1
$ go install github.com/townsendmerino/ken/cmd/ken@latest
2
$ go install github.com/townsendmerino/ken/cmd/ken-mcp@latest
3
$ ken download-model
04
Use cases
↳Agent code search: quickly find relevant code chunks across large codebases
↳Embedded-corpus distribution: ship documentation as a single static binary with zero infrastructure
↳Database schema indexing: index live Postgres/SQLite/MySQL schemas for agent context
05
Alternatives
Brave Search MCP★ 86.5k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
FunASR★ 16.6k
Industrial-grade speech recognition toolkit: 170x realtime, 50+ languages, speaker diarization, emotion detection, streaming, and OpenAI-compatible API.
agents-best-practices★ 1.1k
Provider-neutral Agent Skill for Codex, Claude Code, and agentic harness design.
Related searches
Comments
Log in to leave a comment
- EEmerson DavisMay 25, 2026
Good for agents that need to search large codebases quickly.
- MMarlowe MartinezMay 12, 2026
Drop-in MCP compatibility means it works with existing agent setups.
- CCameron ClarkMar 16, 2026
Hybrid search combines keyword and semantic for better precision and recall.
- QQuinn AndersonMar 4, 2026
Fast hybrid code search in pure Go — fast enough for real-time agent queries.