Skip to content

Chat UI

by Hugging FaceAppGet organised

Gives you your own HuggingChat-style chat page for the AI models you choose

View on GitHub

About Chat UI

Hugging Face's open-source chat app, the code behind HuggingChat. You run it on your computer or server, point it at an AI model service and chat in your browser, with history saved in a database and optional tools.

For Small teamsPeople running local modelsSelf-hosting hobbyists

Made by Hugging Face

Hugging Face is an AI community platform where people share models, datasets and apps. It also makes HuggingChat, and its GitHub profile lists New York and Paris.

Stars
★ 11k
License
Apache-2.0
Cost
Usage-based
Platforms
Mac · Win · Linux
Runs
Local · Self-hosted

Screenshots

From the project's own repository.

The Chat UI start screen on a phone, with an Ask anything box and the Omni model picker
Image: Hugging Face (Apache-2.0). Original file

Overview

Chat UI is Hugging Face's open-source chat app, the code behind HuggingChat. You run it on your computer or server, point it at a model service that uses the OpenAI format, such as Hugging Face Inference Providers, OpenRouter or Ollama on your own machine, and open it in your browser to chat. It keeps your chat history in a database, can call tools from MCP servers you add, and lets you rename the app. It suits people and small teams who want a chat page they run and control.

It is the same code that runs HuggingChat, and it works with any model service that uses the OpenAI format, including models on your own computer.

Try these first

Start with the first one: it is a small task you can check easily.

  1. Explain [topic] in three sentences.First try · check history saves

  2. Summarise this text in five bullet points: [paste text]

  3. Use the web search tool to answer [question] and list the pages you used.uses an MCP server

  4. Describe what is in this picture: [attach image]needs an image model

Example prompts written by Agent Flows Hub.

Features

From the creator's documentation.

FeatureWhat it doesRuns
Model choiceConnects to any OpenAI-compatible service, in the cloud or on your own computerYour model service
Chat historySaves chats, users and settings in MongoDB, with a built-in database by defaultYour computer or server
MCP toolsAdd MCP servers, switch them on and see each tool call and result in the chatServers you add
Omni routingPicks a model per message: one for images, one for tools, one for the restYour model service
Per-model settingsTurn tool calling and image input on or off for each modelYour computer or server
ThemingSet your own app name and descriptionYour computer or server

Good to know

You want a private chat page for yourself or a small team, connected to the model service you pick. Chat UI runs on your machine or server, talks to any OpenAI-compatible API and keeps conversations in its own database.

Limits

  • It only talks to OpenAI-compatible APIs; provider-specific setups from older versions were removed and remain on the legacy branch.
  • Without a MongoDB address it uses a built-in database stored in a local db folder. Point it at your own MongoDB for a shared or long-lived install.

Notes by (original project name: chat-ui), written from the creator's documentation, not from running it ourselves. Chat UI README: quickstart and Docker image · Chat UI documentation

Stuck setting it up?

Tell us what happened. We take a look first; if it needs paid work, you get an estimate before anything starts.

Get help

Other apps

  • ChatGPT Desktop Brings ChatGPT chat, Work tasks and the Codex coding agent to your desktop
  • ChatGPT Exporter Saves your ChatGPT conversations as Markdown, HTML, JSON, text or a screenshot
  • ChatGPT Telegram Workers Puts your own AI chat bot in Telegram, deployed to Cloudflare with one button
  • ChatGPTBox Adds an AI chat box to any web page to summarise, translate or rewrite what you read
  • ChatLab Turns your exported chat histories into charts and lets you ask an AI questions about them
  • Cherry Studio Puts many AI model providers, agents and a knowledge base in one desktop app

See all 113 apps

GitHub