Intro

Xip Kit includes everything you need to build amazing conversational bots with tools you know and love. From two-way SMS-based bots to Alexa Skills, Xip Kit provides the best developer experience.

What's Xip Kit?

Xip Kit (or just Xip) is an open source, Ruby framework for conversational voice and text chatbots.

Xip is inspired by the Model-View-Controller (MVC) pattern. However, instead of calling them Views, Xip refers to them as Replies to better match the chatbot domain.

  • The Model layer represents your data model (such as Account, User, Quote, etc.) and encapsulates the business logic that is specific to your bot. By default, Xip uses ActiveRecord, but you can use any library that you prefer.

  • The Controller layer is responsible for handling incoming requests from messaging platforms and providing and transmitting the response (reply).

  • The Reply layer is composed of “templates” that are responsible for constructing the respective reply.

In addition to being inspired by Model-View-Controller (MVC) pattern, Xip as a few other awesome things built in for you.

  • Plug and play components. Every service integration in Xip is a Ruby gem. One bot can support multiple messaging platforms (i.e. Facebook Messenger, SMS, Alexa, and more) and multiple NLP/NLU services.

  • Innovative. Xip is constantly improving and evolving. There are many innovations in Xip such as: interrupt detection, homophone detection, hot-code reloading, multi-level catch-all handling, and more that make your bots perform better.

  • Advanced tooling. From web servers to continuous integration testing, Xip is built to take advantage of all the great work done by the web development community.

  • Hosting you trust. Xip bots are Rack applications. That means your bots can be deployed using familiar services like Docker and Heroku.

  • Ready for production. Xip already powers bots for large, well-known brands. You can rest assured your bot will be in good hands with Xip.

  • Open source. Xip Kit is MIT licensed to ensure you own your bot's source code. More importantly, we welcome contributors to help make Xip even better for everyone.

Prerequisites

While it's helpful to have some familiarity with Ruby, we think you can get started with Xip without yet knowing Ruby or even programming. Building text-based bots or Alexa Skills is a great starting point into the world of programming and we think Ruby is an excellent first (or last!) programming language.

We welcome contributors and questions from programmers of all experience levels.