Agentic AI in production: what actually works, what breaks, and what I won't ship

The short answer
An AI agent works in production when its job is narrow, its tools are typed and few, every irreversible action needs confirmation, and every run is logged end to end. It breaks when it is asked to be general, given open-ended tools, or trusted to act without a record. The demo is the easy part.
The gap between the demo and Tuesday morning
Every agent demo I have ever seen works. The founder types a request, the agent plans, calls three tools, and the room nods. Then it goes live, a customer phrases the same request slightly differently, and it books the wrong day, emails the wrong person, or confidently does nothing. Nobody is in the room to nod.
The difference between those two moments is not the model. It is everything around the model. I have shipped more than sixty agentic systems now, and the ones still running a year later all share the same boring habits.
What holds up
- One job per agent. 'Qualify inbound leads and book a call' survives. 'Help with sales' does not. When a client asks for a general assistant, I split it into three or four agents with a router in front.
- Typed tools with small surfaces. A tool called update_booking(id, new_time) is safe. A tool called run_sql(query) is a liability dressed as flexibility.
- Read before write, confirm before anything you cannot undo. Cancelling, refunding, sending, deleting: the agent proposes, a person or a rule approves.
- A log per run: the prompt, every tool call, every result, the final answer. When something goes wrong at 2am, you read the log, not the vibes.
- A fallback that says 'I don't know, here is a human'. The honest no is worth more than a confident maybe.

What breaks
- Open-ended planning loops. Give an agent twenty steps of freedom and it will find step twenty-one.
- Tools that return walls of text. The model reads a 40-page PDF dump, loses the thread, and answers from the wrong page. Return the three fields it needs.
- Hidden state. If the agent remembers something the user cannot see, the next answer looks clever until it looks like a mistake.
- Skipping evaluation. Teams test with five happy-path prompts and call it done. Real traffic is a hundred ways to ask the same thing badly.
Side by side
| Demo agent | Production agent | |
|---|---|---|
| Scope | Anything the user asks | One job, clearly bounded |
| Tools | Many, generic | Few, typed, least privilege |
| Irreversible actions | Just does them | Proposes, then confirms |
| Memory | Hidden context | Visible, scoped, expiring |
| Failure | Guesses | Says so and hands off |
| Observability | Console logs | Per-run trace, cost, latency |
A note on MCP and tool standards
The Model Context Protocol has done something useful: it made tools portable. A connector I write for one client's CRM can be reused with a different model next year. I now build integrations as MCP servers by default and keep the agent itself thin. That also means the security review happens on the connector, once, instead of inside every prompt.
That said, a standard does not make a tool safe. The permission model is still your job.
What I won't ship
I will not ship an agent that can move money, delete records, or send to a customer list without a confirmation step, regardless of how good the evals look. I will not ship one without a kill switch the client can flip themselves. And I will not ship one that is marketed as replacing a team when it is really removing the dull forty percent of their day. The second framing is true and sells itself. The first one gets you a cancelled contract in month three.
How to start
- Pick the single most repetitive task that touches a system with an API. That is agent number one.
- Write down what it may read, what it may write, and what it must ask about. That document is your spec.
- Run it in shadow mode for two weeks: it proposes, a person approves, you measure agreement. Then let it act on the cases where agreement was near perfect.
Related reading
Sources
Related service
AI Agent Development
Agents that plan, call tools and finish real work: tool calling, retrieval, memory, orchestration and guardrails, engineered for production rather than a demo. Sohaib has delivered 60+ agent builds, from recruitment to legal intake to government documents.

