Marker-Inc-Korea/AutoRAG
Local-first RAG librarian with hybrid file search and passage citations
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
AutoRAG 2.0 is a TypeScript librarian built on the Pi agent framework. The @autorag/librarian package depends on @earendil-works/pi-agent-core, @earendil-works/pi-ai, @earendil-works/pi-tui, and @modelcontextprotocol/server, and exposes autorag, autorag-mcp, and librarian. The same engine serves the terminal and CLI, a TypeScript API, and the separately distributed Dazzi desktop app. AutoRAG Lite provides a retrieval-only MCP path for clients that already run their own agent.
Configured sources are indexed in place rather than imported into a new document store. Parsing and file-watching dependencies include pdfjs-dist, xlsx, kordoc, mailparser, tesseract.js, and @parcel/watcher. MinSync provisions and runs the default embedding model independently of the answering model. Keyword and semantic results are reranked before retrieved passages are used for cited answers. This separation lets a team adopt retrieval without handing control of answer generation to AutoRAG.
Key Capabilities & Differentiators
The search surface spans local files, locally synced cloud-drive folders, GitHub Gists, photos, and coding-agent histories through the separate wombat datasource. Queries can be scoped to selected files, folders, or links. The default semantic index uses MinSync's local Qwen3-Embedding-0.6B with 1,024-dimensional vectors. Answer generation can use the hosted Dazzi Models plan or a user-supplied provider key; system credential storage keeps tokens and keys out of configuration files.
Dazzi adds features that should not be mistaken for capabilities of every engine interface. Its Quick Look covers Markdown, code, PDF, audio, video, Office, and HWP/HWPX, with local HWP rendering via rhwp. It also presents dupey-based duplicate groups and version history. Folder-triggered automations and scheduled reindexing are desktop workflow features; integrations that only need retrieval can stay on the CLI or Lite MCP path.
Trade-offs & Limitations
Compared with NotebookLM's managed notebook workflow, AutoRAG is a better architectural fit when existing folders are the source of truth and the same retrieval needs to serve an MCP client, a CLI script, or an application. The cost is local operation: someone must select and maintain datasource scope, check index health, and ensure cloud-drive content has synced. The engine is Apache-2.0, but the separate Dazzi desktop application uses FSL-1.1-MIT, so desktop redistribution and service plans need a separate license review.
Local embeddings keep the default embedding step on-device, but that does not make the full question-answering path offline. A configured remote minSync.embedder changes where content is embedded, and a hosted answer model introduces a separate data path to review. Choose Lite if search alone meets the requirement. Also distinguish this release line from the Python RAG AutoML optimizer in legacy/: that tool remains in maintenance mode, but pipeline selection is not the purpose of the TypeScript librarian.
Hardware & Deployment Guide
The engine runs on macOS, Linux, and Windows, requires Node.js 24 or newer, and has a minimum supported system memory of 8 GB. Install the engine, choose the folders or datasources to index, and verify with a health check and an actual search. Use autorag tui for interactive sessions or register autorag-mcp for a retrieval client. The separately distributed Dazzi desktop app is available for macOS and Windows. A local Lite search does not require an answering model; full question answering requires a separately selected model path.
Size the installation using a representative corpus: time the initial build and incremental updates separately, and test OCR or image-heavy folders before committing to a larger rollout. v2.16.1 added document version diffs, chronological histories, and exact-match grep over parsed datasource mirrors and read-only sidecar archives. v2.16.2 added incremental indexing for standalone images with multimodal embeddings and OCR/VLM mirrors. v2.16.3 clarified Dazzi authentication for custom endpoints and setup behavior for existing cloudFolders configurations.
autorag and librarian executables.wombat datasource.Individuals and small teams that want to search existing folders and synced drives, trace answers to source passages, and reuse retrieval through MCP, CLI, or TypeScript.
You want a fully managed notebook with no local indexing to operate, or need the legacy Python tool for comparing and optimizing RAG pipelines.
Quick Start & Installation
Install and configure AutoRAG Agent on this computer by following https://raw.githubusercontent.com/Marker-Inc-Korea/AutoRAG/main/skills/autorag-setup/SKILL.md Ask me which folders to index and how to sign in to a model before you change anything. When it is set up, run a health check and a test search, and show me the result. Never move, rename, edit, or delete my documents while setting up.
Comparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| AutoRAG ★ | 6.5k | +482 | TypeScript | Apache-2.0 | Local-first RAG librarian with hybrid file search and passage citations |
| LightRAG | 41k | +110 | Python | MIT | Graph-backed RAG for cross-document retrieval and multimodal indexing |
| open-notebook | 42.4k | +164 | TypeScript | MIT | Self-hosted RAG notebooks for source-cited research, with local or cloud models |
| txtai | 13.8k | +33 | Python | Apache-2.0 | A Python embeddings database for vector, SQL, and graph retrieval in self-hosted |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Marker-Inc-Korea/AutoRAG.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about AutoRAG
How do I give a coding agent access to local documents without configuring a model in AutoRAG?
autorag-mcp. Configure the folders to index, build the index, and verify retrieval with a real query from the MCP client. Lite provides model-free search; the calling agent can use the results to compose an answer. If you want AutoRAG itself to run the question-answering session, use the full librarian and configure a model.What hardware should I budget for local indexing?
Can a company self-host AutoRAG or redistribute it with Dazzi?
When is AutoRAG a better fit than NotebookLM?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy