Dr. Pranay Jha

VMware • Cloud • AI • Enterprise Architecture

FORMERLY
VMware Insight & Cloud Pathshala
What began over a decade ago as a passion for sharing knowledge has evolved into a unified platform for Enterprise AI, VMware, Cloud Architecture, Research, and Modern Infrastructure.

AI Agents: What Actually Works, and What’s Hype (GenAI Series, Part 16)

An AI agent is a model in a loop that plans, calls tools, and observes results. What agents genuinely do well today, and why reliability, not intelligence, is the real bottleneck.

10 minutes

Read Time

Generative AI Series · Part 16 of 30

TL;DR · Key Takeaways

  • An AI agent is a model put in a loop: it can plan, call tools (search, code, APIs), observe the result, and decide its next move.
  • Tool calling is the core mechanism. The model does not act directly; it requests an action in a structured form and your code runs it.
  • Agents work well today when the task is bounded, the tools are reliable, and a human stays in the loop. Coding assistants are the clearest win.
  • The hype is in long, fully autonomous chains. The bottleneck is not intelligence, it is reliability: small error rates compound badly over many steps.

The demo is intoxicating. You type “plan my weekend trip to Lisbon and book it,” and an AI agent searches flights, compares hotels, fills carts, and reports back like a tireless assistant. It feels like the future arrived early. Then you try to rely on it for something that matters, and it confidently books the wrong date, loops on a broken website, or quietly gives up halfway. Both experiences are real, and the gap between them is the most important thing to understand about agents right now. They are not fake, and they are not magic. They are a specific, powerful pattern with a specific, stubborn weakness.

What makes it an agent: the loop PLANwhat next? ACTcall a tool OBSERVEread result repeat until done… … or it gives up
A plain model answers once. An agent loops: plan, act, observe, again, until the goal is met.

What an agent actually is

Strip away the marketing and an agent is a model placed inside a loop with access to tools. A normal model takes your prompt and produces one reply. An agent is given a goal, and instead of answering once, it cycles: it decides on a next step, takes an action in the world, looks at what happened, and uses that to decide the step after. It keeps going until it judges the goal met or it runs out of road. That loop, often summarised as plan, act, observe, is the entire difference between a chatbot and an agent.

The action part runs on tool calling, and the mechanism is worth getting right because people imagine it as more magical than it is. The model cannot actually search the web or run code itself. What it can do is emit a structured request, in effect “call the function search_flights with these arguments,” which your surrounding software recognises, executes, and feeds the result back into the model’s context. The model then reads that result and decides what to do next. Every impressive agent is this unglamorous handshake repeated: the model proposes an action in words, your code performs it and reports back, around and around.

Tool calling: the model asks, your code acts MODEL YOUR APP 1. “call get_weather(city=Lisbon)” 3. returns: 24°C, clear 2. runs the tool(real API call) 4. model reads the result and writes the final answer (or calls another tool)
The model never touches the outside world directly. It requests; your code acts and reports back.

Where agents genuinely work today

Agents already earn their keep, just not where the flashiest demos point. They shine when the task is bounded, the tools are reliable, and a human is close enough to catch mistakes. Coding assistants are the standout: an agent that reads your codebase, edits files, runs the tests, sees the failures, and tries again is genuinely useful, partly because the test suite gives it an honest signal of whether each step worked. Customer-support flows, data lookups across a few internal systems, and research helpers that gather and summarise sources are other places where short, well-scoped agent loops deliver.

The common thread is a tight feedback loop and a limited blast radius. When an agent can check its own work (did the test pass, did the query return rows, did the form submit), and when a wrong step is cheap to undo, the loop becomes a strength rather than a liability. The successful agents in production today are mostly modest: a few tools, a handful of steps, clear success criteria, and a person reviewing anything consequential before it is final. That is not a failure of ambition; it is the shape that actually holds up.

It is worth watching a coding agent work, because it shows exactly why the pattern succeeds here. Give it “the login test is failing, fix it,” and it reads the failing test, forms a hypothesis, edits a file, runs the test suite, and reads the result. If the test still fails, it has an honest, automatic signal that it was wrong, so it tries a different fix rather than barrelling ahead on a false assumption. The loop self-corrects because the environment talks back in a way the agent cannot argue with: the tests either pass or they do not. Now contrast that with “book my trip.” There is no test suite for “did I pick the right flight,” the websites change under it, and a wrong click spends real money. Same loop, wildly different reliability, and the difference is entirely about whether each step can be checked and cheaply undone.

Where the hype outruns reality

The dream being sold is the fully autonomous agent that takes a vague goal and runs for fifty steps without supervision, replacing whole workflows end to end. This is where reality bites, and the reason is not that models are not smart enough. It is reliability. Each step in an agent loop has some chance of going wrong, a misread result, a bad tool call, a hallucinated assumption, and those chances multiply across a long chain. An agent that is 95% reliable per step sounds excellent until you string twenty steps together and watch the odds of a clean run collapse. Capability keeps improving; the compounding-error problem is the wall.

