SAG Wiki indexes local documents for fast search and cited Q&A without LLM calls during indexing. Desktop apps, a CLI, and optional browser UI share one service.
Overview
SAG Wiki is a lightweight knowledge base for people and coding agents. Users add folders of documents, notes, and code; originals stay on disk while a local index enables word search, semantic retrieval, and answers that link back to passages.
Indexing uses the SAG2 method without embeddings or LLM calls for ingest, with documented rough throughput on the order of hundreds of milliseconds per million characters for text. PDF, Office, EPUB, Markdown, and HTML are supported; OCR and media transcription are optional add-ons downloaded separately.
The desktop app targets macOS and Windows with a signed macOS build. A Node-distributed CLI works on macOS, Windows, and Linux and can run without the GUI while sharing settings when both are installed. On Linux, sag api web exposes the UI in a browser from a local HTTP service.
Deep retrieval and chat require configured decision and answer models with provider API keys; quick search stays local. Agent skills install for Claude Code, Codex, and OpenCode. Connectors can import Notion, Feishu, GitHub, RSS, and other sources from settings.
Key features
- Local folder indexing
- SAG2 retrieval without embeddings
- Cited Q&A with source jump
- Desktop app for macOS and Windows
- CLI and agent Skill install
- Browser UI via local API on Linux
- PDF and Office conversion
- External source importers
Use cases
- Personal document search
- Agent access to project knowledge
- Traceable research Q&A
- Offline-first note corpora
- Team wiki without cloud hosting