EveryDev.ai
Subscribe
Home
Tools

4,072+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2782
  • Coding1973
  • Infrastructure825
  • Projects603
  • Marketing598
  • Research520
  • Analytics468
  • Design462
  • MCP419
  • Testing346
  • Security323
  • Data305
  • Integration224
  • Prompts220
  • Communication210
  • Extensions196
  • Learning179
  • Voice175
  • Commerce160
  • DevOps135
  • Web95
  • Finance31
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Xtriever
    Xtriever icon

    Xtriever

    Retrieval-Augmented Generation

    A hybrid retrieval engine for RAG that runs fully on-device — on iPhones, Android phones, and laptops — with no server or network required, written in Rust.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open source under the Apache License 2.0. Build from source; not yet published to package registries.

    Engagement

    Available On

    Windows
    macOS
    Linux
    Android
    iOS

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Retrieval-Augmented GenerationLocal InferenceAI Development Libraries

    Alternatives

    raggyMorphik CoreLocalGPT
    Developer
    mirthmirth is an independent developer building Xtriever, an on-d…

    Listed Sep 2026

    About Xtriever

    Xtriever is an open-source hybrid retrieval engine for retrieval-augmented generation (RAG), written in Rust and designed to run entirely on the device — no server, no network connection required. It supports iPhones, Android phones, and laptops, and exposes the same engine through Rust, Python, Swift, and Kotlin surfaces. The project is licensed under Apache 2.0 and is available on GitHub.

    What It Is

    Xtriever combines lexical and dense search into a four-stage pipeline: BM25 lexical search (via tantivy), dense vector search (all-MiniLM-L6-v2 embeddings at 384 dimensions, quantized to int8), reciprocal rank fusion of the two result lists, and cross-encoder re-ranking (ms-marco-MiniLM-L-6-v2). An optional fifth stage — a learned-to-rank (LTR) ranker — is planned but not yet implemented; the xtriever-ltr crate is currently a placeholder. The two default models are eight-bit GGUF artifacts totaling 51.5 MB, running entirely on the CPU.

    On-Device Architecture

    The engine is built around the constraint that everything must fit and run on a mobile device without a network call:

    • Indexes and models can be memory-mapped read-only, and an index can open in place inside a read-only app bundle.
    • On an iPhone 16e searching all of Simple English Wikipedia (~428,000 passages, 585 MB index), peak memory stays at 335 MB — under the project's self-imposed 600 MB ceiling.
    • Median fused-list latency on that device is 0.20 s; re-ranking adds 1.21 s (dominated by the cross-encoder's per-candidate forward passes).
    • The same index on a 2021 MacBook Pro (M1 Pro) via Python takes 0.14 s fused and 0.99 s re-ranked.
    • Android results match the host bit-for-bit on everything except the cross-encoder, whose scores are within 7e-6 of the host's.

    Retrieval Quality

    The README documents nDCG@10 on three BEIR datasets using the project's own evaluation harness:

    ConfigurationSciFactNFCorpusFiQAMean
    BM25 alone0.6860.3230.2500.420
    Dense alone0.6460.3150.3690.444
    BM25 + dense, fused0.7150.3540.3700.480
    Fused + re-ranked (default)0.7220.3620.3900.491
    With sparse expansion0.7220.3580.4070.495

    An optional sparse expansion stage using opensearch-neural-sparse-encoding-doc-v3-distill helps corpora where questions are worded differently from their answers, and is off by default.

    Multi-Language Surfaces and Demos

    The FFI layer is generated by Mozilla's uniffi from a single Rust crate, so Python, Swift, and Kotlin bindings expose identical operations and records with no retrieval logic of their own:

    • Rust: HybridIndex API in crates/xtriever-pipeline
    • Python: wheel built with maturin
    • Swift: XCFramework with an async XtrieverIndex, distributed as a Swift package
    • Kotlin: Gradle library module for 64-bit ARM Android 8.0+

    Four demo applications ship with the repository: a minimal Python demo (under 80 lines), a command-line Python demo over Simple English Wikipedia, a SwiftUI iOS app, and a Jetpack Compose Android app — all searching the same ~240,000-article Wikipedia corpus offline.

    Current Status: Version 0.1.0, Not Yet Published

    The README explicitly states: "Status: 0.1.0, not published." The engine builds from the repository, but nothing is yet on crates.io, PyPI, Swift Package Index, or Maven. The repository was created in September 2026 and last pushed on September 24, 2026. CI runs on Linux, macOS, and Windows. The wasm32 build target is a known gap, tracked but not yet resolved. Each feature goes through a structured spec-plan-implement cycle, with 27 completed spec directories committed under specs/.

    Xtriever - 1

    Community Discussions

    Be the first to start a conversation about Xtriever

    Share your experience with Xtriever, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open source under the Apache License 2.0. Build from source; not yet published to package registries.

    • Full hybrid retrieval pipeline (BM25 + dense + fusion + re-ranking)
    • Rust, Python, Swift, and Kotlin bindings
    • On-device inference with no server required
    • BEIR evaluation harness
    • Four demo applications

    Capabilities

    Key Features

    • Hybrid BM25 + dense vector search with reciprocal rank fusion
    • Cross-encoder re-ranking (ms-marco-MiniLM-L-6-v2)
    • Fully on-device: no server or network required
    • Runs on iPhone, Android, and laptop
    • Memory-mapped indexes and models for low footprint
    • int8-quantized embeddings (all-MiniLM-L6-v2, 384 dimensions)
    • Optional sparse lexical expansion via OpenSearch neural sparse encoder
    • Rust, Python, Swift, and Kotlin bindings via uniffi
    • Graceful degradation: returns previous stage results on error or timeout
    • Deterministic results: same index, query, and config produce identical hits
    • Per-hit score explanations and stage reports
    • SHA-256 and size verification for all models
    • BEIR evaluation harness included
    • Four demo apps: minimal Python, CLI Wikipedia, iOS SwiftUI, Android Jetpack Compose
    • Apache 2.0 open-source license

    Integrations

    tantivy (BM25 lexical search)
    candle (Hugging Face, in-process model inference)
    uniffi (Mozilla, cross-language FFI)
    maturin (Python wheel build)
    all-MiniLM-L6-v2 (sentence-transformers)
    ms-marco-MiniLM-L-6-v2 (cross-encoder)
    opensearch-neural-sparse-encoding-doc-v3-distill
    cargo-nextest
    cargo-deny
    XcodeGen (iOS)
    cargo-ndk (Android)
    Simple English Wikipedia
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Xtriever and help others make informed decisions.

    Developer

    mirth

    mirth is an independent developer building Xtriever, an on-device hybrid RAG retrieval engine written in Rust. The project targets mobile and laptop deployment without any server dependency, exposing a unified engine across Rust, Python, Swift, and Kotlin. Development follows a rigorous spec-driven process with measurement-backed quality gates and architecture decision records.

    Read more about mirth
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    raggy icon

    raggy

    A lightweight CLI tool for Retrieval-Augmented Generation (RAG) over local documents using LangChain, Chroma, and Ollama with hybrid vector + BM25 retrieval.

    Morphik Core icon

    Morphik Core

    Morphik Core is a source-available multimodal retrieval engine that lets developers ingest, search, and query unstructured data including PDFs, images, and videos for AI applications.

    LocalGPT icon

    LocalGPT

    A fully private, on-premise document intelligence platform that lets you chat with your documents using local AI models, with no data ever leaving your machine.

    Browse all tools

    Related Topics

    Retrieval-Augmented Generation

    RAG Systems that enhance LLM outputs by retrieving relevant information from external knowledge bases, combining the power of generative AI with information retrieval for more accurate and contextual responses.

    128 tools

    Local Inference

    Tools and platforms for running AI inference locally without cloud dependence.

    215 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    328 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions