Feedough Logo

What Is an AI Agent? Types, Real Examples and Our Test

By Aashish Pahwa

14 min read

[Reader Disclosure]Our content is reader-supported. This means we may earn a commission if you click on some of our links.

An AI agent is an AI system that works toward a goal by deciding its own next steps and using tools, such as search, apps or code, until the task is done. You give it the goal; it works out the steps.

One test settles most arguments about what counts. If the AI decides the next step and acts on it, it is an agent. If it answers once and waits for you, it is a chatbot.

We ran a small test to see that gap in numbers. We asked six questions about a made-up tea shop’s orders. One prompt with no data got 0 of 36 answers right. An agent with well-fitted tools got 32 of 36. Giving the model the data closed half that gap; better-fitted tools, not the loop, closed most of the rest. The full test is a few sections down.

This lesson covers how an agent differs from a chatbot and a workflow, how the loop works, the main types of AI agents, seven real AI agent examples you can open today, our test in detail, when an agent is worth it, and a template to write your own agent’s instructions.

AI Agent vs Chatbot vs Workflow

Anthropic drew the line most people now use. In its guide to building effective agents, workflows are systems where the model and tools follow code paths a developer wrote in advance. Agents decide their own steps and tool use. Anthropic calls them “typically just LLMs using tools based on environmental feedback in a loop”, where LLM means large language model: the model behind ChatGPT, Claude or Gemini. Both fall under “agentic systems”, and the split comes down to who writes the steps.

Chatbot
Workflow
AI agent
Who decides the steps
You, one message at a time
The developer, in advance
The model, as it goes
Uses tools
Rarely or none
Yes, in a fixed order
Yes, it picks which and when
Example
Asking ChatGPT to explain a term
New support email, then an AI summary, then a post to a team channel
ChatGPT agent mode researching a topic and filling a spreadsheet

Workflows often win. A fixed chain of prompts is predictable and cheap, and prompt chaining is the plainest form of one. An agent costs more and surprises you more, in exchange for handling steps nobody spelled out.

Is ChatGPT an AI agent? A normal ChatGPT chat that answers once is a chatbot. ChatGPT’s agent mode, which plans the steps and drives a browser and other tools on its own, is an agent.

How an AI Agent Works

Deciding its own next steps sounds abstract until you watch one run. An agent works in a loop. You give it the goal. The model works out what it needs, picks a tool and asks the app to run it (that request is a tool call), reads what comes back, then goes round again until it has enough to answer. A tool is just a function the app lets the model use: a web search, a calculator, or something like find orders.

OpenAI’s practical guide to building agents says an agent has three parts: a model, tools and instructions. Its tools come in three kinds: data tools (search the web, read a PDF, query a CRM), action tools (send an email, update a record, hand a ticket to a human) and orchestration tools, where one agent works as a tool for another.

Here is one loop from our test, run with gpt-4.1-mini on the tea shop question using the better-fitted tools:

Question: Which customer spent the most in USD on delivered orders placed in October 2026, and how much? Round to the cent.

1. find_orders({"ordered_month": "2026-10", "status": "delivered"})
   -> [{"id": 1023, "customer": "Tom Becker", "currency": "EUR", "amount": 101.7, "ordered": "2026-10-10", "promised": "2026-10-15", ...}]

2. total_usd({"order_ids": [1023, 1024, 1026, 1027, 1028, ...]})
   -> {"total_usd": 2449.9, "by_customer": {"Tom Becker": 622.96, "Rahul Mehta": 220.54, ...}}

Answer: Tom Becker, $622.96

Two tool calls, then the answer. The agent pulled October’s delivered orders and left the converting and adding to total_usd instead of doing it in its own head. That tool rounds each step to the cent, so $622.96 comes out one cent under the $622.97 we computed in one go.

Not every run was this tidy. Not every run was this tidy. In one run with the better tools available, the agent skipped total_usd, converted each order with its own call (22 tool calls in all) and added the dollar amounts in its head. It still named the right customer, and our checker counted the one-cent gap as correct. The habit worth checking on any agent is the one section 06 takes up next: how it used its tools.

Types of AI Agents

An agent’s loop looks much the same across products. What changes is how much the agent can work out on its own. The five textbook types of AI agent come from Stuart Russell and Peter Norvig’s book Artificial Intelligence: A Modern Approach. Each type adds one ability to the one before it. IBM’s breakdown of AI agent types follows the same five.

