
AutoRAG
Local-first AI librarian for files, messengers, and cloud drives
Replaces Ragie Ai

Who it's for
AutoRAG indexes Slack, Discord, Mail, Google Drive, Dropbox, Obsidian, and local files in one search layer, returning cited passages instead of unverifiable summaries. Useful when you need to find a decision made in a team chat three months ago alongside the document that led to it.
Your work is entirely within one application (Notion-only or Google Workspace-only). A tool-native search is simpler and faster for a single-source workflow.
The AutoRAG Lite MCP server plugs into any MCP-capable coding agent and gives it search over your indexed files during a session. Install by pasting the autorag-lite-setup skill prompt into your agent; it asks before touching anything and verifies with a real search after setup.
You need search over a large shared document corpus for a production application, not personal files. A managed RAG API like Ragie AI is a better fit when you are building a customer-facing app that needs serverless ingestion and scaling.
The local embedding model means no file contents leave the machine during indexing. Encrypted key storage and no mandatory cloud component make it suitable for teams with confidentiality requirements that rule out sending documents to a managed cloud indexer.
Your organization requires centralized access controls, audit logging, or multi-user permissions enforced by a server. AutoRAG is a personal and small-team tool; enterprise document management needs a different architecture.
The problem
Your files live in dozens of apps: a document on Google Drive, a decision in Slack, a code snippet in GitHub, a note in Obsidian. Searching across them means opening each one separately, remembering keywords, and getting no citation for where an answer came from. Cloud-based search tools index your content on their infrastructure, raising privacy concerns and creating ongoing costs. The retrieval quality problem compounds this. Standard keyword search misses documents that use different terms for the same concept. Vector-only search loses exact matches. Most tools return a summary with no trail back to the original passage, so you cannot verify the answer or find what you need to read next. Teams that try to build their own retrieval layer with RAG pipelines spend weeks on infrastructure instead of on their actual work.
How it works
Combines keyword matching with semantic (meaning-based) search and a reranker to surface documents that match what you mean even when your words differ from the content. Every answer links back to the specific passage in the source file, so retrieval is verifiable rather than opaque.
Indexes local files alongside Slack, Discord, Telegram, WhatsApp, KakaoTalk, Mail, GitHub, Obsidian, Google Drive, iCloud Drive, OneDrive, Dropbox, and past coding-agent sessions (Claude Code, Codex, and 18 others). Data stays in each app's own store; AutoRAG reads it without copying it to a central server.
Semantic indexing runs on MinSync's local Qwen3-Embedding-0.6B engine (1024 dimensions), which AutoRAG provisions and runs on your machine. Your file contents are never sent to a remote embedder unless you explicitly configure a remote minSync.embedder.
Ships an AutoRAG Lite MCP server so coding agents (Claude Code, Codex, Cursor) can query your indexed files during a session. Install via the autorag-lite-setup skill by pasting a single prompt into your agent; it asks before touching anything.
Stacks proposal-final, proposal-v3, and proposal (1) copies into one row, tagged Latest, Similar, or Identical using the dupey library. Keeps the file list readable when the same document exists in multiple versions across folders.
Ships as the Dazzi desktop app for Mac and Windows (file browsing plus AI search in one window), a terminal UI via autorag tui, a CLI, a TypeScript API, and a messenger integration for Telegram and Discord. The same retrieval engine runs in every surface.
Features
- Hybrid Search with Reranker
- Multi-Source Indexing
- Local Semantic Embeddings
- MCP Server for Coding Agents
- Duplicate Detection
- Desktop App and Terminal UI
How to install
Install AutoRAG using the npm package on Node.js 24 or later.
npm install @autorag/librarianRecommended for this setup
Strengths
- Apache-2.0 with no mandatory cloud component: AutoRAG's Apache-2.0 license lets you run it on your own infrastructure, modify it, and use it commercially without restriction. Unlike managed RAG services that require sending your documents to a third party, the default configuration keeps embeddings and search entirely on your machine.
- Local embedding with no remote calls by default: Semantic indexing uses MinSync's local Qwen3-Embedding-0.6B model provisioned on your machine. File contents stay offline unless you explicitly configure a remote embedder, which matters for teams handling confidential documents or operating in air-gapped environments.
- Multi-surface delivery from one engine: The same librarian engine runs as a desktop app (Dazzi), terminal UI, CLI, Telegram and Discord messenger bot, MCP server, and TypeScript API. You can query your indexed files from whichever surface fits the moment without re-indexing.
- Actively maintained since January 2024: The repository's last push was on 2026-11-16, with 515 forks and 5,899 GitHub stars. New feature work targets AutoRAG Agent 2.0, while the legacy Python RAG AutoML tool receives bug fixes and continues on PyPI in maintenance mode. Bug reports and feature discussions are tracked openly in GitHub Issues and Discussions.
Trade-offs
- Node.js 24 and Bun 1.2 required: The TypeScript engine requires Node.js 24 or later and Bun 1.2 or later. Teams on older Node.js environments need to upgrade their runtime before using AutoRAG, which may conflict with other project dependencies that have not yet moved to Node.js 24.
- Desktop app (Dazzi) is Fair Source, not Apache-2.0: The Dazzi desktop app (NomaDamas/AutoRAG-app) is licensed under FSL-1.1-MIT (Fair Source), not Apache-2.0. FSL-1.1 permits running it yourself, internal team use, and modification, but restricts offering it as a competing managed service. The core AutoRAG Agent library in this repository remains Apache-2.0.
- Name clash with legacy AutoRAG AutoML tool: AutoRAG 2.0 is a personal librarian agent, while the original AutoRAG was a Python-based RAG pipeline AutoML tool. The legacy tool remains in the repository's legacy/ directory and continues on PyPI via pip install AutoRAG in maintenance mode. Teams searching for the AutoML pipeline optimizer may land on this repository expecting different functionality.
Tech stack
FAQ
The core AutoRAG Agent library and CLI are Apache-2.0 licensed and free to run on your own machine. The Dazzi desktop app is licensed under FSL-1.1-MIT (Fair Source), which permits personal and team use but restricts offering it as a competing managed service. A hosted Dazzi Models plan is available for the LLM inference layer if you do not want to supply your own API key.
By default, no. Semantic indexing runs on a local Qwen3-Embedding-0.6B model that AutoRAG provisions on your machine. File contents are not sent to a remote embedder unless you explicitly configure a remote minSync.embedder. Sign-in tokens and API keys are stored in the system's encrypted store, not in a config file.
The repository now hosts AutoRAG Agent 2.0, a personal librarian for files, messengers, and cloud drives. The original AutoRAG was a Python-based RAG AutoML tool for finding optimal RAG pipelines for datasets. The legacy tool is in maintenance mode in the legacy/ directory and continues to receive bug fixes and PyPI releases via pip install AutoRAG. New feature development is focused entirely on AutoRAG Agent 2.0.
AutoRAG indexes local files, Slack, Discord, Telegram, WhatsApp, KakaoTalk, Mail, GitHub (and GitHub Gists), Obsidian, Google Drive, iCloud Drive, OneDrive, Dropbox, browser history, RSS, and past coding-agent sessions from Claude Code, Codex, and others via the wombat integration. Photos are also supported. Cloud drives are searched through their synced folders. The full list is in docs/datasource-skills.md in the repository.
The quickest path is the agent-assisted setup: paste the autorag-setup skill prompt (in the repository's skills/ folder) into Claude Code, Codex, or Cursor and the agent handles installation, folder selection, and health check. For manual setup, the npm package is @autorag/librarian (Node.js 24+ required). The Dazzi desktop app is available for Mac and Windows at dazziapp.com without a command-line setup.