BankingAI Agents 14-week production rollout

Durable AI Ops Layer for Mid-Market Banking

KYC exceptions and payment repairs on Temporal + Vercel AI SDK + MCP: maker-checker Signals, PII redaction, zero double-posts on core retries.

Payment exception handle time
45–90 min median
12–25 min median
KYC backlog age (p90)
9–14 days
3–5 days
Double-post / duplicate repair
Recurring on retries
0 after idempotent keys

The Problem

A mid-market bank’s payments and onboarding ops drowned in exception queues. Analysts toggled core banking, payment hub, KYC vault, and email for each case. Retries after timeouts sometimes double-posted repairs. Checker sign-off lived in Slack screenshots.

The Solution

We shipped an Intake / Case / Control / Judge AI ops layer: Vercel AI SDK for structured intents, MCP tools into bank systems as Temporal Activities, and maker-checker as durable Signals before any live post or customer outbound.

Why this is not a banking chatbot

The brief was queue clearance with dual control, not FAQs. Models classify and draft; Temporal owns durability; MCP owns the allowlist into CBS, payment hub, and KYC store. Money moves only after a checker Signal.

Architecture we shipped

Intake Workflow turns queue events into typed intents. Case Workflow runs the durable agent loop via Vercel AI SDK. Write tools stage then submit. Control waits on maker_approved / rejected Signals mapped to bank IAM roles. Judge samples weekly for misclassification and override rates.

PII and residency

Activities redact PAN / government IDs before LLM calls. Full payloads stay in an encrypted case store in-region. Model path is VPC-routed where policy requires: no customer data used for training.

What changed for ops

A failed outward remittance now yields a staged repair with fail-code rationale and evidence links. Checker approves in the bank UI. Crash mid-retry no longer duplicates the post. KYC gaps assemble into a policy-cited pack the officer can send after approval.

Business Impact

Ops owns speed; compliance owns evidence. Every write carries a Temporal history plus tool I/O digest Internal Audit can replay. Analysts review staged repairs and KYC gap packs instead of rebuilding the case from scratch.

Technical architecture write-up

Tech Stack

Vercel AI SDKTemporalMCP toolsZod schemasCore banking adaptersPayment hub APIsKYC / doc vaultPII redaction layerMaker-checker UI

Case FAQs

Did the AI submit payments without a checker?

No. stage_payment_repair created proposals only. submit_payment_repair required a checker Signal above policy thresholds. Read tools ran ungated.

How do you satisfy audit?

Temporal workflow history plus redacted tool digests export as the case file. Policy versions returned by fetch_policy_clause include document id and effective date.

Can this run beside existing BPM / case tools?

Yes. MCP open_service_ticket writes into the bank’s ITSM or case system. We do not force a rip-and-replace of the case manager on day one.

Want a system like this?

Tell us the workflow. We reply with a short architecture brief: stack, gates, and timeline.