AI agents
What is an AI agent, and how is it different from a chatbot or a workflow?
An agent is a model that picks its own next step towards a goal, inside limits someone set. How that differs from a chatbot and a workflow, with real examples.
An AI agent is a language model that decides which step or tool to use next to reach a goal, inside limits that someone has set. A chatbot only answers you and a workflow runs the same fixed steps every time, so the agent is the one of the three that picks its own route.
This is for business owners and managers who keep hearing "agent" in sales pitches and want to know what it means. I build these systems at OIC Architects, the practice I co-founded in Sydney, and most of what runs there is closer to a workflow than an agent. That is on purpose.
How does an AI agent work?
An agent works in a loop. It gets a goal, looks at what it knows, picks a tool, uses it, reads the result and decides what to do next. It stops when the goal is met or when it hits a limit, such as a maximum number of steps. OpenAI's guide to building agents describes the same loop, and Anthropic's engineers recommend a cap on the number of iterations.
A Sydney picture helps me here. A workflow is the light rail. It runs on the same track and stops at the same stops, every trip. An agent is a taxi driver you give an address to. The driver chooses the route and takes a detour around a blocked street, and still has to follow the road rules. The road rules are the part people forget to write down.
AI agent vs chatbot vs workflow
The difference comes down to who decides the next step.
| Chatbot | Workflow | AI agent | |
|---|---|---|---|
| Who decides the next step | You, with your next message | The person who built it | The model, within limits |
| Can it do things in other systems | No, it only replies | Yes, at fixed points | Yes, with the tools it is given |
| Example | A chat window on a website | An n8n or Power Automate flow | A research assistant that chooses what to search next |
OpenAI's guide is plain about the first column. Software that uses a language model but does not let it control the steps, such as a simple chatbot, does not count as an agent.
The tools themselves are blurring the other line. Microsoft's Power Automate runs flows on a trigger or a schedule, and now has "generative actions" in preview, where you describe the intent and the AI picks the actions.
What is an AI agent made of?
I count six parts. The first three are what OpenAI's guide calls the core of an agent. The last three are where a business gets hurt when they are missing.
| Part | What it is | What goes wrong without it |
|---|---|---|
| Model | The language model that reads the situation and chooses the next step | Nothing runs |
| Instructions | Written rules for its role, what it can and cannot do, and the format of its answers | It does something sensible that nobody asked for |
| Tools | The things it can use, such as search, email, a spreadsheet, a database or an MCP server (a standard way to plug a tool into a model) | It can only talk |
| Memory | What it carries between steps or conversations. A model remembers nothing you do not send it | It loses track of the task or asks the same thing twice |
| Guardrails | Limits that sit outside the model, such as which folders it can write to, a step limit and checks on its output | One bad step repeats or overwrites good work |
| Human checkpoint | The point where a person approves before anything is sent, paid or deleted | Mistakes reach a client before anyone sees them |
Is it an agent, or a workflow with one AI step?
Plenty of what is sold as an agent is a workflow with a single AI step in the middle. An email arrives, a model sorts it into a category, and fixed rules do the rest. For most business processes that is the better design.
Gartner has numbers for the other side of it. In June 2025 it forecast that more than 40% of agentic AI projects will be cancelled by the end of 2027, because of rising costs, unclear business value or weak risk controls. It also estimated that only about 130 of the thousands of vendors selling "agentic" products are the real thing. The forecast calls the relabelling of chatbots and older automation tools "agent washing".
The model makers say much the same. Anthropic's advice is to find the simplest solution and add complexity only when it is needed. OpenAI's guide says an agent earns its place where a task needs judgement, where the rules have grown too tangled to maintain or where the input is mostly unstructured text. Otherwise, it says, a deterministic solution (one that does the same thing every time) may be enough.
My rule is to start with a workflow and give the AI one job inside it. If that job keeps needing more freedom, an agent might be justified.
Where should the AI decide, and where should it not?
Two systems I run show the line better than any definition.
The meeting pipeline turns Teams transcripts into notes, decisions and actions. Its capture layer, which collects and stores the transcripts, is plain code with no AI in it. That is where I found a duplicate pair of transcripts only 4.5 seconds apart in the raw data. If that had gone straight to the AI, one meeting would have produced two sets of minutes.
The AI layer reads each transcript and writes structured notes. When it meets a name it does not know, it flags it for review instead of guessing. It never marks an action as done because nobody mentioned it again. When three automated outputs came back with different section structures, the fix went into the shared rules the AI follows. I did not try to tune the model into behaving.
One failure changed the design. An agent once overwrote an action file with the text of its own permission request. The system now archives every file before it writes to it, and checks the output before it saves. That guardrail sits outside the model.
The content research system watches 11 competitor channels and turns what it finds into a weekly brief. The AI reads, scores and drafts. Hard rules decide what gets out. A fabricated claim about a named person stops the pipeline instead of raising a warning someone can scroll past. Silent failures are the other risk. Mandarin transcripts once came back empty across 53 videos over 12 cycles, with no error anywhere. Today the whole system needs about 20 minutes of human review a week.
So the split I use looks like this:
- Let the AI decide when the input is messy text and a wrong answer is cheap to catch.
- Keep the step fixed when it can be counted, checked or repeated exactly.
- Never let a model report on its own work when you can count it. On an exam app I built, one AI pass called all 40 questions compliant and a plain count found 36 failures.
- Put a person in front of anything that goes to a client, costs money or cannot be undone.
If you have a process in mind, write its steps on paper and circle the ones that need judgement. One circle means a workflow with one AI step, and that is where I would start.
Questions people ask
Is ChatGPT an AI agent?
In a normal chat it behaves as a chatbot. You ask, it answers, and you decide what happens next. Give a chat assistant tools and let it use them on its own, for example to search the web and write a report. Now it is choosing its own steps, which is how an agent behaves. The word to look for is tools. Without tools and a loop, a model can suggest what to do but cannot do it.
What are AI agents used for in a business?
The good uses share one shape. The input is messy, the steps change with each case, and a person can check the result before it matters. Research is a common one, where the agent decides what to search next. Sorting incoming requests is another, with the odd ones passed to a person. For fixed processes, such as copying data from a form into a spreadsheet, a plain workflow does the job more cheaply and more predictably.
Is n8n an agent builder or a workflow tool?
Both. A normal n8n workflow follows the same path on every run. n8n also has an AI Agent node, and its documentation describes an agent as a chain that makes decisions about which tools to use for each request. So you can build a fixed workflow with one AI step, a full agent, or a workflow with a small agent inside it. Most business processes I see suit the first option.
Can an AI agent run without a human checking it?
It can, but I would not start that way. Begin with a person approving every action that sends, pays or deletes something, and keep a log of what the agent did and why. Once the log shows it handles the routine cases well, remove the checkpoint for those cases only. OpenAI's guide names the same two reasons to hand control back to a person, which are too many failed attempts and actions that are high risk or cannot be reversed.
Sources
- Building effective AI agents, Anthropic, December 2024
- A practical guide to building agents, OpenAI, April 2025
- What agents do, n8n Docs, October 2026
- What is Power Automate?, Microsoft Learn, October 2026
- Over 40% of Agentic AI Projects Will Be Scrapped by 2027, Says Gartner, Outlook Business, June 2025