Custom chatbot or AI agent? How to decide
Current as of
Reviewed by the Codexomation engineering team · Updated · 2 min read
What is the difference between a chatbot and an AI agent?
A chatbot answers; an agent acts. A scripted chatbot follows menus you design. A retrieval-based assistant reads your help content and answers questions in plain language. An AI agent does both and can also take actions, such as checking an order, booking a call or updating a record, within limits you set. Each step up adds capability and the need for more care.
Which one should you build?
| Need | Build |
|---|---|
| A few fixed questions and links | Scripted chatbot or a good FAQ page |
| Answers from a large body of help content | Retrieval-based assistant |
| Answers plus actions in your systems | AI agent with defined permissions |
Start with the simplest option that covers the real questions your customers ask. Many businesses need a well-written FAQ before they need any bot.
How does a retrieval-based assistant work?
It searches your approved documents for passages relevant to the question, then writes an answer from those passages, ideally with a link to the source. Its accuracy depends on the documents: outdated or conflicting content produces confident wrong answers. Keeping the content current is part of running the assistant.
What makes a chatbot conversation work?
- say what it can help with in the first message;
- ask one question at a time;
- confirm details before acting on them;
- offer a person at any point, and hand over the full conversation;
- admit when it does not know rather than guessing.
How do you test it before launch?
Collect real questions from your inbox, chat history and calls, write the correct answer or outcome for each, and run the assistant against them. Review every miss. Keep the set and rerun it whenever content or configuration changes.
What does it take to run one?
Weekly review of conversations, updates to the content it reads, and attention to the handoffs it gets wrong. Our AI agents service builds both retrieval assistants and agents, and decides which one fits during the Automation Audit.