7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

XERJ

Open source

Local, Elasticsearch-compatible search engine written in Rust that automatically indexes code, docs, logs, and PDFs so AI coding agents can retrieve exactly what they need.

Open-source alternative to

xerj.org
XERJ homepage screenshot
GitHub stars
2.6k
Last commit
today
Repository age
3 months
Version
v1.0.0-rc.80
Licence
Apache-2.0
Self-hosted
Yes

About XERJ

XERJ is a local AI search tool written in Rust that indexes any folder automatically. The idea is that a coding agent can query the index instead of reading files one by one, which cuts the amount of text it has to process. The same index supports search, retrieval-augmented generation, security audits, and agent memory. It is released under the Apache-2.0 license and is still at a release-candidate stage.

It handles code, documents, logs, and PDFs and offers keyword, hybrid, semantic, vector, and graph-style search. It exposes an Elasticsearch-compatible API, so existing clients and tools can connect without changes. Its headline use case is reference coding, where an agent finds relevant open-source repositories, indexes them, and reuses how they solved similar problems.

The project reports token savings from its own studies and field reports, which are vendor claims rather than independent results. It can be installed with a one-prompt command or run manually, with Windows and other platforms noted in the README. It suits developers using AI coding agents and teams that need fast local search over large folders.

Key features

  • Automatic indexing of any folder
  • Search over code, docs, logs, and PDFs
  • Hybrid, semantic, and vector search
  • Elasticsearch-compatible API
  • Agent memory and RAG support
  • Runs locally, written in Rust

Good fit for

  • →Giving coding agents fast project search
  • →Local RAG over documents and logs
Built with
Rust
Tags
search
ai-agents
rag
elasticsearch-compatible
vector-search
rust
local-first
indexing

XERJ: questions and answers

What is XERJ used for?
XERJ is a local, Elasticsearch-compatible search engine written in Rust that automatically indexes code, docs, logs, and PDFs so AI coding agents can retrieve exactly what they need. It is a good fit for giving coding agents fast project search, and local RAG over documents and logs.
Is XERJ open source?
Yes. XERJ is open source under the Apache-2.0 licence. Its source code is on GitHub at xerj-org/xerj and is written mainly in Rust.
Is XERJ free?
Yes. XERJ is open source, so the software itself is free to use.
Can I self-host XERJ?
Yes. XERJ can be self-hosted on your own server or infrastructure.
What is XERJ an alternative to?
XERJ is an open-source alternative to Elastic. Other open-source alternatives to Elastic include Vespa, RediSearch and SeekStorm.
Is XERJ actively maintained?
Yes. The most recent commit to XERJ was on 2 October 2026, and the latest release is v1.0.0-rc.80, published on 1 October 2026. The project has 2.6k stars on GitHub.

Open-source alternatives to XERJ

See all

SaaS alternatives to XERJ

See all