AIB Agent Evaluation & Monitoring
Version: 1.0 | Status: Draft | Date: 2026-06-12 Owner: CRO / Model Risk Committee | Parent: AI & Model Risk Charter
1. Purpose
The Model Validation Charter governs the pre-deployment gate — conceptual soundness, performance testing, and CRO sign-off before a model or agent goes live. This document governs the post-deployment half of the loop: continuous assurance that each Paperclip agent keeps performing inside its approved envelope once it is in production.
A validated agent is not a safe agent forever. Inputs drift, typologies evolve, prompts and underlying models change, and the operational population diverges from the golden set the agent was validated against. Continuous evaluation is the control that detects this drift early, converts it into a recorded risk event, and feeds the lifecycle machinery (Agent Lifecycle & Kill-Switch Runbook) before a degraded agent produces a regulatory breach or client harm.
Every measurement lands as a row in the agent_eval table (migration 0004_agent_ops).
That table is the single, queryable source of truth for agent performance; the
scorecard, the breach trigger, and the Model Risk Committee pack all read from it. No
agent-performance claim is made in this bank that cannot be reconstructed from
agent_eval plus the audit_log.
Scope: all 17 agents in the Agent Register,
across every access tier — including the read-only aib-audit agent, whose query
accuracy is evaluated even though it never proposes a write.
2. Metrics — the agent_eval.metric enum
Every agent_eval row carries exactly one metric value drawn from the CHECK-constrained
enum in migration 0004_agent_ops. Each measurement records value (observed),
threshold (the amber/red trigger), breached (0/1), sample_size, golden_set_ref,
model_version, and computed_at. The seven metrics, what they mean, and why they
matter per agent class:
metric | Definition | Why it matters · which agent class |
|---|---|---|
accuracy | Share of agent outputs that match the labelled ground truth on the golden set. | Baseline for every agent. Headline metric for classification-style agents (aib-cco KYC risk, aib-research tagging). |
precision | Of the items the agent flagged positive, the share that were truly positive (1 − false-discovery). | Alert-generating agents (aib-cco for aml_alert, aib-credit-risk). Low precision = analyst time wasted on noise. |
recall | Of all truly positive items, the share the agent caught. | The regulatory-risk metric for detection agents: a missed AML typology or a missed sanctions hit is the expensive failure. Recall floor is set higher than precision floor for aib-cco. |
false_positive_rate | Share of true negatives the agent wrongly flagged. | Operational-load metric. A rising FPR on aib-payments or aib-cco screening means humans drown in false alerts and real ones get buried. |
override_rate | Share of the agent's proposals that the human owner rejected or materially edited at disposition (computed from agent_proposal.status + decision_note). | The trust signal. A climbing override rate means the human owner has stopped trusting the agent — an early, behavioural indicator of degradation that precedes any golden-set metric. Tracked for every propose-tier agent. |
sla_adherence | Share of proposals disposed within agent_proposal.sla_due, and (where the agent owns a deadline) share of regulatory deadlines met. | Resilience / timeliness. Critical for deadline-bound agents: aib-cco (STR 5-day under PROC-002), aib-payments (PROC-008), aib-cfo/aib-finance-acct (QIR T+15, EMIR T+1). |
hallucination_rate | Share of LLM-generated outputs containing an ungrounded or fabricated claim (citation not traceable to a source record). | The LLM-specific failure mode. Mandatory for any agent backed by an inference model — chiefly aib-cco on MOD-007 (AML txn scoring, minimax/minimax-m3) and the drafting/summarisation work of aib-research and aib-regaffairs. |
Not every metric applies to every agent. The applicable set per agent is fixed at
onboarding (see agent_change_request in the
Lifecycle Runbook) and recorded in the
agent's validation file. A read-only agent such as aib-audit is scored on accuracy
and hallucination_rate only; it has no override_rate because it issues no proposals.
3. Golden datasets
Each evaluated skill has a frozen, versioned, labelled golden dataset. The
agent_eval.golden_set_ref column points at the exact dataset version used for that
measurement, so a score is always reproducible.
How built. Golden sets are assembled from historical (mock, SIM-*) operational
records that have been independently labelled by the accountable human function — not
by the agent under test. Examples:
aib-cco/ AML — a labelled corpus ofaml_alertrows, each marked true-positive / false-positive by a compliance analyst, plus a held-out set of known typologies the agent must catch (drivesrecall). Validated againstMOD-002andMOD-007.aib-cco/ KYC — labelledkyc_reviewandpep_recordoutcomes for risk-ratingaccuracy.aib-credit-risk/aib-credit-officer— labelledcredit_assessmentdecisions with realised outcomes, scoring LTV calls againstMOD-004.aib-rm-uhnw/aib-rm-hnw— labelled suitability determinations againstMOD-003(ABB-SUITABILITY).aib-market-risk— backtest exceptions for VaR (MOD-005).
How frozen. Once approved by the Model Risk Committee, a golden set version is
immutable. A new version is cut (new golden_set_ref) only on a logged change —
new labelled examples, a corrected label, or an expanded typology. Re-scoring after a
golden-set change is itself a validation trigger (§7).
Independence. Labels are produced under the same independence requirement as model validation — never by the team or agent being evaluated.
4. Scorecard & thresholds
The agent scorecard is a derived view over agent_eval: latest value vs threshold
per (agent_id, metric, period), RAG-coloured.
| Band | Rule | Action |
|---|---|---|
| Green | value within threshold, breached = 0 | Routine. Logged, no action. |
| Amber | value crosses the warning band (set per metric, per agent) | Owner notified; root-cause note required; placed on watch. Repeated amber over two periods auto-escalates to red. |
| Red | value breaches the hard threshold; breached is written 1 | Mandatory: see breach flow below. |
Thresholds are per metric, per agent, set at onboarding and ratified by the Model
Risk Committee. They are deliberately asymmetric — e.g. recall for aib-cco AML
detection carries a higher floor than precision, because a missed STR is a worse
outcome than a false alert. Representative (mock) thresholds:
| Agent · metric | Amber | Red (threshold) |
|---|---|---|
aib-cco · recall (AML) | < 0.95 | < 0.90 |
aib-cco · false_positive_rate | > 0.30 | > 0.45 |
aib-cco · hallucination_rate (MOD-007) | > 0.01 | > 0.03 |
aib-credit-risk · accuracy | < 0.92 | < 0.88 |
aib-payments · sla_adherence | < 0.98 | < 0.95 |
any agent · override_rate | > 0.15 | > 0.25 |
Breach flow (red). When a measurement breaches the hard threshold:
- The breach is written to
agent_evalwithbreached = 1. aib-riskproposes anrcsa_risk_event(owned table, 10-year retention) capturing the agent, metric, period, and observed vs threshold value. PerP11the event commits only on human (CRO) approval via the disposition flow.- The Model Risk Committee reviews at its next session — or immediately for a safety
breach (e.g.
hallucination_ratered onMOD-007). - Outcome routes to one of: a retrain/suspend
agent_change_request, the kill-switch runbook, or a watch + remediation plan with a re-measurement deadline.
5. Drift & hallucination monitoring
Golden-set scoring (§3) is periodic and backward-looking. Between scoring runs, three
continuous monitors watch the live (mock) production stream and write agent_eval rows
out-of-cycle when they trip:
- Population stability (input drift). A Population Stability Index (PSI) compares the
live input distribution feeding an agent against the golden-set distribution. PSI
above the configured band raises an amber drift flag — the agent may still score well
on a stale golden set while operating on a population it was never validated against.
Relevant for
aib-credit-risk(MOD-004input features) andaib-cco(MOD-001client-risk inputs). - Output grounding (hallucination). For LLM-backed agents, every generated claim is
checked for traceability to a source record. Ungrounded claims increment a running
hallucination_rateestimate; the proposal carriesconfidenceand the prompt/source hash on the correspondingagent_proposalandaudit_logrows (see Interaction & Provenance Protocol §5), so any flagged output is fully reconstructable. - Out-of-distribution (OOD) inputs. Inputs that fall outside the agent's validated domain (novel instrument type, unseen jurisdiction, malformed payload) are routed to a human rather than scored — and counted. A rising OOD rate is itself a drift signal and a candidate retrain trigger.
A monitor trip raises at minimum an amber band; a sustained or severe trip is escalated on the same path as a §4 red breach.
6. Cadence & ownership
| Activity | Who computes | Cadence | Sign-off (signed_off_by) |
|---|---|---|---|
| Golden-set scoring | Model Risk Management (independent of agent) | Quarterly (period = YYYY-Qn); monthly for High-tier AML/credit | CRO or delegate, written to signed_off_by / signed_off_at |
| Continuous drift / hallucination / OOD monitors | Automated; reviewed by MRM | Continuous; reviewed monthly | MRM lead |
| Scorecard review | Model Risk Committee | Quarterly + on any red breach | Committee (minuted) |
| Override-rate review | Agent's human owner + MRM | Monthly | Human owner |
Computation is performed by the independent MRM function, never by the agent being
scored — the same independence rule as the
Model Validation Charter. Each
finalised agent_eval row is signed: signed_off_by and signed_off_at are populated
when the responsible human ratifies the measurement, mirroring the propose→dispose
discipline of P11. An unsigned row is provisional and may not be used in a Committee
pack or a supervisory submission.
7. Linkage to model validation & lifecycle
Evaluation is the bridge between the one-time validation gate and the agent lifecycle:
- Upstream (validation). Each
agent_evalrow is tied to the model(s) behind the skill viamodel_versionand the agent's validation file —MOD-001…MOD-008and the AI systemsSIM-AIS-001…SIM-AIS-005. A red breach satisfies the Model Validation Charter's "Model breach → triggered validation within 30 days" trigger. - Downstream (lifecycle). A confirmed breach or sustained drift is the canonical
retrain trigger: the Model Risk Committee directs an
agent_change_requestwithchange_type = 'retrain'(or'suspend'/'decommission'for a safety failure), re-running the onboarding gate before the changed agent returns to production. See Agent Lifecycle & Kill-Switch Runbook §4. - Golden-set change is itself a re-score trigger: a new
golden_set_refinvalidates prior comparability and requires re-measurement before the next sign-off.
This closes the loop: validate → deploy → evaluate → breach/drift → change request → re-validate.
8. Cross-references
- Architecture Principle P11 — agents propose, humans dispose (Architecture Principles)
- AI & Model Risk Charter — model-risk sign-off, classification
- Model Validation Charter — pre-deployment gate, triggers, MRC
- Agent Register — the 17 agents, owners, tiers
- Agent Lifecycle & Kill-Switch Runbook — retrain / suspend / decommission
- Agent Interaction & Provenance Protocol — provenance fields on
agent_proposal+audit_log - Data Ownership Matrix —
rcsa_risk_eventowned byaib-risk - Escalation SOP — breach escalation SLAs
- Tables:
agent_eval,agent_proposal,rcsa_risk_event,audit_log(migration0004_agent_ops) - Process refs:
PROC-002(AML investigation),PROC-008(payment dual-auth)
References
- agentAgent — CCO — Chief Compliance Officer (agent:aib-cco)
- agentAgent — CFO (agent:aib-cfo)
- agentAgent — Credit Officer (agent:aib-credit-officer)
- agentAgent — Credit Risk Manager (agent:aib-credit-risk)
- agentAgent — Finance & Accounting Officer (agent:aib-finance-acct)
- agentAgent — Investment Research Analyst (agent:aib-research)
- agentAgent — Market Risk Manager (agent:aib-market-risk)
- agentAgent — Payments Officer (agent:aib-payments)
- agentAgent — Regulatory Affairs Officer (agent:aib-regaffairs)
- agentAgent — RM — HNW (agent:aib-rm-hnw)
- agentAgent — RM — UHNW (agent:aib-rm-uhnw)
- ServiceAIB Audit Service API
- ServiceAIB Risk Service API
- ProcessPROC-002: AML Investigation & STR Filing
- ProcessPROC-008: Payment & Dual Authorization Workflow
- GovernanceAIB Agent Lifecycle & Kill-Switch Runbook
- GovernanceAIB Agent Register
- GovernanceAIB AI & Model Risk Governance Charter
- GovernanceAIB Model Validation Charter
- Tableagent_change_request
- Tableagent_eval
- Tableaml_alert
- Tableaudit_log
- Tablecredit_assessment
- Tablekyc_review
- Tablepep_record
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)
- GovernanceAgent Definition Standard (ADS v2)
- GovernanceAIB Agent Security & Threat Model