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:
agent_proposal— when the handoff is a concrete proposed write the receiving domain's human owner must dispose. The proposal carriesowner_role= the role that must approve, so it surfaces in that owner's inbox, not the originating agent's.workflow_issue— when the handoff is a task to be picked up (an investigation, a review, a remediation), the Paperclip workspace opens aworkflow_issuewith anissue_typeandassigned_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:
| Field | Carried on | Meaning |
|---|---|---|
agent_id | agent_proposal.agent_id | originating agent (agent:aib-cco, …) |
command | agent_proposal.command | the proposed action (e.g. file_str, open_edd) |
target_table / target_id | agent_proposal | what the proposed write touches |
payload_json | agent_proposal | the proposed record (JSON) |
rationale | agent_proposal | the agent's stated reasoning |
confidence | agent_proposal | model confidence 0..1 |
owner_role | agent_proposal | the disposing role — routes to the receiving domain's human |
issue_type / assigned_to_agent / regulatory_deadline | workflow_issue | task 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:
agent_proposal→ what the agent proposed, itsrationale,confidence,model_version, prompt/source hash, and how it was disposed (decided_by,decided_at,decision_note).audit_log(joined viaagent_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
- Architecture Principle P11 (Architecture Principles)
- AI & Model Risk Charter — human accountability, no "the agent decided"
- Agent Register — the 17 carded agents, domains, tiers
- Data Ownership Matrix — per-agent table scope (R/A/C/I)
- Agent Evaluation & Monitoring —
hallucination_rate, grounding (§5) - Agent Lifecycle & Kill-Switch Runbook — suspend freezes open proposals
- Tables:
agent_proposal,workflow_issue,audit_log(migration0004_agent_ops,schema_d1) - Process refs:
PROC-002(AML investigation / EDD),PROC-007(PEP EDD workflow),PROC-008(payment dual-auth)
References
- agentAgent — CCO — Chief Compliance Officer (agent:aib-cco)
- agentAgent — Head of Operations (agent:aib-ops)
- agentAgent — Payments Officer (agent:aib-payments)
- agentAgent — Settlement & Custody Officer (agent:aib-settlement)
- ServiceAIB Audit Service API
- ProcessPROC-002: AML Investigation & STR Filing
- ProcessPROC-007: PEP/EDD Deep Dive Workflow
- ProcessPROC-008: Payment & Dual Authorization Workflow
- ProcessPROC-009: Settlement Reconciliation & Exception Handling
- GovernanceAIB Agent Register
- GovernanceAIB AI & Model Risk Governance Charter
- Tableagent_proposal
- Tableaml_investigation_case
- Tablepep_record
- Tableworkflow_issue
Referenced by
- agentAgent — AML/CFT Officer (agent:aib-aml-cft)
- agentAgent — CCO — Chief Compliance Officer (agent:aib-cco)
- agentAgent — CEO (agent:aib-ceo)
- agentAgent — CFO (agent:aib-cfo)
- agentAgent — CIO — Chief Investment Officer (agent:aib-cio)
- agentAgent — CLO (agent:aib-clo)
- agentAgent — COO (agent:aib-coo)
- agentAgent — Credit Officer (agent:aib-credit-officer)
- agentAgent — Credit Risk Manager (agent:aib-credit-risk)
- agentAgent — CRO (agent:aib-cro)
- agentAgent — Data Protection Officer (agent:aib-dpo)
- agentAgent — FATCA/CRS Officer (agent:aib-fatca-crs)
- agentAgent — Finance & Accounting Officer (agent:aib-finance-acct)
- agentAgent — FX/Treasury Officer (agent:aib-treasury)
- agentAgent — Head of Operations (agent:aib-ops)
- agentAgent — Head of Private Banking (agent:aib-head-pb)
- agentAgent — Internal Audit Director (agent:aib-audit)
- agentAgent — KYC Officer (agent:aib-kyc)
- agentAgent — Market Risk Manager (agent:aib-market-risk)
- agentAgent — Payments Officer (agent:aib-payments)
- agentAgent — Portfolio Manager (agent:aib-portfolio-mgr)
- agentAgent — Regulatory Affairs Officer (agent:aib-regaffairs)
- agentAgent — RM — HNW (agent:aib-rm-hnw)
- agentAgent — RM — UHNW (agent:aib-rm-uhnw)
- agentAgent — Settlement & Custody Officer (agent:aib-settlement)
- agentAgent — Trade Operations Manager (COO line) (agent:aib-tradeops-coo)
- agentAgent — Trade Operations Manager (Ops line) (agent:aib-tradeops-ops)
- DocAIB Human-in-the-Loop Approval Inbox
- GovernanceAgent Definition Standard (ADS v2)