AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
================================================================================
AGENT GATE — RETRIEVAL regime (prose/code corpus)
================================================================================
question needle base xerj base tok xerj tok base s xerj s
certificate MISS OK 43 78 0.00 0.01
stemming MISS OK 44 78 0.00 0.00
promote MISS MISS 15 79 0.00 0.01
fan-out OK OK 158 75 0.00 0.00
at-least-once MISS OK 22 80 0.00 0.00
vault OK OK 38 78 0.00 0.00
idempotency_key OK OK 69 79 0.00 0.00
correct: baseline 3/7 xerj 6/7
-- tokens over jointly-correct tasks only --
baseline 265 tok xerj 232 tok -> XERJ uses 1.14x FEWER tokens
-- corpus composition --
53.1 KB total; 49.0 KB searchable prose/code (92.3%)
This is the regime where retrieval savings appear: grep's candidate
set grows with the corpus; ranked search returns one passage.