EveryDev.ai
Subscribe
Home
Tools

3,891+ 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. raggy
    raggy icon

    raggy

    Retrieval-Augmented Generation

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

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under the MIT License. Clone, use, modify, and distribute freely.

    Engagement

    Available On

    CLI
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Retrieval-Augmented GenerationLocal InferenceCommand Line Assistants

    Alternatives

    doc7LocalGPTSIE: Superlinked Inference Engine
    Developer
    Paul KnyshPaul Knysh builds open-source developer tools focused on loc…

    Listed Sep 2026

    About raggy

    raggy is an open-source, MIT-licensed CLI tool built by Paul Knysh that brings Retrieval-Augmented Generation to local document collections. It runs embedding generation and vector storage fully locally using Ollama and ChromaDB, while answer generation can be handled either by a local LLM or via remote API (OpenAI, Anthropic, or Google Gemini). The project is written in Python and hosted on GitHub.

    What It Is

    raggy is a local-first RAG pipeline tool that lets users query their own documents from the command line and receive grounded answers with citations, source locations, and relevance scores. It supports a wide range of document formats — PDFs, Word documents, PowerPoint files, plain text, Markdown, HTML, and images (via OCR) — and manages its own hybrid database automatically without requiring manual setup beyond a config file.

    How the Pipeline Works

    raggy implements a multi-stage retrieval and generation pipeline:

    • Hybrid retrieval: Combines dense vector search (ChromaDB embeddings) and lexical BM25 search (bm25s), merged via reciprocal rank fusion. The hybrid_alpha parameter controls the split between the two arms.
    • Cross-encoder reranking: A locally-run ONNX cross-encoder model (e.g., cross-encoder/ms-marco-MiniLM-L6-v2) scores query-chunk pairs together for sharper relevance ranking.
    • Score threshold filtering: Chunks below a configurable relevance threshold are dropped before generation, preventing low-quality context from polluting answers.
    • Generation: Surviving chunks are injected into a configurable system prompt and sent to the chosen LLM (local via Ollama or remote via API key).

    Database Mechanics and Incremental Indexing

    raggy manages its own on-disk database using ChromaDB for vector storage and bm25s for the lexical index. On first run it indexes all source files, records a manifest.yaml with file hashes, chunk parameters, and embedding model details. On subsequent runs it performs incremental updates — only re-embedding files that have changed — unless core parameters like chunk size or embedding model change, which triggers a full rebuild. The BM25 index is always rebuilt after any update, but since it reads from already-stored Chroma chunks, no additional embedding calls are needed.

    Supported Formats and OCR

    raggy handles documents, text files, web pages, and images out of the box:

    • Documents: .pdf, .docx, .pptx
    • Text: .txt, .md, .markdown
    • Web: .html, .htm
    • Images (OCR): .png, .jpg, .jpeg, .bmp

    Scanned documents and image files are processed automatically via OCR, requiring no manual pre-processing.

    Setup Path and Configuration

    raggy requires Python 3.10+, Ollama (for local embeddings and optional local LLM), and either uv or pipx for installation. The recommended install path is cloning the repo and running an editable install. All runtime behavior is controlled through a single config.yaml file covering sources, database location, embedding model, chunk parameters, LLM provider and model, retrieval budget, hybrid alpha, reranker model, and system prompt. The project also ships with a demo dataset and an evaluation harness (eval/run_eval.py) that computes retrieval and generation metrics against sample documents.

    raggy - 1

    Community Discussions

    Be the first to start a conversation about raggy

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

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source under the MIT License. Clone, use, modify, and distribute freely.

    • Full CLI tool
    • Hybrid RAG pipeline
    • Local embedding and LLM support
    • Remote LLM API support
    • OCR document processing

    Capabilities

    Key Features

    • Hybrid vector + BM25 retrieval with reciprocal rank fusion
    • Local embedding generation via Ollama
    • Cross-encoder reranking with ONNX runtime
    • Relevance score threshold filtering
    • Incremental document indexing with SHA-256 file hashing
    • OCR support for images and scanned documents
    • Multi-format document support (PDF, DOCX, PPTX, TXT, MD, HTML, images)
    • Local LLM generation via Ollama or remote via OpenAI/Anthropic/Google APIs
    • CLI interface with citations, source locations, and relevance scores
    • Programmatic Python API
    • Configurable system prompt with context injection
    • Built-in evaluation harness
    • Fully local-first operation

    Integrations

    LangChain
    ChromaDB
    Ollama
    bm25s
    OpenAI API
    Anthropic API
    Google Gemini API
    Hugging Face cross-encoder models
    ONNX Runtime
    uv
    pipx
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

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

    Developer

    Paul Knysh

    Paul Knysh builds open-source developer tools focused on local-first AI workflows. The raggy project demonstrates expertise in RAG pipeline design, combining LangChain, ChromaDB, and Ollama for fully local document retrieval and generation. The project is MIT-licensed and actively maintained on GitHub.

    Read more about Paul Knysh
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    doc7 icon

    doc7

    A CLI tool that converts PDFs, Office files, scans, screenshots, charts, and diagrams into AI-ready Markdown using any OpenAI-compatible multimodal model.

    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.

    SIE: Superlinked Inference Engine icon

    SIE: Superlinked Inference Engine

    Open-source inference server that runs 100+ AI models (embeddings, rerankers, OCR, LLMs) on your own infrastructure via a single OpenAI-compatible API.

    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.

    122 tools

    Local Inference

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

    192 tools

    Command Line Assistants

    AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

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