Agent vs Chatbot
The short answer
A chatbot replies. An agent acts. A chatbot takes a message, generates a response, and stops. An agent takes a goal, works out the steps, calls tools, reads the results, and keeps going until the job is done — or until it needs a person.
Both use a language model, and both can hold a conversation. The difference is what happens between the user’s message and the answer. A chatbot’s work ends with words. An agent’s work includes doing things in the world: looking up data, calling an API, updating a record, sending a message, or running a workflow.
What a chatbot does
A chatbot is a conversational interface. You ask it a question, and it answers from what it knows or from documents it can search. A FAQ chatbot on a website, a help assistant that answers from a knowledge base, and a simple support bot that gives you a link are all chatbots. They are useful when the job is to inform, explain, or point you to the right place.
A chatbot may use retrieval to ground its answers in your documents, and it may remember the conversation. But it does not decide on its own to take a multi-step job and carry it out. If you ask a chatbot to “cancel my order,” a simple chatbot will tell you how to cancel it, or give you a link. It will not cancel the order itself.
Chatbots are usually built on fixed flows or a single model call. They are predictable, easy to test, and easy to keep safe, because their output is text and a human can read it before anything happens. That is why a chatbot is the right choice when the job is to answer, not to act.
What an agent does
An agent is a model with tools and a goal. You give it a task, and it plans: it calls a tool, reads the result, decides what to do next, and repeats until it can finish. LangChain’s docs define an agent as a model calling tools in a loop until a given task is complete, and that loop is the heart of the difference.
If you ask an agent to “cancel my order,” it will look up the order, check whether it can be cancelled, call the cancellation tool, and tell you it is done — or tell you why it cannot be done. If you ask it to “research this company and write a one-page brief,” it will search the web, read the results, and write the brief. If you ask it to “triage my inbox,” it will read new emails, classify them, draft replies, and ask you to approve the ones that matter.
Agents can also work with other agents. A research agent can gather information, an analyst can check it, and a writer can turn it into a report. That is the idea behind multi-agent frameworks such as CrewAI and Microsoft AutoGen, where a team of agents collaborates on a task.
Examples side by side
Here is the same request handled both ways:
- “What is my order status?” A chatbot answers from a FAQ or a knowledge base, or asks you to log in. An agent looks up your order in the system and tells you the status.
- “Book a demo.” A chatbot gives you a booking link. An agent checks the calendar, books a slot, and sends a confirmation.
- “Summarise this meeting.” A chatbot can summarise text you paste in. An agent finds the recording, transcribes it, extracts decisions and owners, and posts the summary to your team.
- “Find a flight.” A chatbot lists options. An agent searches, compares, and — if you allow it — books the flight.
The agent version is more useful, and it is also riskier, because it takes actions that cannot be undone by reading a reply.
When to build which one
Build a chatbot when the job is to answer questions, explain something, or guide a user to the right page. Build one when you need predictability, when a wrong answer is cheap, and when you want a human to take the next step. A chatbot is the right first step for most teams.
Build an agent when the job is a multi-step task that repeats, when the steps are clear, and when you can check the result. Build one when the value is in doing the work, not only in answering. Start with a read-only agent — one that looks up and drafts — and add actions that change data only after it works reliably.
The grey area
Sources
- LangChain Agents docs: https://docs.langchain.com/oss/javascript/langchain/agents
- OpenAI Agents SDK docs: https://openai.github.io/openai-agents-python/agents/
- CrewAI docs: https://docs.crewai.com