# Chatbot

> A chatbot is software that holds a text conversation with users, on a website, in an app or on a messaging channel such as WhatsApp, to answer questions, guide them through a task or hand them to a person.

Also called: chat bot, AI chatbot, support bot, website chat assistant, virtual assistant. Category: Agents and automation. Source: https://aibuildindex.com/glossary/chatbot

## In the index

- Customer support chatbot: median $2,000, middle half $300 to $5,300, 1,344 priced briefs (https://aibuildindex.com/cost/support-chatbot)
- WhatsApp or SMS chatbot: median $700, middle half $180 to $3,000, 411 priced briefs (https://aibuildindex.com/cost/whatsapp-chatbot)
- Chatbots: median $1,800, middle half $300 to $6,400, 3,801 priced briefs (https://aibuildindex.com/skills/chatbots)

A chatbot is a program you talk to by typing. It may sit in the corner of a website, inside a customer portal or on WhatsApp, and it answers questions, collects details, or walks people through tasks such as tracking an order. For a business buyer chatbots are one of the most common AI builds, mainly used to reduce repetitive support questions and capture leads outside office hours.

## How it works

Chatbots come in two broad generations. **Rule-based** chatbots follow scripted menus and decision trees: press a button, get a fixed answer. They are predictable but brittle. **Language model chatbots** understand free text and write their own replies. To keep them accurate, builders ground them in the business's own content, usually through [retrieval-augmented generation](https://aibuildindex.com/glossary/retrieval-augmented-generation) over a [knowledge base](https://aibuildindex.com/glossary/knowledge-base), so answers come from approved help articles and policies rather than the model's general knowledge.

Useful chatbots also connect to systems. Through tool calls, a bot can look up an order, check stock, update an address or create a support ticket, at which point it starts to behave like an [AI agent](https://aibuildindex.com/glossary/ai-agent). Around the core sit [guardrails](https://aibuildindex.com/glossary/guardrails) to keep it on topic, a handover path to a person, and analytics on what users ask.

For example, an online retailer's support chatbot answers delivery and returns questions from the help centre, looks up order status by order number and email, starts a return when asked, and passes billing disputes to an agent with the conversation attached.

## What it means for cost

A chatbot can be a small project or a large one depending on:

- **Knowledge preparation.** Out-of-date or contradictory help content produces wrong answers. Cleaning it up is often the first real task.
- **Integrations.** Each system the bot reads from or acts on adds build and testing time.
- **Channels.** A website widget is simplest; WhatsApp, Instagram or in-app chat each bring their own approval and message rules.
- **Accuracy assurance.** A test set of real customer questions with expected answers shows whether it is safe to launch.
- **Running costs**, which grow with conversation volume and length.

Ask a builder how answers are kept to approved sources, what happens when the bot does not know, and how conversations are reviewed. Live figures are on the [support chatbot cost page](https://aibuildindex.com/cost/support-chatbot).

## Common mistakes

Launching without a clear handover to a person frustrates customers quickly. So does letting the bot answer questions about refunds, pricing or policy from general knowledge instead of the business's actual rules.

## Common questions

### What is the difference between a chatbot and conversational AI?

A chatbot is a product: a specific assistant on a specific channel. [Conversational AI](https://aibuildindex.com/glossary/conversational-ai) is the broader set of technologies, including language understanding, dialogue management and speech, that chatbots and voice agents are built from.

### Can a chatbot use my existing help centre?

Yes, that is the most common starting point. The help articles are indexed so the bot can retrieve and quote them. The quality of its answers depends heavily on how complete and current those articles are.

## Related terms

- [Conversational AI](https://aibuildindex.com/glossary/conversational-ai): Conversational AI is the set of technologies that let software understand and respond to people in natural language, by text or voice, across multiple turns, powering chatbots, voice agents, virtual assistants and AI receptionists.
- [Retrieval-augmented generation (RAG)](https://aibuildindex.com/glossary/retrieval-augmented-generation): Retrieval-augmented generation is a way of answering questions with a language model that first looks up relevant passages in your own documents, then writes an answer grounded in what it found.
- [AI agent](https://aibuildindex.com/glossary/ai-agent): An AI agent is software built around a language model that can plan steps, call tools such as APIs, databases or a browser, look at the results and keep going until it completes a task, rather than only replying to a single message.
- [Knowledge base](https://aibuildindex.com/glossary/knowledge-base): A knowledge base is an organised collection of a business's information, such as help articles, policies, product details and past answers, that people or AI systems consult to answer questions consistently.
- [Guardrails](https://aibuildindex.com/glossary/guardrails): Guardrails are the checks and controls placed around an AI model, such as input filters, output validation, topic limits and action restrictions, that keep its behaviour within safe, permitted and useful bounds in a live system.
- [Human in the loop](https://aibuildindex.com/glossary/human-in-the-loop): Human in the loop is a design approach in which an automated or AI system pauses for a person to review, correct or approve its work at defined points, so that judgement and accountability stay with people where mistakes would be costly.
