Deterministic governance layer improves large language model workflows reliability
Maat: Independent Deterministic Contract-Based Governance for Multi-Agent LLM Workflows
Software EngineeringArtificial IntelligenceMultiagent Systems
Summary
Large language model systems involve multiple agents working in sequence, but errors by one agent can spread to others. The authors introduce Maat, a system that uses strict rules to check the handoff between agents without relying on another language model. They tested it on several workflows and found it reduced errors and costs in many cases, but also produced some false alarms. The study shows this approach can help catch errors that follow explicit rules but isn’t perfect and needs careful setup and evaluation.
What this means in practice
- •For software development teams: Improve automated multi-agent coding workflows by validating handoffs between LLM agents using explicit contracts to reduce error propagation and execution cost.
- •For enterprise ai operations teams: Add a deterministic governance layer to multi-agent LLM systems to catch rule-based contract defects and prevent erroneous data from cascading in business workflows.
Authors
Uliana Elina
Abstract
Large-language-model multi-agent systems (LLM-MAS) introduce a characteristic reliability problem: an error produced by one agent can be accepted as context by downstream agents and propagate across the workflow. Many proposed safeguards rely on learned or LLM-based judges whose verdicts are themselves probabilistic; we ask whether a deterministic layer can instead stop contract-detectable handoff defects. We present Maat, a runtime governance layer that validates agent-to-agent handoffs against a versioned workflow contract, or anchor, with no language model in the validation or scoring path. We evaluate it in six controlled domain workflows (6-15 agents, 522 trials) with injected data-level defects and a deterministic seven-check rubric. Version 1 reported gains in all six workflows (2.9-26.5%). A post-publication audit found that three benchmark scorers credited any early halt as a prevented defect. On paired trials where the governed run completed or halted on a finding attributable to a verified defect, the rubric score changes by +7.7% to +29.1% in five workflows and is flat in software development; model-call cost falls 17-53% where attributable halts occur early. A hand review of all 94 governed-arm halts found 35 false alarms (37%), caused by validator defects rather than model behaviour; counting those halts as failed work, the governed arm scores below the ungoverned arm in four of six workflows. The results support deterministic handoff validation for contract-expressible defects and show that validator configuration and halt attribution must themselves be tested; they do not establish universal correctness, hallucination detection, or model-independent effectiveness.