LibreChat
What is LibreChat?
LibreChat is an open-source, self-hosted web application that provides a unified chat interface for commercial and local large language models. It lets individuals and organizations bring their own API keys or connect local inference runtimes, build specialized agents with attached files, tools, reusable skills, and delegated subagents, generate interactive artifacts, execute code in isolated sandboxes, connect external services through Model Context Protocol (MCP) servers, and retain persistent memory and search across conversations. LibreChat runs as a Docker, npm, or Helm-managed service on infrastructure the operator chooses, with enterprise authentication options including OAuth, SAML, LDAP, and two-factor support.
Features
- Multi-provider model access: supports OpenAI, Anthropic, Azure OpenAI, Google, AWS Bedrock, xAI, DeepSeek, Mistral AI, Cohere, Groq, OpenRouter, Perplexity, Fireworks AI, Together AI, Databricks, LiteLLM, Ollama, vLLM, Apple MLX, and custom endpoints.
- Agents, skills, and subagents: configurable agents with attached files, tools, reusable instruction workflows (skills), and subagents that handle focused subtasks in isolated context.
- Artifacts: conversations can produce interactive applications, diagrams, and documents.
- Code Interpreter: executes code across multiple languages inside an isolated sandbox.
- MCP support: connects chats and agents to external tools, APIs, and internal data systems through MCP servers.
- Projects, memory, web search, and message search: organizes related threads into project workspaces, retains persistent memory across conversations, adds live web search with reranking, and supports full-history message search.
- Enterprise authentication: supports OAuth, SAML, LDAP, and two-factor authentication for SSO and multi-user deployments.
Use cases and audiences
Platform engineering and enterprise IT teams self-host LibreChat as an internal AI workspace so employees across departments can use multiple models under centralized SSO and data-governance policies. Data, analytics, and bioinformatics teams pair LibreChat with analytical databases and internal MCP servers to ask natural-language questions against large datasets, run text-to-SQL workflows, and inspect visualizations without writing queries manually. Individual developers and researchers run it locally to evaluate commercial and open-weight models side by side, build interactive artifacts, and test agent and code-execution workflows without vendor lock-in. Organizations in regulated environments use the self-hosted deployment plus SSO to keep prompts and data inside their own boundaries.
Technical details
- License and codebase: open-source under the MIT license, written primarily in TypeScript (~86.7%) and JavaScript (~12.8%) with additional Go, Handlebars, CSS, and Shell components.
- Client and delivery model: self-hosted web application accessed via browser rather than a native Windows, macOS, or Linux desktop installer; a public evaluation instance is available at
chat.librechat.ai(not intended for private data). - Deployment: local installation via Docker (Docker Desktop on Windows and macOS, with an Apple Silicon MongoDB prerequisite noted in the documentation), npm, or Kubernetes Helm Chart; remote hosting guides cover platforms including DigitalOcean and Railway.
- Configuration: configured through environment variables and YAML settings for custom endpoints, model providers, banners, and authentication.
- Authentication: OAuth, SAML, LDAP, and two-factor authentication.
- API and sandbox transition: ClickHouse announced on November 4, 2025 that the legacy paid LibreChat Code Interpreter API (a hosted sandboxed execution service) would evolve and be discontinued in its current form on a six-month transition timeline targeting May 1, 2026.
ClickHouse acquired LibreChat on November 4, 2025, bringing founder Danny Avila and the LibreChat team into ClickHouse while keeping the project open source under the MIT license. LibreChat now serves as the conversational and agent interface of ClickHouse's open-source Agentic Data Stack, combining LibreChat's multi-LLM workspace and MCP ecosystem with ClickHouse's analytical database for agent-facing data workloads.
Categories & Use Cases
Technical Details
| Mobile Application | No |
|---|