← Back to blog
AI Engineering2026-10-17·9 min

AI Agents in Production: What Actually Works (and What Fails)

Workflows versus agents, the real cost in tokens, benchmarks, reliability and security: a clear-eyed look at AI agents in production, grounded in primary sources.

By Alpha Oumar Sow

AI agents have entered the engineering phase. After two years of spectacular demonstrations, the question on the minds of SMB executives is no longer "does it work?" but "what holds up in production, at what cost, and with what guardrails?". Rather than rely on impressions, this text synthesizes primary sources — Anthropic's engineering publications, academic benchmarks (τ-bench, GAIA, METR), and security frameworks (OWASP, NIST). The goal: to separate, without hype, what genuinely works from what fails. it synthesizes primary sources — Anthropic's engineering publications, academic benchmarks (τ-bench, GAIA, METR), and security frameworks (OWASP, NIST). The goal: to separate, without hype, what genuinely works from what fails.

The Foundational Distinction: Workflow or Agent

In its guide "Building effective agents" (2024), Anthropic draws a simple but decisive distinction. A workflow is a pipeline where the orchestration of steps is written in advance in code: the language model executes each step but does not decide the sequence. An agent, by contrast, receives an objective and decides for itself which steps to take, which tools to call, and when to stop.

The guide's central recommendation comes down to one sentence: start with the simplest solution, and add autonomy only when it delivers a demonstrated gain. This is an engineering principle, not an aesthetic preference. A workflow is predictable, testable, inexpensive and easy to audit. An agent is flexible, costly and hard to evaluate. A significant share of failed projects chose an agent where a deterministic three-step workflow would have sufficed.

The Agent-Computer Interface Matters as Much as the Model

Anthropic insists on a point that is often overlooked: the ACI (Agent-Computer Interface), meaning the way tools are described, named and constrained. A well-designed ACI — clear documentation for each tool, unambiguous parameters, actionable errors — directly influences the success rate, sometimes more than a change of model. Before switching models, then, you should look at the tooling and the quality of the system instructions.

What the Benchmarks Really Measure

τ-bench (2024, arXiv:2406.12045) evaluates agents in realistic usage situations, with tools and business rules. The result is counterintuitive: the best *function-calling* agents complete fewer than 50% of tasks. More troubling still, the *pass^8* score — which requires eight consecutive successes — falls below 25% in the retail domain. Translated for an executive: agents don't merely fail sometimes, they are inconsistent. That is the difference between "it worked in the demo" and "we can rely on it".

GAIA (2023, arXiv:2311.12983) documents the same gap from another angle: there is a world of difference between a model that *answers* a question and an assistant that *acts* on sources and tools. That world — the world of reliable action — is precisely what companies are funding, and it is where the difficulties concentrate.

Both benchmarks say the same thing in two different ways: demonstration and production do not measure the same thing. A demo succeeds once; a production system must succeed every time, on cases you did not choose. That is the whole difference between a sales asset and an operating system.

The Hidden Cost of Agents

In describing its multi-agent research system (2025), Anthropic quantified the energy cost of autonomy: a single agent consumes roughly 4 times the tokens of a simple chat exchange; a multi-agent system climbs to roughly 15 times. That same multi-agent system improved performance by 90.2% on an internal research evaluation.

But the detail that matters is elsewhere: token consumption alone explains about 80% of the variance in performance. In other words, much of what gets attributed to the "magic" of multi-agent architectures is really a compute-budget effect. This is not an argument against agents — it is an argument for managing cost as a first-order variable, on par with quality. Everyone who is budgeting an agent project should be able to state that ratio, task by task.

Reliability: The Real Bottleneck

Recent surveys on agent evaluation (arXiv:2507.21504 and arXiv:2503.16416, 2025) converge on an operational definition: reliability means repeatable behaviour. Their formula is blunt — "*an occasional success is not enough*". A system that succeeds one time in three is not a system, it is a demonstration. This shifts the centre of gravity of evaluation: we no longer measure only the best attainable performance (*pass@k*, which gives the model many attempts), but guaranteed performance (*pass^k*, which demands consistent success).

