Urgent.News

What's breaking now, across thousands of outlets.

AI

Why Most AI Agents Fail in Production

The demo is flawless. The agent reads the support ticket, categorizes it, looks up the customer, drafts a response, updates the CRM, and posts a summary in Slack. Everyone nods. Someone says, “This is going to save us hundreds of hours.” Two weeks later, the same agent has replied to the wrong customer, created thirty-one duplicate tasks, retried a refund until the payment provider rate-limited…

The demonstration of an AI agent appears flawless. The agent processes a support ticket, categorizes it, retrieves customer information, composes a response, updates Customer Relationship Management (CRM) records, and posts a summary in Slack. This impresses the onlookers, who comment that the agent could potentially save hundreds of hours.

However, two weeks later, the same agent has made several errors: it replied to the wrong customer, created thirty-one duplicate tasks, repeatedly tried a refund until the payment provider rate-limited it, and exhausted the monthly API budget within an afternoon. The model did not become unintelligent; rather, the system surrounding it was not ready for production.

Most failures of AI agents in production are not due to the model lacking intelligence. Instead, they stem from insufficient engineering controls such as weak permissions, absence of evaluations, unclear tool contracts, overload of context, prompt injection, implicit state, uncontrolled retries, and no real failure path. An AI agent is not merely a chatbot with additional plugins; it constitutes a loop: observe, reason, choose tool, act, observe result, and repeat.

This loop is powerful but also how minor errors can escalate into significant incidents. In summary, AI agents commonly fail in production because teams develop them similarly to demonstrations rather than distributed systems. The most frequent failure modes include overprivileged tools, inadequate evaluation suite, unclear tool contracts, treating context as insignificant, retries lacking idempotency, prompt injection from untrusted input, lack of durable run state, unbounded cost and latency, and absence of an owned failure path.

To rectify this issue, the top priority should be to separate what the agent can read from what it can modify.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Seattle Times, Newsday sue OpenAI and Microsoft; allege copyright infringement

The Seattle Times and Newsday sued OpenAI and Microsoft on Friday, alleging in federal court that the tech companies copied the newspapers’ journalism without permission to train their AI systems. The suit in the US District Court for the Southern District of New York alleges that OpenAI and Microsoft scraped the newspapers’ websites…

More from Saturday 5 September →