AI basics7 min read
What is an AI agent, and how is it different from a chatbot or an automation?
Vendors call almost everything an “AI agent” now. Here is a plain engineering definition, how it compares with chatbots and automations, and when each one is the right tool.
Ryze Labs engineering team
Key takeaways
- An automation follows fixed steps, a chatbot answers questions, and an agent decides which steps to take with the tools it has been given.
- Most business processes are best served by an automation with one AI step, and a full agent only makes sense where the path genuinely varies from case to case.
- An agent is only safe in production with narrow tool permissions, human approval for risky actions, step and cost limits, and a complete log of what it did.
The term “AI agent” is now attached to almost any product that uses a language model, from a website chat widget to a tool that sends invoices. That makes it hard to decide what you actually need, and easy to pay for complexity you will never use. This article separates three things that often get lumped together: automations, chatbots and agents.
Why the terms get mixed up
All three can use the same underlying model, and all three can look similar in a demo. The difference is not the model but who decides what happens next. In an automation, the developer decided every step in advance. In a chatbot, the user drives the conversation. In an agent, the model itself chooses the next action, within limits you set.
That single question, “who picks the next step?”, is the most useful test when you read a product page or a proposal. It also tells you how much testing, monitoring and control the system will need.
Automations: fixed steps, predictable results
An automation is a workflow with a trigger and a defined sequence: when a new order arrives in Shopify, create the customer in QuickBooks, send a confirmation and post a message to the warehouse channel. Tools like n8n, Make or Zapier, or a small custom service, run these flows the same way every time.
Modern automations often include an AI step. A model might read an incoming PDF and extract the invoice number, supplier and total, after which the rest of the flow continues as usual. The model does one bounded job; it does not decide what the workflow does next. This is still an automation, and it is where most companies get their first practical results with AI-assisted automations.
Chatbots: answering questions in a conversation
A chatbot holds a conversation with a person. Its job is to understand the question and give a useful answer, usually from a defined body of knowledge: product documentation, policies, order status or an internal handbook. Good business chatbots answer from your own documents and show where the answer came from, a technique explained in our guide to retrieval-augmented generation.
A chatbot may look up data, such as the status of order 4512, but it typically does not change anything on its own. When the question goes beyond its scope, a well-built business chatbot hands over to a person. Under the EU AI Act, people must also be told they are talking to an AI system unless that is obvious from the context.
AI agents: choosing the steps to reach a goal
An agent receives a goal rather than a script, such as “reconcile this supplier statement against our ledger and flag the differences”. It then works in a loop: it decides which tool to call, looks at the result, and decides again until the task is done or it needs help. The tools are functions you define, for example search_invoices, get_payments or draft_email.
This is useful when the path differs from case to case. One statement matches on the first lookup; another needs a search by amount, a check of credit notes and a question to the accounts team. Writing a fixed workflow for every variation would be impractical, which is where an agent earns its place.
Example
Illustrative example: one task, three approaches
A fictional 40-person distributor receives supplier delivery complaints by email. An automation could classify each email and create a ticket. A chatbot could let the supplier ask “where is my credit note?” on a portal. An agent could take the complaint, look up the order and delivery note in the ERP, check whether a credit note already exists, and prepare a draft reply and a credit note for a person to approve.
Side by side
| Automation | Chatbot | AI agent | |
|---|---|---|---|
| Who decides the next step | The developer, in advance | The user, turn by turn | The model, within limits |
| Typical input | An event (new order, new file) | A question | A goal or a case |
| Changes data in your systems | Yes, in fixed ways | Rarely | Yes, through approved tools |
| Predictability | High | Medium | Lower; needs evaluation |
| Testing effort | Low to medium | Medium | High |
Which one should you use?
Start with the simplest option that solves the problem. If the steps are the same every time, build an automation, perhaps with one AI step for reading documents or classifying messages. If people mainly need answers, a chatbot is usually the right fit. Reserve agents for work that needs several lookups and decisions and varies between cases.
- Choose an automation when you can draw the process as a flowchart without many “it depends” branches.
- Choose a chatbot when the main pain is repetitive questions from customers or staff.
- Choose an agent when skilled people spend their time gathering information from several systems before making a routine decision.
- Combine them when it helps: an automation can hand an unusual case to an agent, and an agent can hand a decision to a person.
What an agent needs before it touches live systems
Because an agent chooses its own actions, the engineering around it matters more than the model. In production, an agent should only be able to do what its tools allow, and anything that moves money, sends a message to a customer or changes a master record should wait for a person. The design of these approval points is covered in detail in our article on human-in-the-loop AI.
- Narrow tools with least-privilege access, defined per system and per action.
- Approval steps for risky actions, showing what the agent wants to do and why.
- Limits on steps, time and cost per task, with a handover to a person when they are reached.
- A full log of every tool call, input, output and approval, so any run can be reviewed.
- A test set of real, anonymised cases to check behaviour before each change goes live.
Next steps: a short checklist
Before talking to any vendor, write down one process you want to improve and answer a few questions about it. The answers usually make the choice between automation, chatbot and agent obvious.
- Describe the process in ten lines or fewer. How many of those lines start with “it depends”?
- List the systems a person opens to complete it: ERP, email, a portal, a spreadsheet.
- Mark the steps that change data or contact a customer. These need approval at first.
- Estimate how often the task happens and how long it takes today, so you can measure the result.
- Decide who owns the process once the system is live and who reviews its mistakes.
If the answers point to work that varies case by case and spans several systems, an agent may be justified. We build custom AI agents with scoped permissions and approval steps, and we are happy to tell you when a simpler automation would do the job.
General information, not legal, tax or investment advice.