# £85K Burned on a Failed PoC: What Actually Gets Agents to Production — Sandipan Bhaumik, Databricks
<!--
ref: @content/youtube/aie/2026-06-18-85k-burned-on-a-failed-poc
version: 3
updated_at: 2026-10-31T19:26:44.964Z
-->

Sandipan Bhaumik (AI Engineer, 2026-06-18): Bhaumik's central inversion: teams start by picking a model and end with an unexplainable production system, when the model choice should come near the end.

*Synthesized from Sandipan Bhaumik on AI Engineer, 2026-06-18.*

Sandipan Bhaumik ("Sandy") is a technical lead for data and AI at Databricks, previously a principal architect for data and AI at AWS for five years, working mostly with B2B software companies and regulated industries like financial services.

## Core Thesis

Bhaumik's central inversion: teams start by picking a model and end with an unexplainable production system, when the model choice should come near the end. In the eight-week engagement he uses as his case study, **the model was selected in week seven** — because once an evaluation dataset exists, choosing a model is a measurement, not a debate. Everything before that is the five pillars that make an agent visible, measurable, and accountable.

## Key Insights

- **The failure pattern he saw in every customer conversation**: pressure from the top to do something with AI → the conversation opens with "GPT or Claude?" → features are argued over → a demo is built against predictable datasets and limited scenarios → leadership is delighted and signs off → weeks after production launch, everyone is asking why the AI answers nothing like it did in the demo. The result is not just no ROI but sunk cost on a demo that could never scale.
- Three gaps underlie every one of those failures: the **observability gap** (no ability to trace what the system decided), the **evaluation gap** (nobody defined the one thing that matters to the business, or built a system to measure it continuously), and the **governance gap** (no answer to who is accountable at 3am, who owns the data assets feeding responses, or what happens when the agent says something damaging to a customer).
- **Pillar 1 — Evaluation as specification.** Success must be numeric, not "accurate": what accuracy level, what false-positive rate is tolerable, what deflection rate. Build the golden dataset by asking domain experts what a human support agent actually answers, including the gray areas and confusing questions — then automate the compare-to-expected pipeline so it can run against live production responses.
- **The three evaluation layers**, and the third is the one teams skip:
  - **Deterministic** — regex-grade checks (email and phone formats) plus classic ML for NER, intent classification, and PII detection. Cheap, well-understood, get it out of the way first.
  - **Semantic / non-deterministic** — groundedness, relevance, safety, typically via LLM-as-judge, where a separate model from the primary judges the primary's output against criteria and the evaluation dataset.
  - **Behavioral** — is the agent calling the right tools, and is it looping? His worked example: the user asks for an account balance, the answer is correct, the semantic check passes — and the trace shows the agent **made three separate database calls** to get it, from retries and duplicates. Three calls is invisible in a demo and expensive across thousands of daily production queries.
- **Pillar 2 — Observability/tracing**, illustrated with a retail banking chatbot handling "I've been charged an overdraft fee, can you waive it?" The trace records intent classification with duration and confidence score, the API call to the customer database for account details, the RAG vector-database retrieval of the overdraft policy document, the reasoning step, and the final guardrail check. Without that, a customer dispute leaves you with nothing to inspect, and the default resolution becomes handing out a goodwill discount. In regulated industries and much of Europe, you **cannot onboard AI into production without tracing** — regulators mandate it.
- Tracing pays off live, not just forensically: with online monitoring, duplicate calls trigger fallback strategies, and failing calls get a bounded policy — **retry at most three times, then report or hand to a human**.
- **Pillar 3 — Data foundation, where Bhaumik spends roughly 60% of his project time.** His framing of why it changed: data was always built for humans, and humans are forgiving — you spot a wrong number in a report and ask someone to fix it. Agents don't forgive; they find the wrong data and state the wrong answer confidently, and you never know.
- Data foundation splits into **question data** (what the AI needs to answer with — pre-training, post-training, and live API-reachable sources) and **tracking data** (the trace corpus itself). Tracking data needs a real schema and strategy, because enterprises run agents across CrewAI, LangChain, and multiple clouds simultaneously, and the traces must land in one central place to serve operational dashboards, first-line support health monitoring, auditors and regulators, and automated LLM-judge runs.
- The Databricks stack he maps this onto: cloud object storage (AWS, Azure, GCP) at the base; **Delta Lake** giving database properties over raw files via manifest files and incremental loading; **Unity Catalog** as the single governance layer for permissions, Delta Sharing, discovery, ownership, and metadata tagging — with the specific note that table and column descriptions plus PII tags are what give an AI usable context when it queries those tables; then Mosaic AI, warehousing/BI, Genie for text-to-SQL, MLflow's automatic and custom LLM judges that run on traces, and Agent Bricks packaging these pillars.
- **Pillar 4 — Orchestration patterns**, needed once you pass roughly five agents and coordination complexity grows non-linearly:
  - **Orchestrator-worker** — every request routes through a central orchestrator that dispatches by specialist skill; the payoff is central control and one log to read when something breaks.
  - **Choreography** — autonomous agents subscribe to a message bus and react to events they care about, running in parallel with no orchestrator round-trips, which **reduces latency**. His example is a mortgage application where one agent works customer details while another works approval details.
  - **Human in the loop** — a confidence threshold that, when crossed, pulls a human into the workflow to inspect and act.