Type
What it does
Everyday example
Simple reflex
Follows fixed if-this-then-that rules, with no memory
A thermostat that switches heating on below a set temperature
Model-based reflex
Keeps an inner picture of what it can’t see right now
A robot vacuum that maps rooms as it cleans
Goal-based
Plans a series of actions to reach a goal
A route planner finding a way to your destination
Utility-based
Scores possible outcomes and picks the best trade-off
A ride app weighing price, wait time and distance to match a driver
Learning
Gets better from feedback
A spam filter that learns from the emails you mark as spam

IBM covers multi-agent and hierarchical systems separately from the five, which is why some lists say seven types.

Modern AI Agents by What They Do

The five types describe how an agent decides. The agents people use today are usually named by the job instead:

  • Coding agents read a code base, write changes and propose them for review.
  • Browser and computer-use agents see a screen or web page, then click, scroll and type. Google announced Project Mariner in December 2024 as a research prototype Chrome extension. It scored 83.5% on the WebVoyager benchmark and asks for confirmation before purchases.
  • Research agents search many sources and write a report.
  • Customer-support agents answer and resolve customer questions using a company’s help content and systems.
  • Multi-agent systems run several agents, each with one job, passing work to each other.

AI Agent Examples You Can Use Today

These seven products pass the one-line test from earlier: each one decides its own next step and acts, while the recommendation engines many lists count as agents do not. Product facts here are stated as at launch, because plans, limits and benchmark scores change.

ChatGPT Agent

OpenAI’s ChatGPT agent launched on 17 July 2025 as agent mode for Pro, Plus and Team users. It works on its own virtual computer with a visual browser, a text browser, a terminal and connectors such as Gmail and GitHub, asking permission before consequential actions. Type: goal-based, tool-using agent. Limit: it scored 45.54% on SpreadsheetBench against a human baseline of 71.33%, and Plus users got 40 agent messages a month at launch.

Claude Code

Anthropic made Claude Code generally available on 22 May 2025. It works inside your code base, with VS Code and JetBrains integrations (beta at launch) and background tasks through GitHub Actions. On SWE-bench Verified, which tests fixing real GitHub issues, Opus 4 scored 72.5% and Sonnet 4 scored 72.7%. Rakuten reported Opus 4 running a refactor on its own for 7 hours. Type: goal-based coding agent. Limit: Opus 4 scored 43.2% on Terminal-bench.

Claude Computer Use

Anthropic’s computer use entered public beta on the API on 22 October 2024. Claude reads a screen, moves the cursor, clicks and types. On OSWorld’s screenshot-only task set, Claude 3.5 Sonnet scored 14.9% against 7.8% for the next-best AI system, and 22.0% when allowed more steps. Type: goal-based computer-use agent. Limit: Anthropic called it experimental and “at times cumbersome and error-prone”. It is a developer feature, not a consumer app.

GitHub Copilot Coding Agent

GitHub announced its Copilot coding agent on 19 May 2025. You assign a GitHub issue to it; it works in the background, clones the repo, pushes commits to a draft pull request and logs its reasoning. Type: goal-based coding agent. Limit: it only pushes to branches it created, the person who assigned the issue can’t approve its pull request, and workflows wait for a human. At launch it was limited to Copilot Enterprise and Pro+.

OpenAI Codex

OpenAI’s Codex launched on 16 May 2025 as a cloud software engineering agent. It runs many tasks in parallel, each in its own sandbox loaded with your repository: writing features, fixing bugs, answering code questions and proposing pull requests in 1 to 30 minutes. Type: goal-based coding agent. Limit: you still review every pull request, and the launch page gave no benchmark score.

Intercom Fin

Intercom’s Fin is a customer-service agent that answers and resolves support questions. Intercom reports a 76% average resolution rate across more than 12,000 customers on its website. Type: goal-based support agent. Limit: the figure is self-reported, the page does not define “resolved”, and Intercom cited 51% at Fin 2’s launch, so the number moves.

Klarna’s AI Assistant

