Phase D · Technology Architecture & Organization

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:

metricDefinitionWhy it matters · which agent class
accuracyShare 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).
precisionOf 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.
recallOf 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_rateShare 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_rateShare 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_adherenceShare 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_rateShare 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:

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.

BandRuleAction
Greenvalue within threshold, breached = 0Routine. Logged, no action.
Ambervalue 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.
Redvalue breaches the hard threshold; breached is written 1Mandatory: 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 · metricAmberRed (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:

  1. The breach is written to agent_eval with breached = 1.
  2. aib-risk proposes an rcsa_risk_event (owned table, 10-year retention) capturing the agent, metric, period, and observed vs threshold value. Per P11 the event commits only on human (CRO) approval via the disposition flow.
  3. The Model Risk Committee reviews at its next session — or immediately for a safety breach (e.g. hallucination_rate red on MOD-007).
  4. 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-004 input features) and aib-cco (MOD-001 client-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_rate estimate; the proposal carries confidence and the prompt/source hash on the corresponding agent_proposal and audit_log rows (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

ActivityWho computesCadenceSign-off (signed_off_by)
Golden-set scoringModel Risk Management (independent of agent)Quarterly (period = YYYY-Qn); monthly for High-tier AML/creditCRO or delegate, written to signed_off_by / signed_off_at
Continuous drift / hallucination / OOD monitorsAutomated; reviewed by MRMContinuous; reviewed monthlyMRM lead
Scorecard reviewModel Risk CommitteeQuarterly + on any red breachCommittee (minuted)
Override-rate reviewAgent's human owner + MRMMonthlyHuman 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_eval row is tied to the model(s) behind the skill via model_version and the agent's validation file — MOD-001…MOD-008 and the AI systems SIM-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_request with change_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_ref invalidates 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

References

Referenced by