ODSP2160 · Pre-recorded

Make agent-generated documents consistent and auditable

  • 5 min
  • Catalogue level: (200) Intermediate
  • Our depth rating: 200
  • Worth watching: 1/3

Speakers: Ivan Tadic

Watch on Microsoft’s site from 01:04

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

Ivan Tadic, CTO of Doctavian, argues that LLM output variability is unacceptable for contracts, invoices and quotes, and proposes separating reasoning from rendering. The architecture has three layers: a reasoning layer (Claude), a contract layer via Doctavian's MCP server, and a deterministic rendering engine, with determinism guaranteed only at render time (same data and template give the same output). A short demo shows Claude discovering a Word quote template, asking for missing fields, rendering a PDF with exact legal text and creating an envelope for an eIDAS-compliant signature with a tamper-evident audit trail. The session is a short vendor presentation with no Microsoft announcements and no Microsoft 365 integration shown.

Best for: Architects designing agent workflows that must produce legally binding, template-based documents with signatures and audit trails.

Session timeline by chapter

New material starts at 01:04. After a one-minute problem statement, the three-layer MCP architecture and the deterministic render and signing lifecycle start at 01:04.

Where to skip: Skip to 01:04 for the architecture; the demo at 01:59–04:04 is the core; the intro and closing call to action can be skipped. Note that the demo uses Claude, not Copilot.

Chapters (4)

  1. 00:00 Recap Depth 200 · Novelty 1/3

    Why LLM variability fails for contracts, invoices and quotes

    Ivan Tadic, CTO and co-founder of Doctavian, introduces the session on giving AI agents the ability to generate documents and trigger legally binding signatures. He argues that agents orchestrate intent well but do not produce identical outputs, which is acceptable for chat but disqualifying for contracts, invoices or quotes. Traditional document generation requires complex coding, while letting an LLM write from scratch leads to hallucinations, inconsistencies and legal and audit liability. The proposed principle is to separate reasoning from rendering: the model maps the request to structured parameters and a deterministic engine creates the document.

  2. 01:04 Deep dive Depth 300 · Novelty 2/3

    Three-layer architecture via MCP server and eIDAS-compliant signing

    The architecture has three layers: a reasoning layer (Claude), a contract layer through Doctavian's MCP server, and a rendering engine said to be trusted by VodafoneZiggo and DEKRA. The lifecycle has four steps – connecting, discovering templates, interpreting the request and rendering – with determinism enforced only at the render stage so earlier steps never touch the final bytes. The speaker clarifies that the conversation itself is not deterministic; the guarantee is the same output for the same data and template. Determinism is extended to signing with eIDAS-compliant signatures and an auditable, time-stamped trail for long-term validation.

  3. 01:59 Demo Depth 200 · Novelty 2/3

    Demo: Claude drafts an Acme quote via Doctavian MCP and sends it for signature

    A Word quote template is shown with merge fields for customer name, address and email, expressions for issue date and validity, a repeating line-item table and legal terms and conditions. In Claude, the speaker requests a professional services quote for Acme in plain language; Claude calls the Doctavian MCP server, lists templates, selects the quote template, reads required fields and asks for missing data (sender, VAT handling, whether to keep terms). The engine renders the PDF with the exact legal text, and on request Claude creates a draft signing envelope, asking for confirmation before sending. The customer reviews and signs in Doctavian, and the envelope is sealed with an advanced seal backed by a qualified certificate and a tamper-evident audit trail.

  4. 04:04 Closing Depth 200 · Novelty 1/3

    Why MCP, strict agent–engine boundaries and call to action

    The speaker explains that the Model Context Protocol was chosen because it gives agents a typed, discoverable interface to the same governed API. He argues that a deterministic baseline is essential for autonomous agents to act unsupervised and that the goal is strict boundaries so LLMs never have to write documents themselves. The session closes with an invitation to register for a free developer account or contact hello@doctavian.com.

Announcements (0)

No specific announcement was made in this session.

Demos (1)

  • 01:59 Not stated Doctavian MCP server with Claude

    A user creates a professional services quote for a customer from a chat with Claude, rendered deterministically from a legal-approved template, and sends it for an eIDAS-compliant signature without leaving the chat.

    Steps (8)
    1. Prepare a quote template in Word with merge fields (customer name, address, email), date and validity expressions, a repeating line-item table and an optional terms and conditions section.
    2. In Claude, ask in plain language for a professional services quote for Acme Ltd with contact, address, email, two line items, 21% VAT and 30-day validity, and ask it to report any missing data.
    3. Claude connects to the Doctavian MCP server, lists available templates, picks the quote template and reads all required fields.
    4. Answer Claude's clarifying questions (sender name, VAT handling, customer name field, whether to include terms and conditions).
    5. Review the generated PDF quote preview with line items, VAT, total and legal terms.
    6. Ask Claude to send the quote for signature; it creates a draft envelope using the signer's email from the conversation and asks for confirmation.
    7. Confirm sending; the signer receives an email, clicks Review and sign, accepts the electronic record and signature disclosure, fills signature, name and date fields and completes the envelope.
    8. The completed envelope is sealed with an advanced seal backed by a qualified certificate and an audit trail.

    Prerequisites: A Doctavian account with its MCP server connected to Claude, and a quote template with merge fields and document-generation tags.

Watch on Microsoft’s site: ODSP2160