HuggingFace Chat UI
The open source codebase powering HuggingChat
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: We couldn't fetch the official website this time, so the following was written based on existing knowledge of the project. Some details may change between versions, so please refer to the official repository and documentation.
Overview
HuggingFace Chat UI is an open-source chat interface from Hugging Face, and it's what HuggingChat (huggingface.co/chat) runs on. You can chat for free with a variety of popular open-source models directly on HuggingChat, or deploy Chat UI on your own server and connect it to the models and inference backends of your choice.
Key Features
- Multi-model chat: Offers a ChatGPT-like conversation interface where you can switch between multiple models.
- Support for multiple inference backends: Works with Hugging Face inference services, Text Generation Inference (TGI), and OpenAI API-compatible services (such as vLLM, llama.cpp server, Ollama, etc.).
- Conversation management: Save, browse, and manage your chat history.
- Custom assistants: On HuggingChat, users can set a system prompt for a model to create a dedicated assistant and share it.
- Extended capabilities: Some versions support web search, tool calling, multimodal input, and more. Refer to the current version for specifics.
Target Users and Use Cases
- Everyday users who want to try various open-source large language models for free
- Teams and companies that want to set up an AI chat service on an internal network or in a private environment
- Developers and researchers who need a ready-made frontend to showcase or test their own models
Core Strengths
- Fully open source: The code is hosted on GitHub (huggingface/chat-ui), and you're free to modify it and build on it.
- Production-proven: HuggingChat itself runs on this codebase.
- Flexible backends: Connects to both local models and cloud inference services, with no lock-in to a specific vendor.
- Control over your data: When self-hosting, conversation data is stored in your own database.
Deployment
- Clone the
huggingface/chat-uirepository from GitHub. - Configure the model endpoints, API keys, MongoDB connection URL, and more in the
.env.localfile. - Install dependencies with Node.js and run the app (e.g.
npm install,npm run dev), or deploy using the official Docker image.
Technical Requirements
- Tech stack: SvelteKit, TypeScript
- Data storage: MongoDB, used to store conversations and user data
- Runtime environment: Node.js or Docker
- Inference backend: A working model inference service (local or remote) is required
Things Worth Noting
- If you'd rather not deploy it yourself, you can use it directly at huggingface.co/chat by signing in with a Hugging Face account.
- There are quite a few configuration options, so before self-hosting it's a good idea to read the official README to understand how to specify each type of endpoint.
Discover more
Aider
aider is AI pair programming in your terminal
Cindy
Cindy is an open-source AI agent app that connects your computer and phone, so you can use agent frameworks such as Claude Code, Codex and Pi, along with a wide range of models, all in one place. It supports cross-device access to tasks, files and models, as well as remote desktop takeover, with no need to set up your own server.
Cline
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
Cody
Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
Continue
open-source coding agent
Flowise
Build AI Agents, Visually