Exova Academy

Understanding what an AI agent is · 15 min

Chatbot, workflow, agent: the real difference

You hear about "AI agents" everywhere: in software vendor announcements, in job postings, in leadership presentations. The word gets used for just about anything, from a simple chatbot to a system that can carry out an entire mission. As a result, many people don't really know what an agent is, or whether it could help them. This mini-course starts from scratch. By the end, you'll know what an agent is and how to design one properly, and you'll have written and run your first agent in Python, even if you're not a developer.

To keep things concrete, we'll follow Sami, who runs a small online tea shop. Every day, he gets dozens of messages asking the same question: "Where's my order?" He'd like an assistant to answer for him, reliably. That's the project we'll build together.

Three levels of automation with AI

The easiest way to understand what an agent is is to compare it to two more familiar things.

The chatbot (or conversational assistant). You ask a question, and the model answers with what it knows. It can't look anything up or do anything in the real world. If Sami asks a chatbot "Where's order A1001?", it can only reply that it doesn't have access to that information, or worse, make up a plausible answer.

The AI workflow. This is a sequence of steps written in advance by a human, some of which use an AI model. For example: "When an email arrives, extract the order number, look up the status in the database, then ask the model to write a polite reply." The path is fixed: the program decides the order of the steps.

The agent. This is an AI model that's given a goal, tools, and the freedom to decide for itself which actions to take, in what order. Faced with the customer's message, the agent works out what it needs, chooses to use the "order status" tool, reads the result, and decides whether it can answer or needs to do something else.

%% titre: Chatbot, workflow, and agent compared
%% narration: This diagram compares three levels. The chatbot only answers with what it knows, the workflow follows a path written in advance, and the agent chooses its own actions using its tools.
flowchart LR
  A["Chatbot"] --> A1["Answers from its knowledge"]
  B["AI workflow"] --> B1["Follows fixed steps"]
  C["Agent"] --> C1["Chooses its actions"]
  C1 --> C2["Uses tools"]
  C2 --> C1
Chatbot, workflow, and agent compared

The key difference fits in one sentence: in an agent, the model decides the next step based on what it observes. The program around it simply carries out the requested actions and sets the limits.

How an agent actually "acts"

A language model only produces text. On its own, it can't query a database or send an email. So how does it act?

The principle is simple. You describe a list of available tools to the model, for example "order_status: returns the status of an order given its number." When the model decides it needs a tool, it doesn't run it itself: it replies with a structured request along the lines of "I want to use order_status with the number A1001." Your program then actually runs the tool and sends the result back to the model, which continues its reasoning.

%% titre: The model asks, the program executes
%% narration: This diagram shows who does what. The customer asks a question, the model requests a tool, your program runs it against the order database, then the model writes the final answer.
sequenceDiagram
  participant C as Customer
  participant P as Program
  participant M as Model
  participant B as Order database
  C->>P: Where's A1001?
  P->>M: Question and list of tools
  M->>P: Use order_status A1001
  P->>B: Look up A1001
  B->>P: Shipped on September 28
  P->>M: Tool result
  M->>P: Drafted answer
  P->>C: Your package shipped on the 28th
The model asks, the program executes

This separation is fundamental, and reassuring: the model never touches your systems directly. Your code decides which tools exist, what they're allowed to do, and whether they need human approval. We'll come back to this in module 2.

Why now?

Agents aren't a new idea, but they've become genuinely usable now that models are good at choosing and chaining tools. At Anthropic, Claude Haiku 4.5 is fast and cost-effective for simple tasks, Claude Sonnet 5 strikes a very good balance for most agents, and Claude Opus 5.5 is the most capable for long, complex missions. In this course, we'll use Claude Sonnet 5, whose technical identifier is claude-sonnet-5.

That said, an agent isn't a magic wand. It can make mistakes, misunderstand a request, or pick the wrong tool. The whole art lies in giving it a clear scope and good guardrails, which we'll learn step by step.

Hands-on practice

Set aside 10 to 15 minutes.

  1. List three repetitive tasks from your work or daily life that involve looking up information and then replying or taking action.
  2. For each one, say whether a chatbot, a workflow, or an agent would be the best fit, and why.
  3. For the most "agent-like" task, note the tools the agent would need.
Show solution

Sami's sample answers:

Task Best fit Why
Write the description for a new tea Chatbot No need to look anything up, just to write well
Send a thank-you email after each order Workflow Always the same steps, in the same order
Answer customer questions about their order Agent Questions vary: status, delivery time, address, returns; it has to choose what to look up

Tools Sami's agent needs: look up an order's status, look up the shipping and returns policy, and hand the request off to Sami when the case is out of the ordinary.

The key reflex to remember: if the steps are always the same, a workflow is enough, and it will be simpler, cheaper, and more predictable. An agent is justified when the path depends on the request.

Key takeaways

  • An agent is a model that chooses its own actions to reach a goal, using tools.
  • The model requests a tool, but your program runs it and sets the limits.
  • If the path is always the same, a workflow is often a better choice than an agent.

Go further: the full course "AI Agents in Production" goes deeper into architecture choices and teaches you when not to build an agent, through a complete customer support agent. Explore the full course

Enjoyed this lesson?

Unlock all 9 lessons, the quizzes and the certificate.

Buy — $0