Kkarthik.dev
Back to blogAI Agents

Why Most AI Agent Demos Wouldn't Survive a Week in Production

2026-11-23 · 3 min read

I run a tool-calling Claude agent that handles 2,000+ conversations a month. The prompt was maybe 10% of the work. The other 90% was a list of boring questions that demos never have to answer.

What a demo needs

One happy path. The user asks the expected question, the tool returns the expected data, the agent replies, everyone claps.

What production needs

What happens when the tool call fails? APIs time out, return errors, or return data in a shape you didn't expect. The agent needs to notice, retry safely or say honestly that it couldn't do something — never pretend.

What happens when the user goes silent? Half-finished conversations are normal. The agent needs to resume cleanly or close the loop.

What must it never do? Ask for an OTP, invent a price, promise a refund. These rules have to be written down first, and ideally enforced in code.

Who gets alerted when it's stuck? An agent that keeps trying when it's confused makes things worse. It needs an exit to a human.

Can you read the logs at 2 AM? If you can't see which tools were called, with what arguments, and why the agent chose them, you can't fix anything.

A simple test

Ask of your agent: If this tool fails right now, what does the user see? If the answer is "I don't know", it's a demo. That's fine — just don't call it a product yet.

What I do now

  • Write the failure modes before the prompt.
  • Give every agent an escalation path.
  • Inject failures on purpose: timeouts, bad tool responses, failures halfway through a task. (That's what my open-source agent-reliability work is about.)
  • Evaluate what the agent attempted, not only what got through.

The next challenge in AI isn't making agents smarter. It's making them trustworthy enough to run when nobody's watching.