DocWiki: every answer cited to the page
DocWiki turns a pile of company documents into a wiki people can browse and agents can query. Every claim opens the page it came from, and every change its agent proposes waits for a person's approval.
Live Live demo · fictional corpus · open source
Follow a footnote
The live wiki is compiled from the invented documents of a small French building contractor: quotes, contracts, invoices, site meeting minutes, e-mails and scans. The wiki is in French, with an English mirror.
Every claim ends with a footnote. The footnote opens an evidence page: the cited page of the original document with the passage highlighted, or the exact spreadsheet rows, slide or e-mail lines.
A badge says what kind of evidence it is: a quote verified by code, a paraphrase, a table, OCR text or a generated description. To check one yourself, open any page of the live wiki and follow a footnote.
Compile once, cite every claim
A pipeline reads each document and writes the wiki: one page per source, pages for the people, companies and things they mention, and topic pages that bring several sources together. Before a new version goes online, quality gates check its links, citations and quotes.
When two documents disagree, or a revision replaces an earlier one, the wiki shows both with their citations instead of choosing silently.
People read the wiki as a website. Agents query the same version through an MCP server: a Researcher agent in Microsoft Foundry answers with numbered citations, and says “Not found in the wiki.” when no document answers. A coding agent can read it locally through MCP and Agent Skills.
A second agent, the Librarian, runs and repairs the imports. It never edits a page itself, and every import, recompile or decision it proposes waits for a person's approval.
Built on Azure Container Apps, Microsoft Foundry agents and models, MCP and Agent Skills. The documents in the demo are fictional.
Where it stops
- It is a demo and a proof of concept, not a production-ready product.
- The corpus is small and invented: about forty documents of a fictional building contractor. Larger corpora and other domains are untested.
- The agent does not answer every test question fully; the scoreboard in the repository gives the current score and lists the questions it missed.
- A footnote shows where a claim came from, not that the document behind it is right.
- To use it on your own documents, deploy it from the source with your own Azure resources.
- Personal open-source sample, not a Microsoft product.
Make the answer easy to check
An answer is only as useful as the time it saves checking it. That is why every claim in DocWiki opens the page it came from, and why it says “Not found in the wiki.” rather than guess. I would ask the same of any agent that answers from company documents.