qmetrics.net

SAG Wiki

Local knowledge base with agent-ready search

SAG Wiki screenshot

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

Tags

Similar software

AFFiNE

Local-first workspace merging docs, whiteboards and databases with optional AI

AFFiNE is an open-source, local-first workspace that combines docs, an edgeless whiteboard canvas and databases, with optional AI assistance. It can be self-hosted with Docker and supports real-time collaboration.

★ 79.3k⟳ yesterdayMIT
Open Source Alternative to:CodaMiro+1

Outline

Collaborative team knowledge base for internal docs and wikis

Outline is a fast, markdown-friendly wiki for teams to store specs, support answers, meeting notes, and onboarding material. A hosted offering exists, and you can also run your own instance.

★ 41.4k⟳ todaySource-available

Foam

VS Code personal knowledge graph in Markdown

Foam extends VS Code into a personal knowledge system using wikilinks, backlinks, templates, and optional publishing from plain Git-backed Markdown.

★ 17.5k⟳ todayMIT

Alexandrie

Self-hosted offline-first Markdown knowledge workspace

Alexandrie is a self-hosted knowledge base with an extended Markdown editor, team workspaces, offline PWA use, and OIDC single sign-on.

★ 4k⟳ 19 days agoMIT
Open Source Alternative to:ConfluenceNotion+1

SwarmVault

Local-first LLM wiki and knowledge graph toolchain

SwarmVault ingests docs, code, and URLs into a markdown wiki, searchable graph, and agent context packs. It runs offline with optional local or cloud models.

★ 740⟳ 5 months agoMIT
Open Source Alternative to:Obsidian

Mermaid

Text-defined diagrams from Markdown-like syntax

Mermaid turns plain-text diagram definitions into flowcharts, sequence charts, Gantt charts, and many other diagram types. It renders in browsers, documentation tools, and GitHub Markdown.

★ 91.3k⟳ 5 days agoMIT