Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
XERJ is a local-first search engine and MCP server for AI agents, shipped as one Rust binary with no JVM. Its README says autoindex sniffs a folder and builds typed indices for code, docs, logs, JSONL/CSV, PDFs, SQLite and other formats, with source files parsed through tree-sitter so code arrives with symbols and line numbers. Search covers BM25 full-text, kNN vector and hybrid queries behind an Elasticsearch-compatible REST API, so existing Elasticsearch clients can point at localhost:9200; the README reports that its conformance suite passes 1444 of 1454 cases (0 failed, 10 skipped) and notes that scroll is a bounded snapshot rather than a segment-walking cursor. The same binary runs as an MCP stdio server (xerj mcp) exposing 21 tools, including full-text, semantic, vector and hybrid search, definition lookup and a /_memory namespace API for agent long-term memory; the README lists 26 MCP clients and marks three of them as tested. The default embedder is lexical and offline, and neural embeddings are opt-in. Its headline use case is reference coding: in the project's own case study on code the model had not memorised (8 tasks, 4 languages, 16 runs per arm), a XERJ-driven agent used 9,982 output tokens against 26,477 for a grep-driven agent, with both solving 16/16. The project adds that this value is gated by memorisation and is neutral to harmful on popular public libraries the model already knows. The --insecure development flag turns off TLS and API-key auth so every caller becomes a superuser, which the README says is meant for one user on a dev machine. An optional rerank stage sends result text to TypeSafe's Jev service and stays off until a key is set. The code is released under Apache-2.0.