https://github.com/waheed444/chainlit
This repo showcases the integration of Chainlit for building interactive user interfaces for AI agents. It leverages Chainlit's powerful tooling to create seamless conversational experiences with AI models using Python. The application is tailored to support rapid deployment of agent workflows, combining LangChain, OpenAI/Gemini and custom tools.
https://github.com/waheed444/chainlit
agent-tools chainlit chainlitproject google-gemini openai-agents openai-api-chatbot
Last synced: 5 months ago
JSON representation
This repo showcases the integration of Chainlit for building interactive user interfaces for AI agents. It leverages Chainlit's powerful tooling to create seamless conversational experiences with AI models using Python. The application is tailored to support rapid deployment of agent workflows, combining LangChain, OpenAI/Gemini and custom tools.
- Host: GitHub
- URL: https://github.com/waheed444/chainlit
- Owner: waheed444
- Created: 2025-05-09T17:29:11.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-05-09T17:42:16.000Z (5 months ago)
- Last Synced: 2025-05-09T18:48:13.712Z (5 months ago)
- Topics: agent-tools, chainlit, chainlitproject, google-gemini, openai-agents, openai-api-chatbot
- Language: Python
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Chainlit Agent-Powered UI๐
[](https://opensource.org/licenses/MIT)
[](https://github.com/waheed444/Chainlit)
[](https://www.python.org/)**Build interactive UIs for your AI agents with the power of Chainlit!**
## Table of Contents
* [Documentation](https://docs.chainlit.io/get-started/overview)
* [Description](#description)
* [Features](#features)
* [Tools](#Tools-Required)
* [Installation](#installation)
* [Usage](#usage)
* [Contributing](#contributing)
* [License](#license)## Description
This project demonstrates how to build interactive and user-friendly interfaces for your AI agents using Chainlit. It leverages Chainlit's robust framework to create seamless conversational experiences, integrating seamlessly with powerful tools like LangChain, OpenAI, Gemini, and your custom Python logic. Perfect for rapid prototyping and deployment of sophisticated agent workflows.
## Features
* ๐ง **Agent-based backend:** Built with Python for flexibility and extensibility.
* ๐ฌ **Real-time conversational interface:** Powered by Chainlit for a smooth user experience.
* โ๏ธ **Tool Integrations:** Seamlessly integrates with LangChain, OpenAI, and Gemini APIs.
* ๐ **Modular Architecture:** Easy to customize and scale to meet your needs.
* ๐งช **Local Development with Hot Reload (uv):** Rapid iteration and development using `uv`.
* ๐งฑ **VS Code Compatibility:** Seamless integration with your preferred IDE.
* ๐ **Extensible:** Easily add advanced features like multi-agent orchestration, memory management, and custom tools.## Tools-Required
To run and develop this Chainlit-based agent UI, make sure the following tools are installed on your system:
| Tool | Description | Install Command / Link |
|---------------------|-----------------------------------------------------------------------------|--------------------------------------------------------------|
| **Python 3.10+** | Core programming language used in this project | [Download Python](https://www.python.org/downloads/) |
| **Chainlit** | Framework to build conversational UIs for LLMs | `uv pip install chainlit` or `pip install chainlit` |
| **uv** *(optional)* | Fast Python package manager (drop-in replacement for pip+virtualenv) | `pip install uv` or see [https://github.com/astral-sh/uv](https://github.com/astral-sh/uv) |
| **VS Code** | Recommended code editor for development | [Download VS Code](https://code.visualstudio.com/) |
| **Git** | Version control tool to clone and manage your project | [Install Git](https://git-scm.com/downloads) |
| **OpenAI / Gemini API Keys** | For accessing LLM models via LangChain or directly | [OpenAI](https://platform.openai.com/) / [Google AI Studio](https://aistudio.google.com/) |## Installation
Before you begin, ensure you have Python 3.10 or higher installed. We recommend using `uv` for faster dependency installation and hot reloading, but `pip` is also supported.
1. **Clone the repository:**
```bash
git clone https://github.com/waheed444/Chainlit.git
cd chainlit-agent-ui
```2. **Install Chainlit:**
* **Using `uv` (recommended):**
```bash
uv add chainlit
```* **Using `pip`:**
```bash
pip install chainlit
```## Usage
To run the application locally:
```bash
chainlit run main.py -w # For uv users : uv run chainlit run main.py -w
```The `-w` flag enables hot reloading, allowing you to see changes reflected instantly without restarting the server.
Once the application is running, open your web browser and navigate to `http://localhost:8000` to interact with your agent.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributing
We welcome contributions to improve this project! Please follow these steps:
1. **Fork** the repository.
2. **Create a new branch:** `git checkout -b feature-name`
3. **Make your changes** and ensure they adhere to the project's coding style and best practices.
4. **Commit your changes:** `git commit -m "Add feature"`
5. **Push to the branch:** `git push origin feature-name`
6. **Submit a pull request** with a clear description of your changes and their benefits.
If you find any issues or want to improve this project, feel free to open a [GitHub issue](https://github.com/waheed444/Chainlit/issues) or submit a pull request.This repo is only for learning and exploring new things, feel free to fork it, explore, or give suggestions!
**Star โญ the repo if it helps you!**
---
## ๐ Let's Connect
---