Production AI agents for enterprise.
Demos are easy. Production means identity, least privilege, evals you can trust, traces an auditor can read, and a bill you can predict. This topic builds all of it around one real system: a card-dispute agent for a bank.
- Every figure sourced and dated
- OWASP 2026 lists built in
- India, EU and UK rules
The system you’ll build
Card-dispute agent · 9 components
Why this topic exists
Agents rarely fail on the model. They fail on reliability, risk controls and the rules that apply.
- 60% → <25%
The best agent in τ-bench succeeds on over 60% of tasks once, but on fewer than 25% when it must succeed in all 8 tries. One run is not reliability.
τ-bench (Yao et al.) · read 18 Nov 2026
- 12
risks that NIST’s Generative AI Profile lists as unique to, or made worse by, generative AI.
NIST AI 600-1 · read 18 Nov 2026
- 26
recommendations in the RBI’s FREE-AI framework for AI in Indian finance, under 7 Sutras and 6 pillars.
RBI · FREE-AI report · read 18 Nov 2026
- 2 Dec 2027
EU AI Act high-risk duties for Annex III systems, which include credit scoring, after the Digital Omnibus delay.
Digital Omnibus · EUR-Lex · read 18 Nov 2026
The brief you’ll design against
A card-dispute agent for a retail bank
Customers say “I don’t recognise this charge”. The agent finds the transaction, explains it, opens a dispute, and can issue a provisional credit. It must never move money it shouldn’t.
- Volume
- 20,000 conversations a day, about 6 turns each
- Autonomy
- Credits up to ₹5,000 automatic; above that, a human approves
- Systems
- Core banking, card ledger, CRM, policy docs
- Rules
- DPDP Act and the RBI FREE-AI framework; the EU AI Act and PRA SS1/23 if operating there
Volume, thresholds, systems and which rules apply are this topic’s teaching assumptions, not any real bank’s.
Current with
| Model Context Protocol | spec 2026-07-28 |
|---|---|
| Agent2Agent (A2A) | v1.0 · Mar 2026 |
| OWASP Top 10 for LLM Apps | 2026 list |
| OWASP Top 10 for Agentic Apps | 2026 · 9 Dec 2025 |
| OpenTelemetry GenAI conventions | agent + tool spans |
| NIST AI 600-1 GenAI Profile | Jul 2024 · 12 risks |
| EU AI Act + Digital Omnibus | in force 27 Jul 2026 |
| RBI FREE-AI | 13 Aug 2025 · 26 recs |
| DPDP Rules 2025 | main duties about May 2027 |
| PRA SS1/23 model risk | since 17 May 2024 |
| Claude API pricing | read 18 Nov 2026 |
10 lessons
From “should this be an agent?” to the invoice.
- 01ComingWorkflow or agent? Pick the simplest thing that worksANTHROPIC · BUILDING EFFECTIVE AGENTS
- 0216 minAnatomy of a production agent9 COMPONENTS · INTERACTIVE
- 03ComingTools over MCP: stateless servers, auth, least privilegeMCP 2026-07-28
- 04ComingAgents talking to agentsA2A v1.0 · AGENT CARDS
- 05ComingMemory and retrieval without poisoningASI06 · LLM09:2026
- 06ComingGuardrails, mapped to the OWASP listsLLM 2026 · AGENTIC 2026
- 07ComingHumans in the loop for irreversible actionsAPPROVAL THRESHOLDS
- 08ComingEvals that predict production: pass^kτ-BENCH
- 09ComingTracing agents with OpenTelemetryGEN_AI.* SPANS
- 10ComingCost, latency and capacityCACHING · BATCH · ROUTING