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
HTTP 200 POST /sessions-jsonl/_search
{"_xerj":{"hints":[{"code":"lexical_on_semantic_text","reason":"`message_content` is `semantic_text`, but this query scored it with BM25 over the analysed text — the embedding written at ingest was NOT consulted, so these hits are lexical and a paraphrase sharing no words with the target will not find it. For meaning-based recall run the `semantic` query on `message_content`; to keep both signals, combine them with `hybrid`.","try":{"request":"POST /sessions-jsonl/_search","body":{"query":{"semantic":{"field":"message_content","query":"zstd","k":10}}}}}]},"took":0,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":2,"relation":"eq"},"max_score":0.22326522,"hits":[{"_index":"sessions-jsonl","_id":"0bc90d5801986321a2a65265910a99e9","_score":0.22326522,"_source":{"type":"user","timestamp":"2026-10-01T15:04:05.000Z","message_role":"user","message_content":"why did we decide to compress segments with zstd","ax_path":"session-short.jsonl"}},{"_index":"sessions-jsonl","_id":"299f58b464b2eec6ff298c6691c5f81d","_score":0.16178188,"_source":{"type":"assistant","timestamp":"2026-10-01T15:04:11.000Z","message_role":"assistant","message_content":"[{\"type\":\"text\",\"text\":\"We picked zstd because the bench showed a smaller segment than gzip at the same read latency.\"}]","ax_path":"session-short.jsonl"}}]}}