Banking agent reference architecture: the LLM gets no write path to money, not guardrails
Lazy_Eggplant8795 · reddit · 2026-11-27
A developer released a self-hosted reference architecture for agent-assisted banking (synthetic data demo) built on one idea: instead of guardrails or tighter system prompts—which are requests a model can ignore—give the LLM no write tool at all for money operations.
Four patterns do the heavy lifting:
- Read-only tool surface: the agent can only call SELECT-only MCP functions (list accounts, get balances, recent transactions, search contacts with emails/phones withheld). No preview/approve/submit; transfers are initiated and confirmed by humans in the banking app
- Money ops live in a contract the model never sees: a versioned registry declares transfer.preview/confirm/status with agentcallable: false, enforced in code and CI—"one agentcallable: false beats a hundred system prompts"
- Numbers come from the ledger: rendering a balance requires a current-turn read whose values overwrite the UI directly; failures return a typed connectorerror and an "unavailable" state
- Exact-span evidence, not vibes: extracted values carry token-boundary evidence (evidence for 50 can't validate 500), with explicit READY/NEEDSCLARIFICATION/ABSTAIN outcomes; confidence thresholds left blank until calibrated on labeled data
Identity is derived server-side (the model can't pass customer/tenant IDs), external LLM calls require an explicit opt-in flag. Code is FSL-licensed, free for internal use, Apache 2.0 after 2 years. The author explicitly lists what's not production-grade and asks for feedback on where strict read/write separation breaks down.
More from coding & agent
- 'Agents Don't Crash, They Go Quiet': Agent Ops Needs Heartbeats and Output Checks — alvelda · 2026-11-28
- Free Open-Source Agentic AI Course: 163 Lessons Building Agents From a Raw While-Loop — adnan_hashmi · 2026-11-28
- Two Skill Edits Made Haiku Match Opus on Coding Tasks at ~5% of the Cost — InterestingCarrot997 · 2026-11-28
- Chip Huyen Launches Good AI List, a Curated Open-Source AI Tool Tracker — Zachly · 2026-11-28
- Infinitty Terminal adds HTML artifact extensions with interpretted Swift and native compilation — jasonkneen · 2026-11-28
- GPUI dev pushes back: his pipeline is quads and text vs Chromium's 12-stage renderer — zack_overflow · 2026-11-28