# Chainlit/chainlit

Build Conversational AI in minutes ⚡️

Repository: https://github.com/Chainlit/chainlit
Canonical: https://ross.abutalabs.com/products/chainlit
Homepage: https://docs.chainlit.io
Language: Python
License: Apache-2.0
License Family: permissive
Topics: python, llm, ui, chatgpt, langchain, openai, openai-chatgpt
Last push: 2026-08-26T09:45:56+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 90
- inputs: {"age_days": 1268, "days_push": 7, "days_rel": 8, "gap_med": 4, "n_releases_24m": 62}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12407, forks 1735 (observed 2026-08-28T04:10:52.625216+00:00)

## What it is
Chainlit is an open-source Python framework for building production-ready conversational AI applications with a built-in chat UI. It provides decorators for handling chat events, streaming responses, authentication, data persistence, and integrations with LangChain, OpenAI, LlamaIndex, and MCP tool servers.

## Use cases
- build a chatbot ui for an llm in python
- create a chatgpt-like web app with streaming responses
- add authentication to a conversational ai assistant
- prototype a langchain agent with a chat interface
- build a voice assistant with realtime audio
- connect mcp tools to a chat application
- let users upload files to a chat assistant

## When to choose
- you want a ready-made chat UI without writing frontend code
- you need quick prototyping of LLM apps in pure Python
- you need auth, data persistence, and multi-step reasoning visualization out of the box
- you use LangChain, OpenAI, LlamaIndex, or Semantic Kernel and want first-class integrations

## When to avoid
- you need full control over a custom frontend design
- you are building a non-conversational API or batch pipeline
- you need a framework in a language other than Python
- you want a lightweight headless backend without bundled UI

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, chat-interface, chatbot, agent-framework, mcp, auth, ui-components, websocket
- domain: large-language-models, chatbots, web-development, developer-tools
- platform: python, cross-platform, self-hosted
- tags: conversational-ai, chat-ui, llm-app-framework, langchain-integration, openai, streaming, copilot, multi-modal, ai-agents, retrieval-augmented-generation, web-server

## Member repositories
- Chainlit/chainlit (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:52.625216+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:14:06.291770+00:00, confidence not recorded.
  - readme: https://github.com/Chainlit/chainlit (fetched 2026-08-28T04:10:52.625216+00:00, sha a54d2dad1be5)
  - homepage: https://docs.chainlit.io (fetched 2026-08-29T08:11:11.053465+00:00, sha 522533ee676d)
  - site_page: https://docs.chainlit.io/get-started/installation (fetched 2026-08-29T08:11:11.062455+00:00, sha c70f4bfb9691)
  - site_page: https://docs.chainlit.io/advanced-features/streaming (fetched 2026-08-29T08:11:11.064184+00:00, sha 681738409df0)
  - site_page: https://docs.chainlit.io/advanced-features/mcp (fetched 2026-08-29T08:11:11.065787+00:00, sha 54197f6d60a5)
  - site_page: https://docs.chainlit.io/advanced-features/ask-user (fetched 2026-08-29T08:11:11.067669+00:00, sha 89a82d22e0db)
  - site_page: https://docs.chainlit.io/advanced-features/multi-modal (fetched 2026-08-29T08:11:11.069211+00:00, sha 3c0d6a014489)
  - site_page: https://docs.chainlit.io/advanced-features/chat-profiles (fetched 2026-08-29T08:11:11.070736+00:00, sha 11468e25458a)
  - site_page: https://docs.chainlit.io/advanced-features/chat-settings (fetched 2026-08-29T08:11:11.072240+00:00, sha ae6780804766)
  - site_page: https://docs.chainlit.io/advanced-features/test-debug (fetched 2026-08-29T08:11:11.073874+00:00, sha eb6e4706fbbc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
