# xerj

> XERJ is the new way for AI to search data. Its autoindex capability activates agents to know your data without the token waste of grep (1974 tool). One command…

- Type: agent or tool
- Field: Data & Databases
- Repository: https://github.com/xerj-org/xerj
- GitHub stars: 21371
- Licence: Apache-2.0
- Language: Rust
- Last push: 2026-11-25
- Page: https://imutechz.in/agents/xerj

## What it is
XERJ is an AI-native search engine packaged as a single Rust binary. It combines BM25, vector and hybrid search in one query, and adds an autoindex capability so agents can find data without grep-style token waste. It also offers agent memory and native MCP support for tools like Claude Code and Cursor.

## Features
- BM25, kNN and hybrid search in one query
- Zero-config autoindex for agent data access
- Agent memory via / memory endpoint
- MCP-native integration
- Single Rust binary, no JVM
- Elasticsearch-compatible API (ES-YAML conformance)

## Best for
- Agents searching local data without token-heavy grep
- Replacing Elasticsearch without a JVM
- Giving coding agents persistent memory
- Hybrid keyword and vector search over documents

## Pros
- Single binary with no JVM required
- Default embedder is lexical and works offline
- Neural embedder is opt-in
- Reports ES-YAML conformance of 1448/1458

## Cons
- Neural embedder is opt-in and downloads about 90 MB
- Default embedder is lexical, not neural

Tags: search-engine, ai-agents, rust, hybrid-search, bm25, vector-search, mcp, elasticsearch-alternative
