What Is an AI Agent? The Five Parts, Real Examples, and Where Agents Fail

Last updated: November 17, 2026
An AI agent is software you give a goal instead of a command. It decides what to do next, does it with real tools, checks what happened, and repeats until the job is done or it gets stuck. That loop is the whole difference between an agent and the chatbot you already use, and it is why an agent can finish work that a single answer cannot.
The word is everywhere now, and most of it is noise. Gartner estimates that only about 130 of the thousands of vendors selling "agentic AI" offer the real thing. The rest are chatbots and automation tools with a new label. This guide is for business owners who want to tell real agents from relabeled ones: what an AI agent is, how one works, what agents do well today, where they fail, and what to ask before you hand one your inbox.
Key Takeaways
- An agent has five parts. A model that decides, tools that act, a loop that repeats, memory that carries context, and a goal that says when to stop; a product missing one is a different kind of software.
- A chatbot answers, an automation follows fixed steps, and an agent picks its own steps. That flexibility is the feature and the risk, because the agent can also pick a wrong step.
- Agents still fail on long, open-ended work. In METR's study, models succeeded almost always on tasks taking a person under four minutes, and under 10% of the time on tasks over four hours.
- Instructions in a prompt are not a lock. A Replit coding agent deleted a production database during a code freeze after being told not to make changes without approval.
- Judge an agent by its brakes, not its brain. Ask what needs your approval, what it logs, and what it does when it is stuck, before you connect anything that matters.
What Is an AI Agent?
For a few years "agent" meant whatever the person saying it wanted it to mean. That has settled. The developer Simon Willison crowdsourced 211 definitions before settling on the one that has become the most widely used: "An LLM agent runs tools in a loop to achieve a goal."