- **Pillar 5 — Governance (of AI, beyond data governance).** Audit trails for every action, user connection, and request; pre-validation of personal information via NER and pattern matching — **his engagement caught 47 PII breaches during the testing phase** on this layer alone; **prompt versioning treated as enterprise change management**, not a git commit; and **model change management**, because providers upgrade models and public benchmark boards say nothing about your data. Your evaluation dataset is what tells you whether an upgraded model is better *for you* — and from a risk standpoint you need the ability to switch models at all.
- **The case study.** A retail bank building a chatbot ~18 months prior faced **~20,000 customer calls per month**, of which **60% were simple queries** (balance checks, overdraft questions). They **spent about £85,000 over six months on a PoC that failed** — nobody could say why it failed in production, nobody could measure it, nobody was accountable.
- The rebuild ran eight weeks with the sequence inverted. **Weeks 1-2: evaluation layer** — collect **200 real cases** of human agents answering customers, define success numerically (**60% deflection, ~85% accuracy target**, plus latency and operational targets), and build the automated pipeline that captures a live question-and-response pair, scores it against the dataset, and routes anything below threshold to a human. **Week 2 onward: foundation** — API connections to the database (pre-MCP, direct API calls), connection security and tracing, distributed storage, trace collection. This is where the duplicate API calls and the cause of dropping customer satisfaction surfaced. **Weeks 7-8: models** — run candidates against the evaluation dataset, compare to expected answers, compute accuracy, decide. That decision took no time at all.
- **The evaluation dataset is a living system.** Every failure that gets fixed — a prompt change, a tool-calling change — becomes a new test case, so the suite grows continuously and the system improves with it. There is no correct starting number; 200 was simply where they began.
- **The incident this caught post-launch**: the bank changed interest-rate policies and notified customers by email and in-app, but chatbot answers to follow-up questions started drawing thumbs-down. CSAT dropped, the monitoring caught the drop, and the traces showed the agent retrieving an **outdated policy document — the new one's embeddings had never made it into the vector database**. Without the measurement layer, the symptom would have been unexplained dissatisfaction.
- **Production incident playbook** (the artifact he says teams most often lack): detect via the eval dashboard → diagnose via traces → contain (roll back the offending prompt version, deflect to a human, or apply saga / compensation / circuit-breaker fault-tolerance patterns) → fix using the test case library and LLM-judge reports → add the new test cases back into the eval suite. Wire the whole thing into the organization's existing ITSM so the right person is alerted and downstream systems are protected.
- Three lessons he flags as easily missed: (1) the growing test library **needs an owner and categorized rows** — tag a case like "agent did not request login credentials" under security, so you can find what changed and compare against it; (2) prompt-versioning commit messages need governance — record what failure prompted the change and what it is meant to correct, or the version history is untraceable; (3) **layer-three behavioral evals get expensive fast** — re-running 300-500 rows on every tool-call fix costs real money, so gate CI on a small subset per prompt change and run the full suite only on merge to main.

## Actionable Takeaways

1. Choose the model last. Build the eval dataset first, then run candidates against it and read the number — the eight-week rebuild picked its model in week seven and the choice was immediate.
2. Write success as numbers tied to the business: deflection rate, accuracy target, tolerable false-positive rate, latency. "Accurate" is not a specification.
3. Build the golden set from what your human experts actually say to customers today, including the edge and gray-area cases, and start small — 200 cases was enough to launch on.
4. Implement all three eval layers and do not stop at two. Deterministic checks (regex, NER, PII, intent) are cheap; LLM-as-judge covers groundedness and safety; behavioral evals on tool calls and loops catch the duplicate-call class that passes every other check and only costs you at production volume.
5. Instrument the full decision trace — intent classification with confidence and duration, each retrieval, each API call, the reasoning step, the guardrail check — before launch, not after the first dispute.
6. Bound retries in policy: three attempts, then report or escalate to a human. Wire fallbacks to fire on duplicate-call detection in online monitoring.
7. Land traces from every framework and cloud in one governed store with a designed schema, and tag your data assets (table/column descriptions, PII flags) so agents inherit that context when they query.
8. Pick an orchestration pattern deliberately once you pass ~5 agents: orchestrator-worker when you want central control and one log; choreography over a message bus when agents are independent and latency matters; human-in-the-loop gated on a confidence threshold.
9. Treat prompts as code under change management, with commit messages documenting the failure that caused the change and what it should fix.
10. Own model change management: re-run your eval dataset on every provider model upgrade rather than trusting public benchmarks, and keep the ability to switch models as a risk control.
11. Control eval cost in CI — subset the dataset on prompt-change runs, full suite only on merge to main.
12. Write the incident playbook before the incident: detect (eval dashboard) → diagnose (traces) → contain (prompt rollback, human deflection, circuit breaker) → fix → fold the case into the eval suite, integrated with your ITSM alerting.
13. Give the test library an owner and categorize every row by problem class, or it becomes unusable as it grows.

## Notable Quotes

> "Data was always built for humans, and humans are always forgiving. Agents don't forgive you." — Sandipan Bhaumik

> "Evaluation is basically specification for your AI system." — Sandipan Bhaumik

> "Three API calls in a demo environment is fine. In production, with thousands of queries every day, that's an expensive operation." — Sandipan Bhaumik

> "We selected the model in week seven of an eight-week PoC." — Sandipan Bhaumik

> "Your evaluation dataset is a living system." — Sandipan Bhaumik

> "Who do I go to when something happens at 3:00 in the morning?" — Sandipan Bhaumik

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*