Chainlit is an open-source Python package to build production ready Conversational AI.

Build Conversational AI with Chainlit

Key features

  1. Build fast: Integrate seamlessly with an existing code base or start from scratch in minutes

  2. Copilot: Embed your chainlit app as a Software Copilot

  3. Data persistence: Collect, monitor and analyze data from your users

  4. Visualize multi-steps reasoning: Understand the intermediary steps that produced an output at a glance

  5. Iterate on prompts: Deep dive into prompts in the Prompt Playground to understand where things went wrong and iterate


Chainlit is compatible with all Python programs and libraries. That being said, it comes with a set of integrations with popular libraries and frameworks.

Custom frontend

Chainlit comes with a ChatGPT like frontend that you can use out of the box. However, you can also build your own frontend and use Chainlit as a backend.

Custom React frontend

Learn how to integrate your custom React frontend with the Chainlit backend.