compare · 01agent vs chatbot

AI agent vs chatbot

A chatbot chooses its next sentence. An agent chooses its next action. Everything in the table follows from that — including the fact that a well-built chatbot is the right answer for a large share of what people ask agents to do.

DimensionChatbotAI agent
DecidesNext sentence, from a designed tree or a modelNext action: which tool to call, then what to say
HandlesInputs the designer anticipatedFree text, voice notes, photos, mixed language
Can take actionsOnly fixed ones wired to a menu itemAny tool it is granted, gated by guardrails
PredictabilityDeterministic (rule-based) or fluent-but-unverified (LLM chat)Probabilistic decisions inside deterministic controls
Cost per conversationNear zero (rules) or one model callSeveral model calls; ≈US$0.02–0.05 on WhatsApp with caching
Build effortDays for a menu; weeks for a good treeWeeks: tools, policy, golden set, evaluation
Failure modeDead ends ("I did not understand")Confident wrong actions if ungated
GovernanceContent reviewPermissions, confirmation gates, audit log, evaluation, data-controller duties
Best channel fitUSSD-style menus, WhatsApp buttons/listsWhatsApp free text, voice, email
Measured byCompletion of designed flowsTask success + policy compliance + handoff quality
Upgrade pathAdd an agent behind the menu for the open-ended branchAdd menus in front to reduce cost and ambiguity
When it is enoughBalance checks, opening hours, order status by numberBooking from a sentence, quoting, reconciliation, triage

Two kinds of chatbot

The word covers two different things. A rule-based chatbot follows a designed tree — the WhatsApp equivalent of a USSD menu, and familiar to every Zimbabwean who has checked an EcoCash balance. It is deterministic, cheap and auditable, and it dead-ends on anything unplanned. An LLM chat answers free text fluently from a model with no tools; it feels intelligent, and it cannot verify a single thing it says about your stock, your prices or your calendar. Neither can book an appointment from "this week, afternoons". An agent can, because it has a calendar tool and a loop.

Two-axis chart. Horizontal axis: how varied the inputs are, from fixed to open. Vertical axis: whether the system can take actions, from answers only to actions. Rule-based chatbot sits at fixed inputs, answers only. Workflow automation sits at fixed inputs, takes actions. Large language model chat sits at open inputs, answers only. AI agent sits at open inputs, takes actions. input variety → (fixed menu … free text, voice notes, documents) can it act? → (answers only … writes, bookings, payments) rule-based chatbotdecision tree · intents · USSD-like workflow automation / RPAtrigger → condition → action LLM chat (no tools)fluent answers · no verified actions AI agentreads anything · acts through gated tools
Move right when inputs stop fitting a menu; move up when the job needs an action, not an answer. Only the top-right needs an agent — and it needs guardrails.

The decision rule

Ask two questions. Do the inputs fit a menu? If yes, build the menu: it is faster, cheaper and never hallucinates. Does the job need an action taken from what the customer said? If no, an LLM chat with retrieval over your documents is enough. Only when the answer is "no menu" and "yes, act" do you need an agent — and you then need guardrails that a chatbot never did.

The hybrid most businesses should build

A menu at the front door (WhatsApp buttons: "Book", "Prices", "Track order", "Talk to us"), a rule-based flow for the structured branches, and an agent only behind the branch that reads free text — "Book". The menu reduces ambiguity and model calls; the agent handles the part menus cannot. Cost per conversation drops, containment rises, and the agent's golden set gets smaller because the menu already narrowed the intent. This is the pattern the demo assumes: the customer's first message already says "check-up".

Cost, concretely

A rule-based flow costs nothing per message inside WhatsApp's 24-hour window. An agent conversation costs a few US cents in model tokens — roughly US$0.025 for the demo booking on a mid-tier model with prompt caching (basis on the costs page). The difference is small per conversation and large in what you get: a booking instead of a "please call us on…".

Next: agent vs automation, or the definition and four-question test.