AI Agents in Production · Lesson 1 of 14 · 2 min read · 5 min video
From demo to production: what breaks
Why agents that shine in a demo fail with real users, and what production really demands.
📄 Download slides (PDF)Building an agent demo takes an afternoon. You give a model a few tools, ask it to book a table at a Beach Road restaurant, and it works. Then real users arrive and it falls apart. This course covers what happens between "it worked once" and "it works every day".
Why demos lie
A demo is one happy path, run by the person who built it. Production is thousands of messy paths, run by people who never read your prompt:
- Inputs vary: typos, Telugu-English mix, half a question, three questions at once
- Tools fail: APIs time out, return empty results or change their format
- Runs get long: ten steps instead of three, and small errors compound at every step
- Someone attacks it: text hidden in an email or web page tells the agent to do something else
If each step is 95% reliable, a 10-step task succeeds only about 60% of the time. Reliability multiplies down.
What production demands
- Correctness: it finishes the task, or fails clearly and safely
- Safety: it can't be tricked into harmful actions, and risky actions need approval
- Visibility: you can see every step it took and why
- Cost and speed: each task has a budget in rupees and seconds
- Recoverability: a crash halfway through doesn't double-charge a customer
The mindset shift
Stop asking "Is the model smart enough?" and start asking "What's the system around the model?" Production agents are mostly ordinary engineering: validation, retries, logs, tests and permissions, with an LLM in the middle.
In one line
A demo proves an agent can work. Production proves it works reliably, safely, visibly and affordably, and that's mostly engineering around the model.
Share with a friend