← All posts

Your Chatbot Doesn't Need an Agent

For question-and-answer chatbots, an agent loop adds cost, delay and errors without adding value; route the question, fetch from the right layer and make one LLM call.

Why a question-and-answer chatbot needs one good LLM call over the right data — not an autonomous loop.

The reflex

Ask a team how they are building their customer or employee chatbot this year, and the answer is almost always the same: agents. Give the model a set of tools, let it decide what to call and when, and let it loop until it has an answer. It demos well, it sounds modern, and it is the architecture every vendor is selling.

For a chatbot whose job is to answer questions, it is usually the wrong one. Not because agents are hype — they do real work elsewhere — but because answering a question is not the kind of problem an agent was built to solve. A Q&A turn has a fixed shape: understand the question, fetch what's relevant, compose the answer. There is no path to discover. And when there is no path to discover, an agent's autonomy has nothing to do except cost money and add risk. There's a simple way to tell whether yours needs one, and we'll get to it shortly.

The claim here is narrow, deliberately: for question-and-answer chatbots, a simple LLM call over the right data is enough. You don't need an agent.

Answering is not doing

The useful line runs between agents that change the state of the world and agents that only assemble an answer.

An agent that files the refund, reschedules the shipment, opens the ticket and updates the CRM is getting work done. Its steps have consequences, and the next step can depend on what the last one returned. That is where a loop earns its keep.

Look inside most chatbot "agents" and you find something else. The model calls a search tool, reads the result, calls another search tool, reads that, then writes a reply. Nothing in the world has changed. The agent hasn't done work — it has chained the answering process. That is a retrieval pipeline with extra steps, dressed up as autonomy.

There is a simple test any team can run against its own system:

If you removed the agent loop and ran the same tool calls in a fixed order, would anything be lost?

If the answer is no, you have a workflow wearing an agent costume — and you are paying for the costume.

What the loop costs

Every chatbot still needs a language model to understand the question and phrase the answer. That part isn't in dispute. The question is how many times you call it, and what you let it decide. A workflow calls the model once or twice per turn. An agent calls it as many times as its loop decides to — and each call carries a price.

  • Cost multiplies. Every step is a full model call that resends the instructions, the tool definitions and a conversation that grows with each step. A five-step turn costs several times a single call, before anyone notices.
  • Latency stacks. Steps run in sequence, each waiting on the last. A two-second answer becomes a fifteen-second one — an eternity in a chat window.
  • Errors compound. Five steps that are each 95% reliable land the whole chain near 77%. A wrong tool choice early poisons everything after it, and the final answer still sounds sure of itself.
  • Behavior drifts. The same question can take a different path on a different day. Regression testing a system that chooses its own route is far harder than testing one that doesn't.
  • Audit gets murky. A workflow can show exactly which call ran with which inputs. An agent's route has to be reconstructed after the fact, and the reasoning it reports is not guaranteed to be the real cause.
  • The attack surface widens. An agent that reads documents and holds tools can be steered by instructions planted in those documents. The more it is allowed to decide, the more an injected instruction can do.

None of these is fatal on its own. Together, on a task that never needed autonomy, they are cost and risk bought for nothing. The language model is necessary; the loop is optional.

What a Q&A chatbot actually needs

If the agent isn't doing the work, something else has to. In a well-built Q&A chatbot, that work is split between code and data — and the model is asked to do only what it is uniquely good at.

  1. A router. A small, fast classifier decides what kind of question this is: recall, computation or reconciliation. Mixed questions get split here, in code, not discovered in a loop. The router is often not a language model at all: embedding similarity handles most traffic, with a small model reserved for splitting mixed questions or settling the unsure ones.
  2. The right layer for each part. Retrieval for what's written in documents. A deterministic query for anything that has to be an exact number. Collation for anything that spans systems that were never built to agree.
  3. One language-model call. The model reads what was fetched and writes the answer. It doesn't decide where to look, and it doesn't decide what's true.

Two architectures for the same question. Left, an agent loop: the question goes to an LLM call that picks the next tool, a search or query tool runs, and the loop repeats N times before answering, with as many LLM calls as the loop takes. Right, a routed answer: a router classifies and splits the question, sends parts to retrieval for documents, query for numbers and collation for cross-system data, then one LLM call answers over the fetched results. Same question, two architectures: the agent loop lets the model decide every step; the routed answer lets code decide the steps and calls the model once.

On the left, the model is both navigator and narrator, and the number of calls is whatever the loop decides. On the right, the path is set in code and the model is called once, to do the one thing only it can do.

Even a compound question doesn't change the picture. "Which shipments were late last month, and what did customers say about it?" is two questions: the router sends the first to a query and the second to retrieval, and a single call composes the two. That's decomposition, not autonomy — and it costs a fraction of what a loop would.

Where agents belong

None of this is an argument against agents. It is an argument about where they belong. Agents have their place when the job is doing, not answering: multi-step tasks with real consequences, where the next move depends on what the last one returned and no one can script the path in advance.

Even inside a chatbot, that place exists — at the edge, not the front door. When a request turns from "what's the status of my refund?" into "process my refund," the router can hand it to an agent built for action, with the guardrails action deserves. The everyday questions never need to pay for that machinery.

The honest trade-off is this: an agent is faster to demo and more forgiving of messy, open-ended conversations. A routed design takes more thought up front. But at scale, the routed design wins on the three things a business actually runs on — cost, predictability and the ability to show how an answer was produced.

The question to put to your team

Is our chatbot doing work, or answering questions — and if it is answering, why is an agent deciding how?

Not "which agent framework should we standardize on?" That question assumes the answer. The sharper question separates the two jobs, and it usually reveals that most of the traffic is answering — work a router, the right data layers and a single model call can handle more cheaply, more quickly and more accountably.

Taken together with routing and reconciliation, the picture is simple. Route each question to the layer that can answer it honestly. Reconcile the data before the model speaks. And once those two are in place, let the model do what it does best — read what it was given and say it clearly. For answering questions, that's not a lesser architecture than an agent. It's the right one.


Previously in the series: Our Data Is Valid. Is It Accurate? — why AI raises the stakes on data that is well-formed but no longer true.

Rational Data Services builds governed, agentic-ready data platforms on Databricks, Snowflake and Trino, so AI answers from real data, not guesses. Get in touch


← All posts
Get in touch

Let's architect your data advantage.

Whether you're modernizing a platform, standing up governance, or preparing your data for agentic AI, let's talk about what senior, architect-led delivery can do for your team.

[email protected] · 240.401.4908 · Houston, TX
Ranga DandiPrincipal & Senior Data Architect
© Rational Data Services LLC · rationalizingdata.com