Klarna’s announcement covered its first month live, to late February 2024: 2.3 million conversations, two-thirds of the company’s customer-service chats, and resolution time down from 11 minutes to under 2. Klarna also reported work equal to 700 full-time agents, a work-equivalent figure rather than layoffs. All of it is company-reported. Type: support agent. Limit: in May 2025 CEO Sebastian Siemiatkowski said the focus on cost led to lower-quality service, and Klarna began hiring people again.

We Tested an Agent Against a Single Prompt: What We Found

To see when the loop actually pays off, we ran our own test through the OpenAI API on 2 December 2026. It used two small models: gpt-4.1-mini and gpt-5.4-mini.

The data was a made-up online tea shop with 60 orders in four currencies (USD, EUR, GBP, INR), a late-delivery policy ($5 credit for orders more than 3 days late) and fixed exchange rates. We asked six questions an operations person would ask, from “was this order late?” to “how much late credit do we owe for October?”. Each got four answers: a single prompt with no data, a single prompt with all 60 orders pasted in, an agent with five basic tools, and the same agent plus two better-fitted tools (late_orders, which returns late orders and a count, and total_usd, which converts and totals a list of orders). Three runs per question per model made 144 runs, each checked against values computed by code.

Correct counts cover both models; the other three columns come from gpt-4.1-mini. Input tokens are the chunks of text the model reads, so more of them means a higher bill.

How we answered
Correct of 36
Avg model calls
Avg tool calls
Avg input tokens
One prompt, no data
0
1
0
72
One prompt, all data pasted
18
1
0
2,407
Agent, basic tools
20
4.9
8.7
7,230
Agent, better tools
32
2.8
3.1
2,958
Chart of Feedough's AI agent test on six questions about a made-up shop's 60 orders: one prompt with no data got 0 of 36 right, all data pasted 18 of 36, an agent with basic tools 20 of 36, and an agent with better tools 32 of 36 with fewer steps and tokens
Our agent test: six questions about a made-up shop, answered four ways. Tap to enlarge.

Split by model, gpt-4.1-mini scored 0, 9, 11 and 17 of 18, and gpt-5.4-mini scored 0, 9, 9 and 15.

Pasting all 60 orders into one prompt handled single-order lookups and the refund question. It failed on the questions that needed counting or adding across many rows of October orders. Neither model got the top-customer total right in any of its 6 runs.

The basic-tools agent did no better there. On that question gpt-4.1-mini ran 23 convert calls, then summed the wrong set of converted amounts:

Answer: Tom Becker, 761.81 USD

The right total was $622.97 (the trace’s $622.96 is the same total rounded at each step).

Better tools still left room for a bad call. On the October late-credit question, gpt-4.1-mini called late_orders with more_than_days 0 instead of 3, got 19 orders back and narrowed that list to 9 on its own:

Answer: 45 USD

Nine orders at $5 each gave 45 USD. The right answer was 50. Both models called late_orders with more_than_days 0 in every run; gpt-4.1-mini recovered in 2 of its 3 runs, and gpt-5.4-mini never did.

What This Means

The win came from tools that filter, count and total the orders, not from the loop itself. With only basic tools, the same loop barely beat pasting: 20 of 36 against 18. Adding late_orders and total_usd took it to 32 of 36.

Agents cost more too. The basic-tools agent used about 7,000 input tokens per question, roughly 3 times the pasted prompt, with 4 to 5 model calls. Better-fitted tools cut that to about 3 model calls and 3 tool calls.

Check how an agent used its tools, not only its final answer. Both mistakes above were visible in the tool calls before the answer arrived.

The test has limits: one made-up dataset, two small OpenAI models and 3 runs each.

When You Should Use an AI Agent (and When Not)

Those numbers raise the question worth asking before any build: does this task need an agent at all?

Use an agent when:

  • The task has several steps.
  • It needs live data, or an action in another app such as email or a CRM.
  • You can’t know the steps in advance, so no fixed plan fits every run.

Use a single prompt when you can paste everything the model needs into one message and want one answer. Use a fixed workflow when the steps are the same every time. Anthropic’s advice is to start with the simplest thing that works, because agentic systems trade speed and cost for better results.

Three risks come with an agent. One: an agent with permission to send emails, make purchases or delete files can do real damage when it picks the wrong step. Two: cost grows with every model call and token, as the token counts in our test showed. Three: every tool you connect is a door into your accounts. Keep a human approval step before anything that can’t be undone, the way ChatGPT agent and GitHub’s Copilot coding agent build one in.

