← Back to all projects

LibreChat

A self-hosted chat front door for every model provider, with no-code agents, per-user MCP and enterprise sign-on

MIT
Stars
46.5k
Forks
9.6k
Open issues
1.1k
Last commit
30 Oct 2026

What is LibreChat?

One deployment puts OpenAI, Anthropic, Google, Bedrock and any OpenAI-compatible endpoint behind a single login, and its agent builder lets non-programmers assemble assistants — instructions, tools, file search, code execution, MCP servers — then share them with access controls by user, group or role, with LDAP, OIDC and SAML covering enterprise sign-on. The cost is operational: a default install already runs six containers, and code execution and web search each add further services or external keys. AnythingLLM remains the simpler pick for one person wanting one container; LibreChat is built for the multi-user case. ClickHouse acquired the project in November 2025, stating the licence stays MIT.

What can you do with LibreChat?

  • Every provider behind one login — A single YAML file declares custom endpoints, model lists and interface options, with keys interpolated from the environment — Ollama, OpenRouter, Groq or a corporate gateway sit beside the first-party providers, and the file is optional until you need it.
  • Agents built in the UI, shared under access control — Each agent toggles its own capabilities — code execution, file search, web search, OpenAPI actions, artifacts, MCP tools — can hand off to specialist agents or chain them, and is shared as viewer, editor or owner to users, groups, roles or everyone.
  • MCP per user, not per server — MCP servers attach globally, through the UI, or per agent; each signed-in user gets an isolated connection with their own OAuth flow and token refresh, and the docs are direct that only the streamable-HTTP transport is meant for production.
  • File chat as an honest, separate service — Uploads are embedded by a dedicated RAG service backed by PostgreSQL with pgvector and retrieved into the prompt on demand — a real vector pipeline rather than a bolt-on, at the price of two more processes to run.
  • Operated like a product — An admin panel manages users, groups and configuration; conversation search runs on Meilisearch; speech-to-text, text-to-speech, artifact previews and thirty-plus interface languages ship in the box, with Docker Compose the default and a Helm chart for Kubernetes.

Before you choose LibreChat

  • Agents' code execution ran against a hosted subscription that is currently closed to new users; the underlying Apache-2.0 service exists, but you deploy it yourself.
  • Agents are assembled in the UI and cannot be declared in configuration files — a long-standing request from teams that manage everything as code.Reported in#7741
  • No 1.0 in three years and every release is tagged prerelease, so pinning versions and reading changelogs is part of operating it.

Star history

19 Aug to 30 Oct · +4.3k

42.2k46.5k

Frequently asked questions

Is LibreChat free for commercial use?

LibreChat is released under the MIT licence — OSI-approved open source, which permits commercial use.

How can LibreChat be deployed?

LibreChat is available as Self-hosted.