← All projects
Developer building blocks

ChatterBot

A Python library for making simple chatbots that learn replies from example conversations.

What it does

ChatterBot is a tool for building chatbots. It learns how to reply by looking at collections of example conversations, picking the best response from what it has seen before.

A new bot starts knowing nothing. As it is trained on conversations, or chats with people, it gets better at choosing replies.

It isn't tied to one language and comes with training conversations in more than a dozen languages.

Who it's for

Developers and students who want to build a simple, trainable chatbot in Python.

Can I use it without coding?

Developers only. A Python library used in code. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (BSD-3-Clause): Permissive: free to use, change and share, including for business.
  • More on staying safe