The market adds another reason to be careful. Gartner, reported by Reuters, expects over 40% of agentic AI projects to be cancelled by the end of 2027, as costs rise and business value stays unclear. It also flags “agent washing”: chatbots and assistants sold as agents. By Gartner’s estimate, only about 130 of the thousands of agentic AI vendors offer a real one, so run the one-line test from this lesson before you pay.

For a task that passes the checklist, how to build an AI agent covers the steps, and AI agents statistics covers the adoption numbers.

Try It: Write Instructions for Your Own Agent

The mistakes in our test came from the agent picking the wrong orders or the wrong filter. Rules in the system prompt can tell it which tool and settings to use. Rules like that belong in the system prompt, the standing instructions an agent reads before every task.

Feedough's AI Agent Prompt Generator writing a system prompt for an order-support agent that can look up orders, check the refund policy and convert currencies
Feedough’s AI Agent Prompt Generator, run on the order-support agent from our test.

Write It in Three Steps

Feedough’s AI Agent Prompt Generator turns three inputs into a system prompt:

  1. Describe the job in one sentence. “Answer order questions for my tea shop” is enough.
  2. List the tools and the limits. Name each tool and when to use it, plus what the agent must never do, such as giving a refund over $50 without approval.
  3. Generate, then paste. Copy the output into your agent builder’s instructions box, such as a custom GPT.

Prefer to write it yourself? Start here:

Role and goal
You are [role] for [business]. Your goal is [goal].

Tools you may use
[tool]: [when to use it]
[tool]: [when to use it]

Rules
Use [calculator or totals tool] for every count or sum; never add numbers in your head.
Never [action] without approval.

Stop and ask a human when [situations].

Output
[format, length, what to include]

For a tea shop order agent, the role line reads: “You are the order assistant for my tea shop. Your goal is to answer order and delivery questions.” Put only tools the agent can really call in the tool lines.

AI Agents: Quick Answers

What are real examples of AI agents?

OpenAI’s ChatGPT agent, Anthropic’s Claude Code, GitHub’s Copilot coding agent, OpenAI Codex, Intercom Fin and Klarna’s assistant all qualify. In business software, Salesforce’s Agentforce went generally available for service and sales on 25 October 2024, with launch pricing from $2 per conversation.

Is ChatGPT an AI agent?

Not in its everyday chat window. A normal ChatGPT chat gives one answer and waits for your next message. Turn on agent mode and it picks its own steps, runs tools and finishes the task on its own. That version is an agent.

What are the 5 types of AI agents, and why do some lists say 7?

The five are simple reflex, model-based reflex, goal-based, utility-based and learning agents, the framework from Russell and Norvig’s AI textbook. Lists that say seven fold in hierarchical systems, where one agent directs others, and multi-agent systems, where several agents share work.

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

A chatbot answers each message and stops. An agent works the other way: you give it a goal, it decides the next step, calls tools and keeps going until the goal is done, without you prompting it along.

Is Siri or Alexa an AI agent?

Loosely, in the old textbook sense. Classic Siri and Alexa mostly carry out one command at a time using built-in actions. Amazon’s Alexa+, rolled out across the US in 2026, adds agent-style multi-step tasks across services, such as booking a table and then ordering a ride.

The Bottom Line

Hold on to one rule: an AI agent is a model that decides its next step and uses tools. How good it turns out depends less on the loop than on the tools you hand it and how you check its work.

This lesson is one part of Feedough’s free Prompting Guide, and the rest of the course picks up from here.

Aashish Pahwa

Aashish Pahwa

Aashish Pahwa is the founder of Feedough and Koso, an AI agency that builds custom AI systems for companies. He has trained more than 50,000 people to use AI, teaches AI to over 180,000 followers on Instagram (@okaashish), and has spoken at WordCamp Mumbai and DevFest Noida. Feedough’s work has been cited by Harvard Business School and Al Jazeera.

Read Feedough’s editorial standards

Put this to work.

Free Feedough tools for the next step.

  1. AI Prompt GeneratorCreate powerful AI prompts instantly
  2. Flux Prompt GeneratorCreate optimized Flux AI prompts
  3. Reasoning Prompt GeneratorBuild chain-of-thought AI prompts
See all free tools