Synthadoc
Compile raw documents into an auditable, self-maintaining local Markdown wiki instead of query-time RAG.
- Source repo
- axoviq-ai/synthadoc
- Stars
- ★ 2k
- Last updated
- today
- FARS reviewed
- Nov 24, 2026
- License
- AGPL-3.0
- Primary language
- Python
- FA score
- 62/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformClaude Code · Claude.ai · OpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A solo researcher or freelancer needs to turn papers, web pages, and interview notes into an offline-readable, citable personal knowledge base.
- Not a fit if
- Teams that cannot send source text to any external LLM and lack a GPU for local models.
- Teams that want a fully managed SaaS with no local installation or operations.
- Website
- axoviq.com/resources/synthadoc ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-24
- Source review
- 62/100 · Some gaps
What does this agent do, and when should you use it?
Synthadoc is an open-source LLM knowledge compilation engine that synthesizes raw documents into a persistent, structured wiki at ingest time. It reads PDFs, spreadsheets, presentations, web pages, images, videos, Word files, TXT files, and AI session transcripts, then builds cross-references, detects contradictions, flags orphan pages, and attaches ^[file:L-L] citations to claims. Outputs are local Markdown files with YAML frontmatter, readable and editable in Obsidian or any wiki-compatible ecosystem. The product exposes a CLI, REST API, web UI, Obsidian plugin, and a 12-tool MCP server, and ships as the Docker image chenp/synthadoc. Operational features include an immutable audit.db, cost thresholds, a five-state lifecycle, content snapshots with rollback, a resumable job queue, and nine agentic maintenance workflows with confirm-before-write gates. It is licensed AGPL-3.0 and positioned as a transparent, self-managed alternative to traditional RAG.
Synthadoc reads source documents such as PDF, DOCX, PPTX, XLSX/CSV, Markdown, TXT, images, web URLs, YouTube transcripts, and .jsonl AI session transcripts, then calls an LLM to compile them into structured wiki pages. During ingest it generates [[wikilinks]], builds a weighted knowledge graph, detects conflicts, marks pages as status: contradicted, and lets lint report orphan pages and broken citations. Pages are stored as plain Markdown with YAML frontmatter, and claims use ^[file:L-L] citations to source file lines. Every ingest, query, lifecycle change, and cost event is written to an immutable audit.db, with commands such as synthadoc lint run, synthadoc query, and synthadoc workflow. The web UI, Obsidian plugin, REST API, and MCP server share the same wiki data; in Docker, one container serves one wiki, with the HTTP API, web UI, and MCP sharing the same port.
- A solo researcher or freelancer needs to turn papers, web pages, and interview notes into an offline-readable, citable personal knowledge base.
- A 3–20 person startup or department wants to aggregate scattered documents, meeting notes, and internal material into an internal wiki that detects contradictions and maintains itself.
- A compliance-sensitive enterprise needs source documents and compiled knowledge to stay local while retaining an audit trail of every ingest and cost event.
- An Obsidian user wants raw material compiled into a Markdown knowledge base with source citations, rollback, and graph browsing.
- A team with multiple topic wikis needs cross-wiki queries that fan out one question across registered wikis and label where each answer came from.
- A cost-sensitive individual or small team wants to run knowledge compilation on free Gemini Flash or local Ollama while using caching and thresholds to control spend.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install "synthadoc[vectors]"docker run --rm -v ~/wikis:/wikis chenp/synthadoc:latest synthadoc install history-of-computing --target /wikis --demodocker run -d --name history-of-computing -v ~/wikis/history-of-computing:/wiki -p 7070:7070 --env-file ~/wikis/.env chenp/synthadoc:latest
- Ports
7070- Environment variables
GEMINI_API_KEYMINIMAX_API_KEY- Config files
~/wikis/.env- Runtime
- Python 3.11+
- Install notes cover
- Docker
How do you install or deploy this agent?
Runtime: Python 3.11+ for the pip path, or a container runtime for Docker. At least one LLM API key is required unless you use Claude Code, Opencode, or local Ollama.
Install from PyPI and verify:
pip install "synthadoc[vectors]"
synthadoc --versionSet a provider key; Gemini Flash is the default free tier:
export GEMINI_API_KEY=AIza...Create a wiki and start the web UI:
synthadoc install history-of-computing --target ~/wikis --demo
synthadoc webFor Docker, create the wiki and run the server on port 7070:
mkdir -p ~/wikis
docker run --rm -v ~/wikis:/wikis chenp/synthadoc:latest synthadoc install history-of-computing --target /wikis --demo
docker run -d --name history-of-computing -v ~/wikis/history-of-computing:/wiki -p 7070:7070 --env-file ~/wikis/.env chenp/synthadoc:latestFor the Docker path, put MINIMAX_API_KEY=... or another provider key in ~/wikis/.env, not on the command line.
How do you use this agent?
Once the wiki server is running, open the web UI or use the CLI directly.
Ask a question through the CLI:
synthadoc query "Who was Alan Turing?"Run lint and wait for results:
synthadoc lint run --waitStart a maintenance workflow:
synthadoc workflowWith Docker, run the same commands inside the container:
docker exec history-of-computing synthadoc query "Who was Alan Turing?"
docker exec history-of-computing synthadoc lint run --waitThe web UI is at http://localhost:7070/app. MCP clients can connect over stdio, SSE, or HTTP; the Obsidian plugin is installed automatically for new wikis.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Compiles at ingest rather than retrieving at query time: contradiction detection, cross-references, knowledge graph, and citations are built when documents enter the wiki, not stitched together per query.
- Auditable and reversible: an immutable
audit.dbrecords source hashes, token counts, and timestamps; lifecycle snapshots let users browse page history and roll back. - Built-in maintenance workflows with confirmation gates: nine agentic workflows cover contradictions, orphans, broken citations, content health, stale-page re-ingest, wikilink repair, and scaffold regeneration, previewing diffs before writes and supporting rollback.
- Traceable claims: every claim carries a
^[file:L-L]citation, Obsidian includes a Source Viewer, and an on-demand citation-faithfulness audit checks whether cited lines support the claim. - Flexible deployment and model choice: supports Gemini, Groq, Qwen, MiniMax, DeepSeek, Anthropic, OpenAI, Ollama, Kimi, Claude Code, and Opencode, with CLI, REST API, web UI, Obsidian plugin, MCP server, and Docker image.
- Requires an external LLM or local model: most paths need at least one API key and pay per token; free tiers have rate and quota limits.
- Local Ollama is only practical with a GPU: the README states CPU inference is impractically slow for real wiki queries, so users without a GPU should use a free cloud model.
- Citation quality depends on the model: pages without citations trigger a model-compatibility warning, and the README recommends Gemini 2.5 Flash or higher for reliable citation annotation.
- Self-hosted operations cost: users must manage wiki directories, ports, API keys, Docker containers, or Python environments; it is not a zero-ops managed SaaS.
- AGPL-3.0 license: organizations that offer a modified version as a network service have source-disclosure obligations, so license compatibility must be checked before adoption.
How does this agent compare with similar options?
The README explicitly compares Synthadoc with typical RAG, NotebookLM, and Notion AI. Typical RAG retrieves document chunks at query time; Synthadoc compiles knowledge at ingest, which enables built-in contradiction detection, a five-state lifecycle, source citations, and an offline Markdown artifact. NotebookLM and Notion AI are cloud products; Synthadoc emphasizes local-first self-hosting, plain Markdown output, and an auditable audit.db.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Synthadoc This agent | 62 · Some gaps | CLIFree + model costs | ★ 2k | today | Python | Claude Code · Claude.ai · OpenAI API · Claude API |
| LLM Wiki | 53 · Major gaps | CLIFree + model costs | ★ 1.8k | 15d ago | Python | Codex · Claude Code · Claude.ai |
| YouTube Fetcher to Markdown | 81 · Good | Agent plugin / skillFree | ★ 547 | 1mo ago | Python | Codex · Claude Code |
| SwarmVault | 75 · Good | CLIFree + model costs | ★ 739 | 4mo ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The README asserts localhost-only binding, file access confined to the wiki root, a pre-LLM source sanitizer, plus SECURITY.md and CI security_scan.py/CodeQL jobs; however the packet contains no server-binding, path-validation or sanitizer implementation, so least_privilege and sensitive_data_handling score 1 (claimed, not shown). The 'preview diff, wait for confirmation, then write' maintenance flow is likewise README-only, so user_confirmation is 1. Audit logging, token/cost events, local-first posture and external LLM calls are described in reasonable detail, giving data_flow_transparency and external_effects 2. Backup/restore and workflow rollback are documented, rollback 2. SPDX headers, SKILL.md author/license fields and per-claim ^[file:L-L] citations support source_attribution at 2. Dependencies are mostly lower-bound only with no lockfile in evidence, so dependency_security is 1.
Version numbers agree across README, dynamic pyproject version, VERSION and the bump script, and CI enforces README-pypi.md and badge sync, so self_consistency is 2. Dependencies are common PyPI packages, with a vectors extra and a skills-standalone install job, giving dependency_availability 2. The CLI warns clearly on unregistered wikis, ImageSkill raises ValueError without a provider, and tests cover error returns, so failure_messages is 2; no unified error-code or recovery-guidance scheme is visible, so not 3.
The README's 'Who Is It For?' table separates solo, small-team and enterprise scenarios with concrete uses, so audience_and_scenarios is 3. SKILL.md files state trigger extensions, intent words and requires, giving capability_boundaries and trigger_precision 2 each; detect() positive/negative tests support trigger precision but cover only some actions. CI spans three OSes and multiple Python versions, with Docker and an Obsidian plugin, so environment_fit is 2; boundaries for resource-constrained or fully offline/no-LLM use are not spelled out.
The README has a table of contents, sections and doc links, information_architecture 2. Install notes are split between README and per-skill Setup blocks, install_notes 2. Skills carry version fields and CLI subcommands are stably named, naming_stability 2. Examples and standalone usage are plentiful, examples_and_faq 2. Known limitations appear only in passing (citation quality depends on model, model-compatibility warning), so known_limitations is 1. The full AGPL-3.0 LICENSE text plus SPDX tags in pyproject and sources justify license 3. VERSION, bump script and releases link give versioning_changelog 2. SECURITY.md commits to 48-hour acknowledgement and 14-day fixes, maintenance_responsibility 2; the unverified publisher identity was not used to add points.
Output is plain Markdown with YAML frontmatter, openable in Obsidian or any editor, with citations and export, so output_usability is 2. The 'compile at ingest + contradiction detection + audit' positioning is clear, marginal_value 2, though the competitor comparison table is self-asserted and unverified in-packet. Cost controls (soft/hard thresholds, 3-layer cache, small-model guidance) and the 'about 4 cents for 17 pages' figure support cost_benefit at 2; that figure has no in-packet benchmark backing, so not 3.
Per-claim ^[file:L-L] citations and audit.db records of source hashes and tokens give claim_traceability 2. Several README claims are corroborated by pyproject, CI workflows, SECURITY.md and test files, so cross_source_corroboration is 2. However the README mixes marketing comparisons (RAG/NotebookLM/Notion AI capability tables) with measured figures without clearly separating 'measured' from 'design goal', so fact_inference_separation is 1.
- Security claims (localhost binding, path confinement, source sanitizer, confirm-before-write) lack matching implementation code in the packet; verify before deployment.
- Dependencies are mostly lower-bound only with no lockfile in evidence; pin versions and audit the supply chain.
- Cost, retrieval and graph performance figures and competitor comparisons are self-reported with no reproducible benchmark in the packet.
- Publisher identity is not verified by the FollowAgents registry; maintenance commitments rest only on SECURITY.md text.
- This is a static source review with no commands or tests executed; confidence is low.
FAQ
Does Synthadoc require a paid service?
Do source documents leave my machine?
Can I recover after a failed ingest or lint?
lifecycle rollback restores a prior version, saving the current body first so the rollback is undoable.Which models and deployment modes are supported?
Is Synthadoc open source?
Is Synthadoc safe to use?
Is Synthadoc still maintained?
Who makes Synthadoc?
What is Synthadoc's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.