Chainlit is a Python tool to build production-ready conversational AI apps quickly. It provides a Python API, quickstart code, and a simple CLI workflow for running apps.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
Chainlit enables building Python production-ready conversational AI applications in minutes. It provides a Python API (e.g., import chainlit as cl) and a quickstart workflow to run apps with a CLI command like chainlit run demo.py -w.
How it works
The repository contains examples and a Quickstart section showing how to define tools and message handlers using decorators (e.g., @cl.step(type="tool") and @cl.on_message), then run the app via a CLI command. It mentions integration with tools and services such as OpenAI, LangChain, LlamaIndex, ChromaDB, Pinecone, and others in the cookbook/examples.
Getting started
Install via pip as shown:
pip install chainlit
chainlit hello
If you install from GitHub, use:
pip install git+https://github.com/Chainlit/chainlit.git#subdirectory=backend/
Requires Node and pnpm for the development version.
Quickstart example
Create a Python file (demo.py) with a simple tool function and a message handler, then run:
chainlit run demo.py -w
Recent releases
Latest releases include:
- 2.11.1 (2026-04-22): You may need to update workflows and dev tools if you forked this repo or install chainlit from source code via
git+syntax. See #2573 for detailed changes. Added: f - 2.11.0 (2026-04-07): Chore to introduce AI-assisted development; fix to prevent NOT NULL violation in update_thread when m
- 2.10.1 (2026-03-27): Chore: move to oidc for npm publishing; fix: validate session ownership on websocket restore
- 2.10.0 (2026-03-05): Features to always show favorite messages button with empty state; add starter categories for grouped starters
- 2.9.6 (2026-01-20): Feature to skip new chat confirmation; Date Picker Input Widget
Traction
Stars: 12360 (as provided). Open issues: 142. Language: Python. License: Apache-2.0. Created: 2023-03-14. Last push: 2026-08-04.
Behind the repo
No startup/company linkage information provided in the facts.
Caveats
License: Apache-2.0. Repository age and activity shown by last_push (2026-08-04) and creation date (2023-03-14). No additional licensing caveats are listed here.






