← Engineering notes
Multi-agent systems · Advisory note

When money is involved, keep the orchestrator deterministic

How to structure a multi-agent review pipeline so every specialist agent produces verifiable evidence, a critic catches contradictions, missing evidence never defaults to an approval, and your auditors get a repeatable trail. Illustrated with insurance claims.

For: CTOs, heads of operations, claims/finance leadersRelated engagement: Agent MVP, AI Opportunity Sprint

Why naive multi-agent designs fail audit

Reviewing insurance claims, loan applications or vendor invoices by hand is slow and inconsistent, while rigid rules engines brittlely reject anything outside their template. Most real-world submissions arrive with messy, partial evidence: an illegible attachment, a mismatched total or an unexplained gap.

Teams naturally turn to a multi-agent architecture, but first builds are often just three LLM prompts running in parallel with vague roles, no schema for what counts as evidence, and another LLM improvising which agent to call next. Once real money is paid out on that loop, compliance will ask how the decision was reached, and no one will be able to replay it.

What first multi-agent builds get wrong

Four architectural shortcuts show up repeatedly in early multi-agent prototypes, and each one creates an immediate audit failure.

PRACTICEWHAT IT HIDESCONSEQUENCE
Asking a single prompt to “assess the claim”Reasoning and evidence extraction are tangled togetherDecisions cannot be explained or defended
Parallel specialist agents with no criticContradictions between documents and policy go unchallengedBad claims get waved through
Using an LLM as the central orchestratorRouting, retries and stopping rules vary from run to runUnpredictable token spend and a process an auditor cannot replay
No explicit quorum ruleAn agent timeout or missing document is treated as “no objection”Payouts approved on missing evidence

Walkthrough: one claim, end to end

A windscreen replacement claim lands in the queue. The repair invoice states 48,000, the submitted claim form asks for 54,000, and the policy number in the PDF header does not match the body text. A document worker extracts the three fields and logs both discrepancies as structured evidence without rendering a verdict. In parallel, a policy worker confirms active windscreen cover and reports the deductible, while a fraud worker queries historical claims and flags a second windscreen claim on the same vehicle within ninety days.

Next, a critic agent inspects all three structured reports, spots the unresolved 6,000 invoice mismatch, and requests a single high-resolution re-extraction from the document worker. The retry confirms the numbers still conflict. At that point, the orchestrator (written in plain Python, not run by an LLM) applies the quorum rule: an unresolved contradiction blocks automated approval and routes the file to a human claims adjuster with all three evidence reports and the critic’s summary attached. Every step is recorded in an append-only log, and no model ever improvised the control flow.

Give models the evidence work; keep control flow in code

A production multi-agent workflow assigns narrow, contract-bound jobs to specialist models while keeping routing, retries and final verdicts in deterministic code.

  1. Define strict output contracts for specialist workers. Each worker returns structured evidence and citations within explicit boundaries (for example, “report claim frequency facts; never infer fraud from frequency alone”).
  2. Route every tool call through a governed gateway. Enforce per-worker read permissions and log every data access centrally using the Model Context Protocol (MCP).
  3. Add a dedicated critic stage. The critic compares specialist outputs, flags contradictions or missing fields, and is permitted to trigger at most one targeted retry.
  4. Write the orchestrator in deterministic code. Ordinary application code dispatches workers, caps retries and evaluates the final decision table so execution is 100% reproducible.
  5. Enforce a fail-safe quorum rule. When evidence is incomplete or workers contradict each other, the state machine defaults to human review or denial, never to an automated approval.
  6. Record an append-only audit trail per case. Store every worker payload, critic note and orchestrator transition in a format compliance can inspect directly.
  7. Maintain a fast human-review branch. Give human reviewers the pre-assembled dossier and highlighted contradictions for high-value or contested cases.

Our recommendation

If the component deciding which agent runs next and when to approve a payout is itself an LLM, you cannot promise your auditors a repeatable process. Let models extract and cross-check the evidence, and write the orchestrator in plain code.