Cross-phase · Architecture Core

AIB Agent Interaction & Provenance Protocol

Version: 1.0 | Status: Draft | Date: 2026-06-12 Owner: Chief Architect | Parent: AI & Model Risk Charter


1. Purpose

The Paperclip fleet is 27 live agents, 17 of which have in-repo specification cards (see the Agent Register), each scoped to a bounded domain. Real work crosses those boundaries: an AML investigation by aib-cco becomes an enhanced-due-diligence question for compliance; a settlement fail seen by aib-settlement becomes an operations problem for aib-ops. This document defines how agents hand work to one another and how every agent decision is recorded so it can be replayed and defended to a supervisor.

The governing rule extends Architecture Principle P11 to agent-to-agent flow:

No direct agent-to-agent writes. An agent never writes into another agent's tables, and never invokes another agent to obtain a privilege it does not hold. Cross-agent work flows only through a human disposition or an orchestrated workflow item — never as a direct call from one agent into another's data.

This keeps separation of duties intact, prevents privilege escalation by composition, and ensures that the human-accountability chain the AI & Model Risk Charter requires is never broken by agents quietly handing each other work. (All data below is mock, SIM-*.)


2. Handoff protocol

An agent that needs another domain to act does not call that domain's agent. It produces one of two artifacts, both human- or workflow-mediated:

  1. agent_proposal — when the handoff is a concrete proposed write the receiving domain's human owner must dispose. The proposal carries owner_role = the role that must approve, so it surfaces in that owner's inbox, not the originating agent's.
  2. workflow_issue — when the handoff is a task to be picked up (an investigation, a review, a remediation), the Paperclip workspace opens a workflow_issue with an issue_type and assigned_to_agent/owner in the receiving domain.

Worked example — AML EDD escalation. aib-cco working an aml_investigation_case concludes enhanced due diligence is required. It does not write to compliance tables or call a compliance agent. It opens a workflow_issue of issue_type = 'edd_review' toward the compliance function, and where a concrete record is proposed (e.g. a pep_record update) it files an agent_proposal with owner_role = 'CCO'. The CCO disposes. Only on approval is anything written — under the human's identity.

The originating agent receives nothing it could not have queried itself. There is no return channel that grants it the receiving domain's data or privilege.


3. Message contract

What an agent may pass across a handoff, and what it may never pass:

FieldCarried onMeaning
agent_idagent_proposal.agent_idoriginating agent (agent:aib-cco, …)
commandagent_proposal.commandthe proposed action (e.g. file_str, open_edd)
target_table / target_idagent_proposalwhat the proposed write touches
payload_jsonagent_proposalthe proposed record (JSON)
rationaleagent_proposalthe agent's stated reasoning
confidenceagent_proposalmodel confidence 0..1
owner_roleagent_proposalthe disposing role — routes to the receiving domain's human
issue_type / assigned_to_agent / regulatory_deadlineworkflow_issuetask type, target domain, SLA

No privilege inheritance. owner_role names who must approve, not a privilege the originating agent borrows. aib-cco filing a proposal with owner_role = 'CCO' does not make aib-cco able to act as the CCO — it routes the item to the human in that role.

Separation of duties preserved. A handoff cannot be used to do indirectly what an agent may not do directly. aib-payments cannot route a payment release through another agent to dodge its dual-auth gate (PROC-008); the dual-auth requirement attaches to the action, evaluated at human disposition, regardless of which agent proposed it. The independence of aib-audit (read-only) means it never appears as an originating agent on any agent_proposal.

No free-text instruction channel. A handoff is data, not a command: the receiving domain's human reads rationale, payload_json, and the cited source records and makes their own determination. An originating agent cannot instruct the disposer, cannot set the disposition, and cannot suppress the audit trail. The confidence value is advisory context for the human, never a gate that auto-commits a high-confidence proposal — the AI & Model Risk Charter §2 rule that regulated decisions require explicit human approval regardless of agent confidence holds across handoffs exactly as it does for a single agent.


4. Orchestration

The Paperclip workspace (AIB project) is the orchestrator. It does not grant agents new privileges; it routes agent_proposal and workflow_issue items to the correct human owner and tracks their status/SLA. Each agent is scoped at the data layer to the tables it owns in the Data Ownership Matrix — R/A for its own tables, query-only (C/I) for others. Orchestration composes work across agents without ever composing privilege: a multi-domain flow is a sequence of independently disposed proposals/issues, each landing in its own owner's inbox, each committed under that human's identity. There is no orchestration path that writes on behalf of two domains in one un-disposed step.

Worked example — settlement fail crossing into operations. aib-settlement (CRO line, ABB-SETTLEMENT) detects a settlement fail. It owns settlement (R/A in the Data Ownership Matrix) but only reads bank_transaction (owned R/A by aib-ops). To trigger remediation that touches operations data, it opens a workflow_issue of issue_type = 'settlement_fail' toward the operations domain and, if a concrete correction is proposed, an agent_proposal with owner_role mapping to the Head of Operations. aib-ops and its human owner dispose the operations side; aib-settlement disposes its own. Two domains, two disposals, two audit chains — no single agent reached across the boundary, and PROC-009 (settlement reconciliation) governs the end-to-end SLA.

Deadlines travel with the issue. Where a handoff carries a regulatory clock, the workflow_issue.regulatory_deadline is set so the receiving owner inherits the SLA — STR preparation (PROC-002, 5-day), DSR (30-day), payment dual-auth (PROC-008). The orchestrator surfaces breached deadlines on the Escalation SOP path; it does not let an agent silently let another domain's clock run out.


5. Decision provenance

Every write that results from an agent proposal is fully attributable. Two records carry the provenance:

On agent_proposal (what the agent proposed): agent_id, command, rationale, confidence, payload_json, plus — on disposition — decided_by (human:<role>), decided_at, decision_note, and audit_log_id linking to the committing audit entry. The model_version and the prompt/source hash behind an LLM-generated proposal are recorded against the proposal (and mirrored to the audit entry) so an ungrounded claim can be traced to the exact model and prompt that produced it.

On audit_log (what actually happened): the committing entry records actor_type = 'agent' for the proposing event and actor_type = 'human' for the committing event, with actor_id in the canonical form agent:<slug> (e.g. agent:aib-cco) or human:<role> (e.g. human:CCO). It captures action, entity_type, entity_id, before_state / after_state (JSON snapshots), regulatory_event, regulation_refs, event_time, and retain_until (10 years).

Explainability record. For a High-tier or LLM-backed decision (e.g. aib-cco on MOD-007), the explainability artifact — confidence, the source records the rationale cites, and the prompt/source hash — travels on the proposal and is preserved via audit_log_id. This is what is shown to a supervisor when asked "why did the agent recommend this?"


6. Replay & accountability

Any agent-originated decision can be reconstructed end to end from two tables:

  1. agent_proposal → what the agent proposed, its rationale, confidence, model_version, prompt/source hash, and how it was disposed (decided_by, decided_at, decision_note).
  2. audit_log (joined via agent_proposal.audit_log_id) → the immutable record of the committed write: actors, before_state/after_state, regulation_refs, timestamps, retained 10 years.

This satisfies the accountability standard of the AI & Model Risk Charter: "the agent decided" is never the answer — the answer is always a named human (decided_by) acting on a recorded proposal, with the full reasoning chain preserved. A supervisor or internal audit (aib-audit, read-only) can replay any decision without the agent's cooperation, because the evidence lives in the data layer, not in the agent.


7. Cross-references

References

Referenced by