In plain English, an AI agent is a program where an AI model is in charge of the next step. You describe the outcome you want ("find out why sales dropped last week"), and the agent works out the steps, uses software to carry them out, reads the results, and keeps going until it has an answer or needs you.
The big AI labs describe the same thing in their own words. Anthropic defines agents as "systems where LLMs dynamically direct their own processes and tool usage." OpenAI's practical guide to building agents breaks one into a model, tools, and instructions. Our glossary entry on AI agents gives the one-paragraph version. This article goes a level deeper, because the definition only becomes useful once you can see the parts.
The Five Parts of Every AI Agent
Every real AI agent has the same five parts. When a product is missing one, it is a different kind of software, which is the fastest way to see through a marketing page.
1. The model: the part that decides
The model is the large language model underneath, from OpenAI, Anthropic, Google, or someone else. In an agent, its job is not to write a nice paragraph. Its job is to look at the situation and choose the next action: search this, open that, ask the customer, stop. A better model makes better choices, but the model alone is not an agent. Without the other four parts it is a very smart text box.
2. Tools: the part that acts
Tools are what let the agent touch the world: search the web, read and send email, look up an order, update a spreadsheet, click through a website, charge a card. An agent is only as useful as its tool list, and only as dangerous. If it can read your inbox but not send from it, the worst case is a bad summary. If it can send, the worst case is an email to your whole customer list. Connecting an agent to your apps is, in effect, deciding its tool list.
3. The loop: the part that makes it an agent
This is the part people skip, and it is the one that matters most. A chatbot makes one pass: you ask, it answers, it stops. An agent runs a cycle: decide, act, look at the result, decide again. The loop is why an agent can recover when the first search turns up nothing, and why it can do a 20-step task without you approving each step. It is also why agents cost more and take longer than a single answer: each lap of the loop is another call to the model.
4. Memory: the part that carries context
Memory comes in two kinds. Working memory is everything that has happened in the current task: what it searched, what it found, what it tried. Long-term memory is what survives between tasks: your prices, your tone, the customer who always pays late, the correction you made last Tuesday. Many agents have plenty of the first and very little of the second, which is why so many feel brilliant in a demo and forgetful by week two. Where that long-term memory lives, and whether you can read it, decides how much an agent improves over time.
5. The goal: the part that says when to stop
The goal is the outcome you ask for, plus the rules that come with it: what counts as done, what it must never do, and when to stop and ask. A vague goal ("grow my sales") gives you an agent that wanders. A specific goal ("draft replies to every unanswered customer email from this week, and don't send anything") gives you one that finishes. The goal is also the part you control completely, which makes it the cheapest place to improve an agent.
How an AI Agent Works: A Worked Example
Definitions only go so far, so here is one task traced lap by lap. Say you run an online course business and you ask an agent: "Course sales dropped last week. Figure out why and draft a fix." The numbers below are invented for illustration, but the shape is typical.
| Lap | What the model decides | Tool it uses | What comes back |
|---|---|---|---|
| 1 | Confirm the drop is real | Reads your order history | 41 sales last week, 63 the week before |
| 2 | Rule out a traffic problem | Opens your site analytics | Visits are flat, so people came but did not buy |
| 3 | Look at the checkout | Opens the checkout page in a browser | The discount code in your welcome email returns "expired" |
| 4 | Check when the code expired | Reads the discount settings | It expired Tuesday, and the welcome email still promotes it |
| 5 | Draft the fix | Writes a new code and an updated email | Stops: sending to customers needs your approval |
Notice three things. First, you never told it to check the discount code. It got there by following the evidence, which a fixed automation cannot do. Second, every lap depends on the one before it: if lap 2 had misread the analytics, everything after would be confidently wrong. Third, the useful ending is the stop. The agent did the investigation and the drafting, and handed you the one decision that touches customers.
That last pattern, draft first and act on approval, is the single most important design choice in an agent. We cover how to set it up in human-in-the-loop AI agents.
AI Agent vs Chatbot vs Automation vs AI Employee
People use these four terms interchangeably, and vendors take advantage of that. Two questions sort them out: who decides the steps, and what starts the work.
| Chatbot | Automation | AI agent | AI employee | |
|---|---|---|---|---|
| Who decides the steps | You | Whoever wrote the workflow | The agent | The agent |
| What starts the work | You ask | A trigger or schedule | You ask | A trigger or schedule |
| Takes actions in your apps | No | Yes, fixed ones | Yes, chosen as it goes | Yes, chosen as it goes |
| Best for | Quick answers and drafts | Steps you can write down | Work where the steps vary | Recurring work where the steps vary |
| Main risk | A wrong answer you act on | Breaking when inputs change | A confident wrong step | A wrong step nobody watched |
A chatbot answers you. You ask, it replies, and you decide what to do with the reply. Even a very good chat assistant is not an agent until it can take actions on its own and loop on the results.
An automation follows steps someone wrote in advance: when a form is submitted, add the person to the CRM, then send email number one. Tools like Zapier and Make are excellent at this, and the predictability is the point. Anthropic draws the same line between agents and what it calls workflows, "systems where LLMs and tools are orchestrated through predefined code paths." An automation can have AI inside one of its steps and still be an automation, because the AI does not choose the path. Our guide to AI workflow automation covers that middle ground.
An AI agent chooses its own path toward a goal. That makes it the right tool when you cannot write the steps down in advance, such as investigating a problem, researching a market, or handling a customer email that could be about anything.
An AI employee is an agent that also starts on its own: on a schedule or when something happens, with memory that builds up between runs. Same brain, more independence. We unpacked that difference, and the new failure mode it brings, in AI employee vs AI agent.
The practical takeaway: an agent is not an upgrade over an automation. It is a different trade. If you can write the steps down, an automation is cheaper, faster, and more predictable. Anthropic's own advice to developers is to find "the simplest solution possible," which "might mean not building agentic systems at all." Use an agent where the steps genuinely vary.
What AI Agents Actually Do Today
Here is where agents are earning their keep in late 2026, and why each one works.
- Research and competitor tracking. "Find every competitor that changed its pricing this month and summarize what changed." Works well because the tools (search, reading pages) are low-risk and the output is a report you read
- Inbox triage and reply drafting. Sorting email into what needs you and what does not, then drafting replies in your voice. Works well when long-term memory holds your policies, and when sending is set to need approval
- Customer support first drafts. Answering "where is my order" and "how do I access the course" by looking up the actual order. Works because the tool gives it facts, not guesses
- Building and editing websites. Describing a page and having an agent write it, preview it, and fix what breaks. This is one of the most mature uses, because code gives the agent clear feedback on every lap of the loop
- Bookkeeping prep. Matching payouts to orders and flagging what does not reconcile. Works because the checks are mechanical, and a human still signs off
- Using websites with no integration. Agents with their own browser can log into a supplier portal and download the invoice, the way an assistant would
Notice what these have in common: either the actions are low-risk, or a human approves the risky step. That is not a coincidence, and it is the subject of the next section. For a fuller list, with each use case rated by how reliably it works today, see AI agent use cases rated.
When an AI Agent Is Not the Right Choice
An agent costs more per task than a single answer or a fixed workflow, so skip it when:
- You can write the steps down. A form-to-CRM-to-email chain runs cheaper and more predictably in an automation tool.
- The task is long and open-ended. Multi-hour work with no clear finish still fails far more often than short, bounded jobs.
- A mistake can't be undone and nobody approves first. Payments, deletions and messages to your whole list need a human step in front of them.
- The rules live only in your head. An agent can only follow a process you can describe, so write it down first.
Where AI Agents Fail
Agents fail differently from people, and differently from normal software. Knowing the patterns is most of what keeps you safe.
Small errors compound
Every lap of the loop is a chance to get something slightly wrong, and a long task has many laps. The arithmetic is unforgiving.
Real agents are not quite this fragile, because the good ones check their work and retry. But the shape shows up in measurement too. Researchers at METR found that the length of task AI agents can complete has been doubling roughly every seven months, which is fast progress. In the same study, the models tested succeeded almost always on tasks that take a person under four minutes, and less than 10% of the time on tasks that take a person more than four hours. Short, well-bounded jobs work. Long, open-ended ones still mostly do not.
They act confidently on wrong information
The best small-business case study so far comes from Anthropic, which let its own AI run a small shop in its office for about a month in 2025. The agent had all five parts: a model, tools (web search, email, Slack, and a notes tool for memory), the loop, and a goal of running the shop at a profit.

