Skip to main content
QUICK REVIEW

[Paper Review] A Trace-Based Assurance Framework for Agentic AI Orchestration: Contracts, Testing, and Governance

Ciprian Păduraru, Petru-Liviu Bouruc|arXiv (Cornell University)|Mar 18, 2026
Multi-Agent Systems and NegotiationComputer Science0 citations
TL;DR

This paper proposes a trace-based assurance framework for agentic AI systems, introducing Message-Action Traces (MAT), machine-checkable contracts, stress testing with bounded perturbations, fault injection, and runtime governance at the language-to-action boundary.

ABSTRACT

In Agentic AI, Large Language Models (LLMs) are increasingly used in the orchestration layer to coordinate multiple agents and to interact with external services, retrieval components, and shared memory. In this setting, failures are not limited to incorrect final outputs. They also arise from long-horizon interaction, stochastic decisions, and external side effects (such as API calls, database writes, and message sends). Common failures include non-termination, role drift, propagation of unsupported claims, and attacks via untrusted context or external channels. This paper presents an assurance framework for such Agentic AI systems. Executions are instrumented as Message-Action Traces (MAT) with explicit step and trace contracts. Contracts provide machine-checkable verdicts, localize the first violating step, and support deterministic replay. The framework includes stress testing, formulated as a budgeted counterexample search over bounded perturbations. It also supports structured fault injection at service, retrieval, and memory boundaries to assess containment under realistic operational faults and degraded conditions. Finally, governance is treated as a runtime component, enforcing per-agent capability limits and action mediation (allow, rewrite, block) at the language-to-action boundary. To support comparative evaluations across stochastic seeds, models, and orchestration configurations, the paper defines trace-based metrics for task success, termination reliability, contract compliance, factuality indicators, containment rate, and governance outcome distributions. More broadly, the framework is intended as a common abstraction to support testing and evaluation of multi-agent LLM systems, and to facilitate reproducible comparison across orchestration designs and configurations.

Motivation & Objective

  • Define a system model and failure taxonomy for multi-agent AI orchestration.
  • Introduce Message-Action Traces (MAT) with step and trace contracts for runtime verification.
  • Develop stress testing as budgeted counterexample search to expose contract violations.
  • Incorporate structured fault injection at service, retrieval, and memory interfaces to test containment.
  • Present governance mechanisms that constrain per-agent capabilities and mediate actions at the interface boundary.

Proposed method

  • Represent executions as Message-Action Traces (MAT) carrying provenance and contract verdicts.
  • Define step contracts over MAT records and trace contracts over prefixes to detect violations.
  • Formulate adversarial stress testing as a budgeted search for perturbations that trigger contract violations (minimize cost of perturbations).
  • Inject structured faults at external interfaces (services, retrieval, memory) and assess containment under realistic faults.
  • Impose runtime governance with per-agent capability sets and a policy shield (allow, rewrite, block) to mediate tool calls.
Figure 1: Pipeline overview of the assurance framework. Colors indicate the four layers and their roles. The system under test (SUT, green) is the deployed multi-agent LLM system : an orchestrator coordinating an agent pool, together with the runtime governance boundary L4 (blue). The diagram uses a
Figure 1: Pipeline overview of the assurance framework. Colors indicate the four layers and their roles. The system under test (SUT, green) is the deployed multi-agent LLM system : an orchestrator coordinating an agent pool, together with the runtime governance boundary L4 (blue). The diagram uses a

Experimental results

Research questions

  • RQ1How can multi-agent LLM executions be modeled as trace-based systems with contracts for runtime verification?
  • RQ2What contracts and provenance are needed to detect termination, safety, and factuality violations in agentic workflows?
  • RQ3How can perturbation-based stress testing uncover contract violations within a cost budget?
  • RQ4How can governance at the language-to-action boundary be quantified and enforced to constrain agent autonomy?

Key findings

  • A cohesive framework combining contracts, stress testing, fault injection, and governance for agentic AI systems is proposed and formalized.
  • MAT records enable localization of the first violating step and replay for debugging and regression testing.
  • A budgeted perturbation search identifies minimal-cost schedules that violate trace contracts, enabling exposure and debugging of failures.
  • Structured fault injection across interfaces assesses containment under realistic operational faults.
  • Governance mechanisms provide measurable outcomes such as contract compliance and containment rates across runs (metrics defined on traces).
Figure 2: Adversarial counterexample search as an inner–outer assurance loop. (1) Setup: fix a system configuration $\kappa$ (roles, tools, contracts, governance) and sample tasks $x\sim\mathcal{D}$ with stochastic seed $z$ . (2) Inner loop (search): an adversary selects bounded perturbations $\delt
Figure 2: Adversarial counterexample search as an inner–outer assurance loop. (1) Setup: fix a system configuration $\kappa$ (roles, tools, contracts, governance) and sample tasks $x\sim\mathcal{D}$ with stochastic seed $z$ . (2) Inner loop (search): an adversary selects bounded perturbations $\delt

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.