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): one value-first opening paragraph, tech details moved down
xerj-orgc5af2856923a
diff --git a/README.md b/README.mdindex 85934b2eb..6cf70f4d9 100644--- a/README.md+++ b/README.md@@ -18,20 +18,14 @@[](https://xerj.org/docs/vectors.html)[](https://xerj.org/docs/vectors.html)-XERJ is a search engine for your code and data that an AI agent talks to over the-Elasticsearch API. Point it at a folder and it indexes the files into typed, queryable-indices. The agent then reads the exact passage it needs instead of pulling whole files-into its context window. It ships as one static binary, no JVM.--The use case it was built for is reference coding. Instead of re-deriving a solution, an-agent retrieves how a peer project already solved the problem and then writes code. 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 running it in day-to-day work report roughly 5x fewer tokens end to end+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([field reports](./user-feedback/11-reference-coding-field-reports/2026-08-11-token-savings-reports.md)).--Paste this to your agent and it installs XERJ, indexes the project, and sets up reference-coding:+Install it by pasting one prompt to your agent:```textInstall XERJ (docs: https://xerj.org/llms.txt), index this project's sources, and set up