AI/TLDR

LibreChat

Self-hosted, ChatGPT-style chat UI for every AI provider

Overview

LibreChat is an open-source chat application you run on your own server. Its interface is modeled on ChatGPT, but instead of locking you to one vendor it connects to many AI providers at once, including Anthropic (Claude), OpenAI, Azure OpenAI, Google, AWS Bedrock, and any OpenAI-compatible endpoint such as Ollama, Mistral, Groq, OpenRouter, and Deepseek.

It is aimed at teams and individuals who want a single chat front end across multiple models without sending their conversations to a third-party SaaS. Because it supports multi-user authentication, the first account you register becomes the admin, and you can share presets, prompts, and agents with specific users and groups.

As a chat UI, LibreChat goes beyond plain messaging: it adds no-code agents, Model Context Protocol (MCP) tools, web search, a sandboxed code interpreter, image generation, and code artifacts that render React, HTML, and Mermaid diagrams directly in the chat.

What it does

  • Connects to many providers from one UI: Anthropic, OpenAI, Azure, Google, AWS Bedrock, and any OpenAI-compatible API (Ollama, Mistral, Groq, OpenRouter, Deepseek, and more)
  • Build no-code custom agents with MCP servers, tools, file search, skills, and subagents, plus an agent marketplace and group sharing
  • Sandboxed code interpreter that runs Python, Node.js, Go, C/C++, Java, PHP, Rust, and Fortran with file upload and download
  • Code artifacts render React, HTML, and Mermaid diagrams inline in the conversation
  • Multimodal file and image chat, image generation and editing, and built-in web search to enrich model context
  • Multi-user authentication, presets, prompt sharing, conversation forking, and resumable streams that reconnect and sync across tabs and devices

Getting started

The recommended way to run LibreChat locally is with Docker Compose. Clone the repo, copy the example environment file, and start the stack.

Clone the repository

Get the source and change into the project directory.

bashbash
git clone https://github.com/danny-avila/LibreChat.git
cd LibreChat

Create your environment file

Copy the example file to .env and edit it to add your provider API keys.

bashbash
cp .env.example .env

Start the app

Bring up the containers in the background, then open http://localhost:3080 in your browser. The first account you register becomes the admin.

bashbash
docker compose up -d

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Give a team one self-hosted chat front end for Claude, GPT, Gemini, and local Ollama models instead of separate vendor apps
  • Keep conversations on infrastructure you control for privacy or compliance reasons
  • Build and share no-code agents that use MCP tools, file search, and the code interpreter
  • Prototype quickly with code artifacts that render React, HTML, and Mermaid diagrams in the chat

How LibreChat compares

LibreChat alongside other open-source chat uis tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Open WebUI★ 142kA self-hosted web interface for chatting with local and API-based LLMs (Ollama, OpenAI-compatible) that adds RAG, web search, image generation, and multi-user access.
Lobe Chat★ 78.9kAn open-source chat UI with a plugin and agent marketplace, multi-model support, voice, vision, and one-click self-hosting.
AnythingLLM★ 61.8kA desktop and self-hosted chat app focused on document Q&A and agents, letting you build private RAG workspaces over your own files and data sources.
Cherry Studio★ 47.5kA cross-platform desktop chat client that connects to many cloud and local model providers and ships with hundreds of preset assistants and MCP support.
Chatbox★ 40.6kA desktop and web chat client for ChatGPT, Claude, Gemini, Ollama, and other models, with local message storage and multi-provider switching.
LibreChat★ 39.5kSelf-hosted, ChatGPT-style chat UI for every AI provider
Onyx★ 30.4kOnyx is a self-hostable AI chat platform that adds RAG, web search, custom agents, code execution, and deep research on top of any major LLM provider.
Vercel AI Chatbot★ 20.5kAn open-source Next.js starter template for building a full-featured AI chatbot with the Vercel AI SDK, auth, and multi-model routing.