This is why I treat “autonomous agent” demos with friendly skepticism. A demo only has to work once, on a happy path, with someone ready to retry. Production has to work the hundredth time, on the messy path, unattended. The honest state of the art is that long autonomous chains are still brittle, and the engineering that makes agents usable is mostly about shortening the chain, adding checkpoints, and keeping a human at the decision points that matter. Bet on agents, but bet on the bounded ones.

Agents: works now vs mostly hype WORKS NOW ✓  Bounded, well-scoped tasks ✓  Reliable, well-defined tools ✓  Steps the agent can verify ✓  A human reviewing key actions ✓  Cheap-to-undo mistakes MOSTLY HYPE (FOR NOW) ✗  Long fully-autonomous chains ✗  Vague, open-ended goals ✗  No human supervision ✗  Irreversible, high-stakes actions ✗  “Set it and forget it” autonomy
The line is not how clever the task is. It is how bounded, checkable, and reversible it is.
Reality check: the right question about an agent is not “how smart is it” but “what happens when a step goes wrong, and who catches it.” If the answer is “nothing, and no one,” you do not have a product, you have a demo. Design for the failing step first, and the agent becomes something you can actually trust.
▾  Go Deeper (optional, for technical readers)

The compounding-error problem deserves real numbers, because it is the whole story. Suppose each step in an agent loop succeeds independently 95% of the time, which is generous. The probability the whole task succeeds is 0.95 raised to the number of steps. Over 5 steps that is about 77%. Over 10 steps, about 60%. Over 20 steps, about 36%. The chain does not need a catastrophic failure; ordinary, individually-rare slips multiply into a coin-flip. This is why capability gains alone do not deliver reliable long-horizon autonomy: pushing per-step reliability from 95% to 99% helps enormously (0.99 to the 20th is still about 82%), but reaching that last fraction of reliability is brutally hard, especially when tools and the messy real world are involved.

This reframes good agent engineering as reliability engineering. The practical levers all attack the exponent or the base: shorten the chain (fewer steps means fewer multiplications), raise per-step reliability with constrained tool schemas and validation, add verification so the agent checks its own work and can retry a single failed step rather than restarting, and insert human checkpoints at the irreversible moments. Frameworks like the ReAct pattern (reason, then act) and structured tool-use schemas help, but none of them repeal the math. The teams shipping useful agents are the ones who treat every extra step as a liability to be justified, not a feature to be celebrated.

This is Part 16 of a 30-part walk from zero to the infrastructure behind production AI. The full map is on the Generative AI Complete Guide. Agents lean on the tool of retrieval (Part 13) and the reliability concerns from Part 11.

The Bottom Line

An agent is a model in a loop with tools: plan, act, observe, repeat. The mechanism is real and already valuable when the task is bounded, the tools are dependable, the steps are checkable, and a human is watching the parts that matter. Coding assistants are the proof that the pattern works when it is kept honest.

The verdict I would stand behind: agents are underhyped for short, supervised tasks and overhyped for long, autonomous ones, and the dividing line is reliability, not intelligence. Build the bounded version, design for the failing step, and keep a hand on the wheel. The next part widens the lens from text to everything else, because the newest models do not just read and write, they see and hear too. Multimodal AI is where we go next.

Frequently Asked Questions

What is an AI agent?

An AI agent is a language model placed in a loop with tools: it plans a step, calls a tool, observes the result, and repeats until the goal is met. That loop is the difference between a chatbot and an agent.

Are AI agents reliable enough for production?

For short, bounded, supervised tasks with checkable steps, yes. Long, fully autonomous chains are still brittle because small per-step errors compound, so reliability, not intelligence, is the real limit.

What is tool calling?

Tool calling is how an agent acts. The model outputs a structured request to run a function or API, your software executes it, and the result is fed back into the model context for the next step.

References

Generative AI Series · Part 16 of 30
« Part 15: fine-tuning vs RAG vs prompting  |  Generative AI Complete Guide  |  Next: Part 17, multimodal AI »

About The Author


Discover more from Dr. Pranay Jha

Subscribe to get the latest posts sent to your email.

Architect’s Toolkit

About the Author

Dr. Pranay Jha is a Cloud and AI Consultant with 18+ years of experience in hybrid cloud, virtualization, and enterprise infrastructure transformation. He specializes in VMware technologies, multi-cloud strategy, and Generative AI solutions. He holds a PhD in Computer Applications with research focused on Cloud and AI, has published multiple research papers, and has been a VMware vExpert since 2016 and a VMUG Community Leader.

Discover more from Dr. Pranay Jha

Subscribe now to keep reading and get access to the full archive.

Continue reading