Loading repository data…
Loading repository data…
waheed444 / repository
This repo demonstrates how to build interactive AI agent interfaces using Chainlit. It combines LangChain, OpenAI/Gemini, and custom tools to enable seamless conversations and fast deployment of agent workflows with Python.
Build interactive UIs for your AI agents with the power of Chainlit!
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.
uv.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 |
| 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 |
| VS Code | Recommended code editor for development | Download VS Code |
| Git | Version control tool to clone and manage your project | Install Git |
| OpenAI / Gemini API Keys | For accessing LLM models via LangChain or directly | OpenAI / Google AI Studio |
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.
git clone [https://github.com/waheed444/explore_chainlit](https://opensource.org/licenses/MIT)
.git
cd chainlit-agent-ui
Install Chainlit:
Using uv (recommended):
uv add chainlit
Using pip:
pip install chainlit
To run the application locally:
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.
This project is licensed under the MIT License - see the LICENSE file for details.
We welcome contributions to improve this project! Please follow these steps:
git checkout -b feature-namegit commit -m "Add feature"git push origin feature-nameThis 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!