axoviq-ai/synthadoc

Synthadoc: An open-source LLM knowledge compilation engine that turns raw documents into structured, local-first wikis. A transparent, human-readable alternative to traditional RAG, which can be self-managed and self-improved without the use of any tools.

What it solves

Traditional knowledge tools like RAG retrieve and summarize documents at query time, which can silently blend contradictions, leave claims untraceable, and lock knowledge inside proprietary systems. Synthadoc inverts that approach: it compiles knowledge when you ingest documents, synthesizing them into a persistent, structured wiki that is cross-referenced, contradiction-checked, and source-cited. The result is a readable, editable artifact that works even without the tool running.

How it works

You feed Synthadoc raw sources — PDFs, spreadsheets, PPTs, web pages, images, videos, Word files, TXTs, and AI session transcripts (.jsonl). An LLM synthesizes them into Markdown wiki pages with automatic [[wikilinks]] between related content. Built-in agents detect contradictions, flag orphan pages, and run an adversarial second-LLM pass to catch overstated claims. Every claim carries inline citations like ^[file:L-L] pointing to the exact source lines. The wiki goes through a 5-state lifecycle (draft → active → contradicted/stale → archived) with auto-transitions and an immutable event log. Outputs are plain Markdown + YAML frontmatter, compatible with Obsidian and any wiki ecosystem. Synthadoc can run via CLI, web UI, Obsidian plugin, or MCP (Model Context Protocol), and supports many LLM providers including free tiers and local models.

Who it's for

Synthadoc scales from a single researcher to enterprise teams. Solo users can run it free on Gemini Flash or a local Ollama model. Small teams get a centralized, high-integrity internal knowledge base that auto-resolves contradictions. Enterprises benefit from compliance-friendly local-first deployment, per-department wikis on separate ports, an audit trail for every ingest and cost event, a hook system for CI/CD, and OpenTelemetry integration.

Highlights

  • Ingest-time synthesis: sources are compiled into the wiki once, not re-summarized at query time.
  • Automatic contradiction detection and resolution with full conflict history.
  • Claim-level provenance: every claim linked to its source lines via ^[file:L-L] citations.
  • Knowledge graph with Louvain clustering, turning thousands of pages into a clickable overview.
  • 5-state page lifecycle with auto-transitions and immutable event log.
  • Local-first: plain Markdown, no cloud lock-in, offline-readable in any editor.
  • 3-layer caching reduces repeat ingest costs to near zero.
  • Pre-LLM sanitizer strips hidden characters and instruction-override attacks.
  • Multiple interfaces: CLI, Web UI, Obsidian plugin, and MCP tools.

Related

  • Project
  • Project
  • Project
  • Project
  • Project