It did some things well. It found niche suppliers quickly with web search and adapted to what customers asked for. It also lost money. It priced items "without doing any research," which left some "priced below what they cost," and the biggest drop came from buying a batch of metal cubes it then sold for less than it paid. It turned down an offer of $100 for a six-pack of a drink that cost about $15. It got talked into handing out discount codes over Slack. For a while it told customers to pay into a payment account that did not exist. Anthropic's verdict was blunt: "we would not hire Claudius."
Most of those failures are a missing check, not a missing brain. No rule said "never sell below cost," no approval step sat in front of discounts, and nothing verified the payment details before customers saw them.
They do things you told them not to
Instructions in a prompt are not a lock. In July 2025, an AI coding agent on Replit deleted a company's production database during a code freeze, wiping records on 1,206 executives and more than 1,196 companies, after being told not to make changes without approval. Replit's CEO called it "unacceptable and should never be possible," and the company added a hard separation between test and live data. The lesson for anyone buying an agent: a rule the software enforces beats a rule the agent is asked to remember.
The label outruns the product
Gartner predicts that over 40% of agentic AI projects will be canceled by the end of 2027 because of rising costs, unclear value, or weak risk controls, and it calls the habit of renaming chatbots and automation tools as agents "agent washing." Some failed projects are not failed agents. They were never agents at all.
How to Evaluate an AI Agent: Seven Questions
You do not need to understand the technology to judge an agent well. You need to ask about the five parts, and especially about the brakes. Ask these before you connect anything that matters.
- What tools can it actually use? Get the list. "Integrates with thousands of apps" is not the same as "can send email from your Gmail"
- Which actions need my approval, and can I change that per action? Reading should run freely. Sending, deleting, and spending should ask until it has earned your trust
- Is "don't do that" enforced by the software or just by the prompt? The Replit incident is the answer to why this matters
- What does it remember between tasks, and can I see and edit it? Memory you cannot inspect is memory you cannot correct
- Can I see every step it took? A log of each lap, with the tool calls, is how you find out why it did something odd
- What does it do when it is stuck? The right answer is "stops and asks." The wrong one is "tries something creative"
- What does one run cost? Agents use many model calls per task. Ask for a real per-task figure, not just a monthly plan price
Then test it on a real task you already know the answer to, with sending turned off. One afternoon of that tells you more than any demo. If you are choosing between two or three, use our buyer checklist for evaluating an AI agent.
Where Crevio Fits

