Awesome Open Source
Awesome Open Source

Join the chat at Build Status

An AI Chatbot framework built in Python

Building a chatbot can sound daunting, but it’s totally doable. AI Chatbot Framework is an AI powered conversational dialog interface built in Python. With this tool, it’s easy to create Natural Language conversational scenarios with no coding efforts whatsoever. The smooth UI makes it effortless to create and train conversations to the bot and it continuously gets smarter as it learns from conversations it has with people. AI Chatbot Framework can live on any channel of your choice (such as Messenger, Slack etc.) by integrating it’s API with that platform.

You don’t need to be an expert at artificial intelligence to create an awesome chatbot that has AI capabilities. With this boilerplate project you can create an AI powered chatting machine in no time.There may be scores of bugs. So feel free to contribute via pull requests.


Using docker-compose (Recommended)

docker-compose build
docker-compose up -d
docker-compose exec iky_backend python migrate

Using Docker

# build docker images
docker build -t iky_backend:2.0.0 .
docker build -t iky_gateway:2.0.0 frontend/.

# start a mongodb server
docker run --name mongodb -d mongo:3.6

# start iky backend
docker run -d --name=iky_backend --link mongodb:mongodb -e="APPLICATION_ENV=Production" iky_backend:2.0.0

# setup default intents
docker exec -it iky_backend python migrate

# start iky gateway with frontend
docker run -d --name=iky_gateway --link iky_backend:iky_backend -p 8080:80 iky_gateway:2.0.0

without docker

  • Setup Virtualenv and install python requirements
virtualenv -p python3 venv
source venv/bin/activate
python migrate
  • Production
APPLICATION_ENV="Production" gunicorn -k gevent --bind run:app

Update Frontend Dist

  • Run Development mode
cd frontend
npm install
ng serve
  • Take Production build
cd frontend
ng build --prod --optimize



  • add your dev/production configurations in



You can import some default intents using following steps



Checkout this basic tutorial on youtube,


Watch tutorial on Fullfilling your Chatbot Intent with an API Call - Recipe Search Bot

Please visit my website to see my personal chatbot in action


  • Write Unit Tests
  • Multilingual Intent Classifier
  • PyCRFSuite to sklearn-crfsuite migration
  • Support follow up conversations

Dependencies documentations


Free Software, Hell Yeah!

Made with ❤️ at God's Own Country.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (1,122,589
Ai (4,540
Chatbot (3,435
Chatbot (3,435
Sklearn (1,241
Nltk (775
Natural Language (278
Conversation (221
Related Projects