METR (arXiv:2503.14499, 2025) offers a trend measurement: the task horizon an agent can complete on its own with 50% success roughly doubles every 7 months. This is a historical observation about past models, not a prediction: extrapolating that curve would be a methodological error. The lesson for an executive is to build systems for the present that has been measured, and to revisit assumptions at regular intervals — not to plan on an extrapolation. The curve is useful as context, not as a projection of your own roadmap.

Security: Prompt Injection and Excessive Agency

The OWASP GenAI Top 10 for LLM Applications 2025 identifies two central risks for agent systems. LLM01 — Prompt Injection: a malicious instruction hidden in a document, an email or a web page the agent consults can hijack its behaviour. LLM06 — Excessive Agency: an agent granted too many permissions and too little supervision can act at a disproportionate scale, including destructively.

The countermeasure is a classic of software security, transposed: the principle of least privilege (the agent holds only the rights strictly necessary), human validation of irreversible actions (sending money, deletion, sending external emails), and full logging of tool calls. These measures are inexpensive compared with the damage an unsupervised agent can do in a single afternoon.

What Actually Works in Production

  • Workflows for the predictable, agents for the fuzzy. If the sequence is known, code it.
  • Simplicity first. Add autonomy only when the need is proven.
  • A carefully designed ACI. Invest as much in tool descriptions as in the prompt.
  • Observability and continuous evaluation. Without measuring *pass^k*, you cannot steer.
  • Guardrails and least privilege. An agent is an attack surface as much as a tool.
  • A human in the loop for the irreversible. Fully automating sensitive decisions remains premature.

The market is, in fact, doing its own sorting. According to Gartner, 30% of GenAI projects will be abandoned after the proof-of-concept stage by the end of 2025. That is not a verdict on the technology, but a verdict on scoping: agents were funded where workflows were needed, and autonomy where guardrails were needed.

One encouraging sign, however: the organizations that succeed are not the ones deploying the most agents, but the ones able to say "no" to misplaced autonomy. AI maturity looks less like a race toward the most advanced tool than like a discipline of design.

Conclusion: A Decision Grid

Before green-lighting an agent project, put these five questions to your technical team:

  1. Workflow or agent? Is the sequence genuinely unpredictable?
  2. What is the token cost per task? And what is the target monthly budget?
  3. What measured reliability? Do you have a numeric *pass^k*, not a demo?
  4. What rights does the agent have? Is least privilege applied?
  5. Which actions require a human? An explicit list of irreversible operations.

If the answers are vague, the problem is not the model: it is the design. The good news is that these are solvable problems, given ordinary engineering discipline — and a great deal of restraint.

The habit worth building for the long term is simple: treat every agent like a new colleague to whom you delegate responsibility. You give them precise tools, limited rights, supervision at the start, and you measure their work before granting autonomy. Applied consistently, this posture turns the promises of agents into verifiable results.

Sources and references

  1. 1. Anthropic, "Building effective agents", 2024
  2. 2. Anthropic, "How we built our multi-agent research system", 2025
  3. 3. τ-bench, "A Benchmark for Tool-Agent-User Interaction in Real-World Domains", arXiv:2406.12045, 2024.
  4. 4. GAIA, "A Benchmark for General AI Assistants", arXiv:2311.12983, 2023.
  5. 5. Surveys on agent evaluation, arXiv:2507.21504 and arXiv:2503.16416, 2025.
  6. 6. METR, "Measuring AI Ability to Complete Long Tasks", arXiv:2503.14499, 2025.
  7. 7. OWASP, "Top 10 for LLM Applications — GenAI 2025", LLM01 / LLM06.
  8. 8. Gartner, "Gartner Predicts 30% of Generative AI Projects Will Be Abandoned After Proof of Concept By End of 2025", press release, July 29, 2024

Links verified on 17 October 2026.

Share:

Ready to take action?

Get a free AI assessment of your organization in 5 minutes. We analyze your maturity and provide a personalized roadmap.

Free Assessment
Ready to take action?

Ready to transform your organization with AI?

Book a free 30-minute call to discuss your needs.

🍪 We respect your privacy

We use cookies to analyze traffic. Learn more