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
docs(readme): reposition the opening around reference coding and token savings
xerj-orgd226e3c7a443
diff --git a/README.md b/README.mdindex 6cf70f4d9..cf54759ce 100644--- a/README.md+++ b/README.md@@ -18,14 +18,17 @@[](https://xerj.org/docs/vectors.html)[](https://xerj.org/docs/vectors.html)-XERJ makes an AI agent read the exact code it needs instead of grepping whole files into-its context window. Point it at a folder and your agent retrieves the precise passage, so-it can see how a peer project already solved a problem before writing its own. A controlled-study measured 2.7x fewer output tokens than a grep-driven agent at the same 16/16 solve-rate ([case study](https://xerj.org/case-studies/reference-coding.html)); people using it-day to day report roughly 5x fewer tokens end to end+XERJ is a community-trusted local AI search that indexes any folder automatically, so your+coding agent stops burning tokens reading files one by one and pulls the exact code it+needs instead. Reference coding is its main use case and the clearest win: point an agent+at a task and it downloads the open-source repos closest to it, indexes them, and reuses+how they solved the problem before writing its own code. In a controlled study that cut a+coding agent's output tokens by 2.7x at the same 16/16 solve rate+([case study](https://xerj.org/case-studies/reference-coding.html)), and people report+roughly 5x in everyday work([field reports](./user-feedback/11-reference-coding-field-reports/2026-08-11-token-savings-reports.md)).-Install it by pasting one prompt to your agent:+It is enough for a smaller, cheaper model to out-code a pricier one working from memory,+while you spend less time in fix loops. Try it now with a one-prompt install:```textInstall XERJ (docs: https://xerj.org/llms.txt), index this project's sources, and set up