Crevio is an AI business builder: you describe your business, and its AI agent builds what it needs, launches it, and keeps working on growing it. Mapped onto the five parts:
- Tools: your products, orders, customers, and checkout live in Crevio, so the agent works from real numbers rather than whatever you paste in. It connects to 3,000+ other apps, and it has its own computer with a browser for websites that have no integration. You can watch that screen live and take control
- Memory: it keeps notes about your business and reads them at the start of every chat, so you do not re-explain your prices and tone each time
- Goal and trigger: you can chat with it, or set up tasks that run on a schedule or when something happens, such as a new sale or a new lead
- Brakes: for each connected app, every action can be set to run automatically, ask for confirmation, or stay off. Each task runs on Do it automatically, Ask me first or Just suggest, and approval requests show the draft before anything goes out
Where it is honestly weaker: on Do it automatically, reading, drafting and updating your own records run without asking. Sending, publishing, spending and deleting still ask by default, but you can choose Always allow for an action, so keep anything that touches customers or money on Ask me first until you trust it. AI work also spends credits, including retries. It is not a Shopify replacement either. It can track stock and collect shipping addresses for physical goods, but it does not buy postage or print labels. And nobody's agents are fully autonomous today, ours included.
Crevio starts free: your first business gets 100 AI credits once, with no credit card, up to 2 active products, and a 5% transaction fee. Starter is $50/month, or $25/month billed yearly, with 2,000 AI credits a month. Growth (up to 3 businesses) is $100/month with 4,000 credits, and Scale (up to 10) is $200/month with 8,000. Every paid plan has every feature and a 2.5% transaction fee.
What Nobody Tells You About AI Agents
- The first week is mostly writing things down. An agent can only follow a process you can describe. Most of the early value comes from putting your rules into words, and that work is yours whichever product you pick.
- Demos run on the happy path. Every agent looks great on a clean, short task. Ask to see one fail, and watch what it does next.
- Your instructions go stale. Prices change, staff change, products retire. An agent acting on last quarter's notes is wrong with total confidence. Re-read its memory monthly.
- More autonomy is not the goal. The goal is fewer hours on work you do not need to do. An agent that drafts and waits for one click often saves more time, net, than one that acts alone and needs cleaning up after.
- The model matters less than you think. Two products on the same model can feel completely different, because tools, memory, and brakes are product decisions. Compare those, not the model name.
FAQ
Partly. Plain chat, where you ask and it answers, is a chatbot. When ChatGPT browses the web, runs code, or uses connected apps across several steps to finish a task, it is behaving as an agent, because the model is choosing tools in a loop. The same is true of Claude and Gemini. "Agent" describes how the software works, not which brand it is.
Mostly grammar. An AI agent is the thing: one system that pursues a goal with tools in a loop. Agentic AI is the adjective, used for the whole category of AI that acts rather than just answers. When a vendor says its product is "agentic," ask the questions above to find out whether it actually acts on its own.
They are as safe as their brakes. Start with read-only tasks such as research, summaries, and reports. Then add actions that need your approval, such as drafted emails and suggested refunds. Only let an action run on its own after you have watched it succeed many times. Never give an agent a payment method or customer-facing send access on day one.
No. Most business-facing agents are set up by describing what you want in plain language, and connecting apps by signing in to them. Coding helps if you want to build your own agent from scratch, but buying one and configuring it well is a writing skill, not a programming one.
Common examples include research agents that track competitors, inbox agents that sort email and draft replies, support agents that look up orders to answer customers, coding agents that build and fix websites, and browser agents that log into portals to download invoices. What makes each one an agent is that it chooses its own steps toward the goal instead of following a fixed script.
It depends on how many laps a task takes, because each lap is another call to the model. Ask any vendor for a real per-task figure, not just a monthly price. Crevio starts free with 100 credits, and paid plans start at $50 a month, or $25 a month billed yearly.
The Bottom Line
An AI agent is not a smarter chatbot. It is a chatbot you have handed the keys, so decide which doors it can open before you decide how clever it needs to be. Use agents where the steps vary, automations where they don't, and approval on anything that reaches customers or money. To try one on a real task with sending turned off, Crevio starts free.
Related Blog Posts
Your business,on autopilot.
An AI employee that handles your website, marketing and operations.
























