An AI Engineer with 7 years of experience told me he could build autonomous AI agents for enterprise workflows.
His resume mentioned LangGraph, CrewAI, MCP, function calling, and multi-agent orchestration.
So I gave him a production scenario.
Problem: Build an AI agent that processes customer support tickets. The agent should read incoming tickets, search internal documentation, call APIs, and resolve common issues automatically.
He confidently explained the architecture.
LLM + tools + memory + orchestrator + vector database.
A reasonable design.
But then I changed one condition.
Your agent goes into an infinite loop.
It keeps calling the same external API because the tool response doesn't satisfy its goal.
Nobody notices for 6 hours.
The next morning, your company receives a $12,000 API bill.
How would you design the system to prevent this?
He said:
"I'll improve the system prompt and tell the agent not to repeat tool calls."
So I asked:
What limits the number of tool calls per task?
How do you enforce spending limits outside the LLM? What happens when a tool times out after performing an action? How do you detect repetitive agent behavior? When should the workflow stop and escalate to a human? He knew how to connect agents to tools.
But he couldn't explain execution budgets, circuit breakers, idempotency, or termination conditions.
And that's where the real engineering begins.
An AI agent that can execute tasks autonomously can also make mistakes autonomously.
The difference between a demo and a production system is what happens when the agent refuses to stop.
Would you let this engineer deploy autonomous agents with access to production APIs?
