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
{
"intent": "hyb-sem-leg",
"arm": "B",
"tool": "xerj_hybrid_search",
"form": "hybrid",
"target_index": "xc-map-gate-v-b1790790750-hnswlib-docs",
"intent_text": "lexical + semantic fusion for brute-force baselines",
"guess_field": "content",
"control": null,
"actions": [
"hybrid-legs:map-semantic-field"
],
"request": {
"query": {
"hybrid": {
"queries": [
{
"query": {
"match": {
"code": "brute force baseline"
}
}
},
{
"query": {
"semantic": {
"field": "body",
"query": "brute force search baseline comparison"
}
}
}
],
"fusion": "rrf"
}
},
"size": 5
},
"http_status": 200,
"fields_used": [
"code",
"body"
],
"error_reason": "",
"unknown_field_400": false,
"failure_kind": [],
"hits": 10,
"zero_hit_unknown_field_hint": false,
"hint_reason": "",
"map_shows": [
"title",
"language",
"code",
"kind",
"line",
"name",
"path",
"body",
"defs",
"symbol_count",
"section",
"end_line",
"start_line",
"text"
]
}