Hugging Face Chat UI is an open-source web interface designed for interacting with large language models through a modern conversational interface. The project serves as the codebase behind HuggingChat and can be deployed locally or on cloud infrastructure to create customizable AI chat applications. Built with modern web technologies such as SvelteKit and backed by MongoDB for persistence, the interface provides a responsive environment for multi-turn conversations, file handling, and configuration management. Chat UI connects to any service that exposes an OpenAI-compatible API endpoint, allowing it to work with a wide range of models and inference providers. The platform supports advanced capabilities such as multimodal input, tool integration through Model Context Protocol servers, and intelligent routing that selects the most appropriate model for each request.
Features
- Open-source conversational interface for interacting with large language models
- Compatibility with any OpenAI-compatible API endpoint
- Multimodal support including image inputs for vision-enabled models
- Model routing system that selects the most appropriate model dynamically
- Persistent chat history and configuration stored in MongoDB
- Integration with tools and function calling via Model Context Protocol