Multi-agent transaction integrity
Preserve business-state integrity across multi-agent transactions
Several agents update related systems during one business operation. The decision is how to preserve business-state integrity across multi-agent transactions. The work begins with your actual workflow and looks for the evidence that separates intended behaviour from a consequential exception. It is particularly relevant to transaction engineers and workflow control owners. A useful outcome is an explicit account of what was examined, what remains uncertain, and which decision the evidence can support.
The interaction contracts relationship
- Transaction boundaries
Establish the basis for transaction boundary.
- Duplicate control
Carry idempotency through retry and message replay.
- Transaction integrity model
Retain the scoped finding and its unresolved dependencies.
Decision
Frame the decision around transaction boundary
Questions and the evidence they need
- Transaction boundary
- Inspect transaction boundaries for the relevant constraint or observation.
- Duplicate control
- Inspect idempotency keys for the relevant constraint or observation.
- Compensation path
- Inspect state models for the relevant constraint or observation.
The decision is how to preserve business-state integrity across multi-agent transactions. This is relevant to transaction engineers and workflow control owners when several agents update related systems during one business operation. Name the affected workflow, the consequence of a wrong decision, and the owner who can act on the result. The initial discussion should establish which evidence is already available and which uncertainty is material enough to investigate.
The specific failure hypothesis is that a partial failure leaves one system committed and another unchanged. It remains a hypothesis until examined in the deployment. Existing internal tests or operating records may already resolve it; identify the uncovered question before commissioning additional work.
Mechanism
Transaction integrity depends on partial-failure behaviour
Relationships within interaction contracts
- Transaction boundary
- Name the business effects owned by each participant.
- Duplicate control
- Carry idempotency through retry and message replay.
- Compensation path
- Reconcile partially completed distributed work.
What this specialty examines
Transaction integrity work should define which business changes form one intended operation and who owns partial completion. Identify commit boundaries, idempotency behaviour and reconciliation records. Distributed agents may complete different parts at different times.
The review should exercise retries, duplicate messages, partial completion and reconciliation in a controlled environment. Identify the normal route, relevant exceptions and the authoritative record of the outcome. Inspect the relevant business-system record, enforcement event or process evidence alongside any reported status. Keep incomplete cases visible, with an explanation of what their absence prevents the owner from concluding.
The tradeoff to make explicit
For this decision, distributed cooperation increases flexibility while partial success needs explicit ownership and recovery. Compare the available design or operating choices against the same intended outcome. If one option removes a required control or changes the task boundary, describe that difference before treating its apparent simplicity, speed or lower effort as an improvement. The decision should expose the tradeoff instead of burying it in an aggregate score.
Preparation
Connect the working inputs to the boundary being examined
Evidence packet for transaction boundary
Illustrative working format
- Transaction boundaries
- Identify provenance and the specific decision this material can inform.
- Idempotency keys
- Check its relationship to the relevant workflow and expose missing context.
- State models
- Match this description to the deployed or proposed boundary being examined.
- Compensation rules
- Identify retained state and distinguish repeated work from repeated external effects.
Start with transaction boundaries, idempotency keys, state models and compensation rules. Identify the owner, revision and operating context of each source. Sanitised examples may support initial design, but differences from actual conditions should remain explicit. Where direct access is unsuitable, a customer-controlled evidence or execution route may be considered, with agreed handling and retention.
The scope also needs the integration owner, agreed expectations for a representative interaction case, and the authority to inspect the relevant boundary. Specify what evidence would distinguish the failure in which a partial failure leaves one system committed and another unchanged from acceptable behaviour. If stakeholders disagree about intended behaviour, resolve the interpretation before classifying the observed difference as a defect.
How the work proceeds
Carry transaction boundary through to an accountable finding
From the scoped material to a decision record
- Transaction boundaries
Agree the task meaning at the sending boundary.
- Duplicate control
Apply the scoped check to compensation path.
- Transaction integrity model
Record the evidence, open dependencies, and the owner’s next decision.
Fix the interaction contract and versions
Assemble transaction boundaries, idempotency keys, state models and compensation rules with transaction engineers and workflow control owners. Identify the participating implementations, interface revisions, authority assumptions and intended business result. Prepare messages and task-state examples from both sides, including an interrupted exchange and a disputed or incomplete outcome. The preparation output is a paired contract fixture showing what each participant expects and which differences would prevent the workflow from completing correctly.
Run and compare both sides of the exchange
Test duplicates, lost responses, reordered messages and partial failure using synthetic state. Specify compensation where feasible and escalation where it is not. Recovery should inspect authoritative state before repeating operations whose completion is uncertain.
Choose the contract or integration change
Summarise the comparison in a transaction integrity model with failure-state and compensation cases. Classify each mismatch as interface validation, business meaning, identity, task state or operating behaviour. Decide whether to change a participant, add an explicit adapter rule, narrow supported combinations or defer the connection. Validate the affected pair again and preserve limitations that translation cannot resolve, especially around cancellation, authority and partial completion.
Indicative artefact
Make the transaction integrity model usable by its owner
Transaction integrity model
Illustrative working format
- Transaction integrity model
- Name the missing evidence, responsible owner, and condition for revisiting the decision.
- Failure-state
- Link supporting and contrary observations to inspectable evidence.
- Compensation cases
- Connect the triggering state to permitted action and evidence of recovered business state.
A useful decision artefact is a transaction integrity model with failure-state and compensation cases. Supporting material may include selected cases, configuration or process records, evidence references, a disagreement log and prioritised actions. Retain the case selection rationale and material disagreements alongside the result; otherwise the result may be mistaken for complete coverage.
Illustrative scenario
Examine compensation path through a constructed exception
A constructed case and its decision paths
Illustrative scenario
- Transaction boundary
A timed-out handoff is retried after the remote participant committed its update.
- Duplicate control
Reconcile the remote state before retrying the timed-out handoff.
- Compensation path
Reuse idempotency or compensation rules to avoid duplicate business effects.
Consider a fictional situation: one agent reserves inventory while another fails to create the corresponding order, leaving a stranded reservation. The scenario is illustrative, with no client engagement, executed test or measured improvement implied.
For the stranded reservation, the workflow may release inventory or retry order creation under controlled conditions. The decision depends on business rules and current state. A generic retry of every step could create duplicate commitments instead of repairing the transaction.
Scope and next action
Keep the conclusion within named implementations and revisions
Confirm fit before the next commitment
- Transaction boundary
- This review is limited to named implementations and revisions.
- Transaction boundaries
- The relevant owner must confirm access and the intended operating conditions.
- Transaction integrity model
- Untested peers require their own compatibility evidence.
Compatibility is assessed for named implementations, versions, features and workflows. It does not establish universal conformance, vendor endorsement or interoperability with untested peers. Any engagement depends on an agreed scope, qualified team, authorised access and confirmed availability. Bring the affected workflow, its current configuration or process, the triggering change and the evidence already available. The immediate scope question is prompted by the situation in which several agents update related systems during one business operation; confirm which missing observation would change the owner’s next action.
Ways to engage
Related engagement scopes
AI Agent Protocol Interoperability Lab
Find where connected agents disagree. Exercise message contracts, identity propagation and failure recovery across your selected integrations.
Continue exploring
Related insights and resources
How to design a joint AI evaluation lab
A joint lab should be a governed way to create decision evidence across organisations, with shared methods but explicit ownership of systems, data and conclusions.
Agent protocols are creating a new control surface
Protocols make tools and agents interoperable, but they also standardise discovery, delegation and context exchange. Those interfaces need explicit trust and policy controls.
A practical security review for an MCP server
Review an MCP server as a privileged protocol adapter: verify tool semantics, OAuth boundaries, token audience, downstream delegation, input handling, isolation, logging and consent.