qmetrics.net

Chat UI

Self-hostable SvelteKit chat UI for OpenAI-compatible LLM APIs

Chat UI screenshot

Chat UI is a SvelteKit application that powers HuggingChat and talks to any OpenAI-compatible API for model chat, routing, tools, and optional ML Intern workflows.

Overview

Chat UI provides a web chat interface for large language models. It is the codebase behind HuggingChat on hf.co/chat and discovers models from an OpenAI-compatible /models endpoint using OPENAI_BASE_URL and OPENAI_API_KEY (including Hugging Face Inference Providers, Ollama, llama.cpp servers, and OpenRouter).

Chat history, users, settings, and files use MongoDB; without MONGODB_URL the app embeds a local MongoDB under ./db. Optional Docker image chat-ui-db bundles MongoDB. An Omni virtual model alias can route messages locally to default, multimodal, or agentic routes. MCP servers expose tools via OpenAI function calling. ML Intern is an experimental mode for Hub-oriented ML tasks when enabled.

You configure .env.local, install npm dependencies, and run the dev server; production builds use npm run build and preview. Theming and model metadata overrides use documented PUBLIC_* and MODELS environment variables.

Key features

  • OpenAI-compatible API client
  • MongoDB or embedded local database
  • Optional Docker image with MongoDB
  • Omni local LLM routing
  • MCP tool calling in chat
  • Model discovery from /models
  • ML Intern experimental mode
  • SvelteKit web frontend

Use cases

  • Self-hosted LLM chat frontend
  • Private HuggingChat-style deployment
  • Multi-model chat with routing
  • Teams using MCP tools in chat
  • Local dev against Ollama or HF APIs

Does the same job as

Chat UI doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare Chat UI

Similar software

OpenClaw

Open-source personal AI assistant running on your devices and chat apps

Open-source AI assistant that runs on your own computer and answers in chat apps such as WhatsApp, Telegram, Slack and Discord. State, memory and credentials stay on your hardware.

  • Works in 20+ chat channels such as WhatsApp, Telegram, Slack and Discord
  • Native apps for macOS, iOS, Android, Windows and Linux
  • Gateway control plane with Control UI, CLI and TUI
TypeScriptLinux, macOS, Windows, AndroidDetails →
★ 395.6k⟳ todayMIT
Open Source Alternative to:ChatGPTChatGPT Enterprise+7

Hermes Agent

Self-improving open-source AI agent with memory, skills and messaging gateway

Open-source AI agent from Nous Research that keeps persistent memory, creates skills from experience, and runs from a terminal, desktop app or messaging platforms with any model provider.

  • Persistent memory and cross-session search
  • Autonomous skill creation and self-improvement
  • Terminal UI and desktop app
PythonWeb, Linux, macOS, WindowsDetails →
★ 268.2k⟳ todayMIT
Open Source Alternative to:ChatGPTChatGPT Plus+5

NextChat

Cross-platform AI chat client with local data

NextChat is a lightweight assistant UI for Claude, DeepSeek, GPT, and Gemini, on web and desktop with browser-local storage.

  • Multi-provider LLM chat UI
  • Browser-local conversation storage
  • Markdown, Mermaid, and code rendering
TypeScriptWeb, Linux, macOS, WindowsDetails →
★ 89k⟳ 1 month agoMIT
Open Source Alternative to:ChatGPTChatGPT Enterprise+4

GPT4All

Desktop app for running LLMs privately on local hardware

GPT4All is a desktop chat application that runs large language models locally on everyday computers, with no API calls or GPU required. It also offers a Python client and an OpenAI-compatible API server.

  • Runs LLMs locally, no GPU required
  • Private chat with your own files via LocalDocs
  • Vulkan GPU inference on NVIDIA and AMD
C++Linux, macOS, WindowsDetails →
★ 77.3k⟳ 1 year agoMIT
AI Interaction & InterfacesNo commits in 18+ monthsDesktop/CLI app
Open Source Alternative to:ChatGPTChatGPT Plus+4

GPT Academic

LLM web interface optimized for academic writing tasks

GPT Academic provides a browser-based interface to GPT, GLM, and other large language models with plugins for polishing, translating, and analyzing papers and code. It supports many commercial and local model backends.

  • Modular function plugins
  • LaTeX and PDF paper tools
  • Multi-model parallel queries
PythonLinux, macOS, Windows, DockerDetails →
★ 71.8k⟳ 10 months agoGPL-3.0

AnythingLLM

All-in-one private AI app for chatting with documents and running agents

AnythingLLM is an AI application for chatting with your documents and using AI agents, connecting to local or cloud LLMs. It runs as a desktop app or a self-hosted multi-user Docker deployment.

  • Chat with documents with source citations
  • No-code agent builder and custom agent skills
  • MCP compatibility
JavaScriptLinux, macOS, Windows, AndroidDetails →
★ 68.9k⟳ 9 days agoMIT
Open Source Alternative to:ChatGPTChatGPT Plus+8