AIGenAI & LLMs

What an AI agent actually is, and where the hype ends

The term "AI agent" is applied to everything from a simple chatbot to autonomous software that books flights and writes code. This article cuts through the noise to explain what agents genuinely are, how they work mechanically, and when they are worth deploying.

Listen to the podcast

4 min

Chapters

Key takeaways

  • Ask any vendor what happens when step four is wrong and who finds out before it reaches a customer.
  • Limit agents to three to five steps in a domain with clear right answers where mistakes are cheap or reversible.
  • Treat chained reliability as multiplication: 0.9 across ten steps is roughly a 35 percent success rate.
  • Do not pay autonomous prices for work a human still reviews, which is an assistant rather than an agent.
  • Start with narrow, repetitive, high volume tasks that have a verification step, then extend the leash slowly.

Episode page and full transcript →

The word "agent" has been attached to so many products in the past two years that it has nearly lost meaning. Salesforce calls its Agentforce platform a suite of autonomous agents. Microsoft embeds "Copilot agents" into Teams and SharePoint. OpenAI markets operator-style agents through its API. Strip away the branding and a real technical concept sits underneath, one that is genuinely different from a standard chatbot and genuinely more complicated to run well.

The concept worth understanding is this: an AI agent is a software system that uses a language model to decide, in a loop, what action to take next, executes that action against real tools or data, observes the result, and then decides again. The loop continues until the task is done or the agent gives up. That is the whole thing. Everything else is marketing on top.

Why multi-step workflows push managers past chatbots

Most interactions with AI at work are single-turn: you type a prompt, you get an answer, you copy it into a document. That model works well for summarisation, drafting, and quick analysis. It breaks down when the task requires multiple steps, conditional logic, or access to live systems.

Imagine asking an AI to analyse your company's customer churn for Q3, pull the relevant Salesforce records, cross-reference them against support ticket volume in Zendesk, and draft a one-page memo with recommendations. A chatbot cannot do this. It has no access to those systems and no ability to decide what to do when the Salesforce API returns an error. An agent, properly built, can handle each of those steps sequentially, adapting as it goes.

This matters because the productivity ceiling of single-turn AI is real. Companies that have deployed agents for structured workflows, including JP Morgan for document review and Klarna for customer service routing, report that the value comes specifically from automation across multiple connected steps, not from any single AI response being better. The distinction between "AI that answers questions" and "AI that completes processes" is the line between tool and agent.

How does an AI agent's reasoning loop work?

At the center of any agent is a reasoning loop. The language model receives a goal and a description of available tools. It produces a plan, often just one immediate step. The surrounding software executes that step, whether that is a web search, a database query, or an API call. The result comes back to the model. The model decides what to do next.

A concrete example: you ask an agent to find the three most recent analyst reports on semiconductor demand and summarise the key disagreements. The agent calls a web search tool, reads the returned URLs, decides which look credible, calls a document-reading tool on each, synthesises the content, and produces a structured output. If one URL times out, it retries or skips. You see only the final memo.

The tools available to an agent can be almost anything with an API: calendars, code execution environments, internal databases, email, browser control. The model does not need to be specially trained on these tools; it needs a clear written description of what each tool does and what inputs it expects. This is why the quality of tool descriptions matters enormously in practice and is frequently where real deployments fail.

There is also a memory question. By default, language models have no memory between sessions. Agents can be given short-term memory (the ongoing conversation), longer-term memory stored in a vector database, and access to structured records. Managing what the agent remembers and forgets is a design decision with real consequences for both accuracy and data privacy.

Where reasoning models help agent planning

Standard language models produce a response in one forward pass. Reasoning models, like OpenAI's o-series or Google DeepMind's Gemini 2.0 Flash Thinking, generate an internal chain of thought before producing output. For agent tasks that require multi-step planning or error recovery, this matters. A reasoning model is more likely to catch its own mistakes mid-loop and adjust. For simple tasks, the additional compute cost is not justified. Matching model type to task complexity is a real engineering decision, not a default.

When should you use an AI agent?

Agents are worth considering when the task is multi-step, when it requires real-time data the model cannot have memorised, and when the cost of a wrong action is recoverable. Document research, competitive monitoring, structured data gathering, and code generation pipelines are good candidates. The economics can also work: an agent running a four-hour research task overnight at API cost may replace several hours of analyst time.

Agents are a poor fit when the task is genuinely simple, when errors are hard to reverse, or when the system needs to be auditable at every decision point. An agent deciding to send emails to customers, delete database records, or execute financial transactions is an agent where a single reasoning error has consequences that compound. In those domains, the right architecture is a human reviewing proposed actions before execution, which is sometimes called a "human in the loop" design and is not a limitation so much as a sensible constraint.

The failure mode to watch for is what practitioners call "agent drift": the model pursues a plausible-looking path that diverges from the actual goal, spending compute and API calls on actions that do not contribute to the outcome. This happens more often with vague goals and with long task horizons. The fix is to decompose goals more tightly and to set explicit checkpoints where a human or a secondary model reviews progress.

One more honest point on the current state: most vendor demos show agents completing tasks cleanly. Production deployments are messier. Tool calls fail, APIs change, models hallucinate tool syntax. Teams building agents seriously at firms like Palantir and Accenture's AI practices report that the engineering work around reliability, retry logic, and error handling often exceeds the work on the model itself.

Agents are a real and useful category of AI system. They are also demanding to deploy well, and the gap between a polished demo and a reliable production workflow is larger than most vendor materials suggest. The practical question is not whether agents are impressive but whether a specific workflow has the structure, the tooling, and the error tolerance to make one worth building.

Frequently asked questions

What is the difference between an AI agent and a chatbot?

A chatbot answers in a single turn, while an AI agent runs a loop: it decides an action, executes it against real tools or data, observes the result, then decides again until the task is done. That loop lets an agent pull Salesforce records, cross-reference Zendesk tickets and draft a memo, which a chatbot cannot do.

What is agent drift and how do you prevent it?

Agent drift is when the model follows a plausible-looking path that diverges from the actual goal, burning compute and API calls on actions that do not move the task forward. It happens most with vague goals and long task horizons. The fix is tighter goal decomposition plus explicit checkpoints where a human or a secondary model reviews progress.

Which tasks are a bad fit for AI agents?

AI agents are a poor fit when the task is simple, when errors are hard to reverse, or when every decision point must be auditable. Sending customer emails, deleting database records or executing financial transactions are cases where one reasoning error compounds, so a human in the loop reviewing proposed actions before execution is the right design.

Why do AI agents fail in production when demos work?

Production agents fail because tool calls break, APIs change and models hallucinate tool syntax, none of which shows up in a scripted vendor demo. Teams at firms like Palantir and Accenture's AI practices report that reliability, retry logic and error handling often take more engineering effort than the model work itself. Tool descriptions are another frequent failure point.

Go deeper

The lessons that take this article further, free to read.

  1. 1What an AI agent really is: the perceive, plan, act, observe loopAI agents: design, build & operate
  2. 2Agents vs workflows vs automations: choosing the right level of autonomyAI agents: design, build & operate
  3. 3Tools and function calling: giving your agent handsAI agents: design, build & operate
  4. 4Guardrails, permissions, and human-in-the-loopAI agents: design, build & operate
  5. 5Cost, latency, and reliability: shipping agents to productionAI agents: design, build & operate

Finished reading?

Validate your read to earn XP and feed your radar.