LibreChat is an enhanced, open-source AI chat platform that unifies all major AI providers in a single, privacy-focused, self-hosted interface. Connect to Anthropic Claude, OpenAI GPT, Google Gemini, AWS Bedrock, Azure OpenAI, and dozens more through one consistent UI.
Beyond basic chat, LibreChat provides AI Agents with no-code custom assistant creation and an Agent Marketplace for collaborative sharing. Model Context Protocol (MCP) support lets you connect external tools and data sources directly to your AI conversations. The Code Interpreter API runs sandboxed code in Python, Node.js, Go, C/C++, Java, PHP, Rust, and Fortran with file upload and processing.
The web search feature integrates internet search with content scrapers and customizable Jina Reranking. Code Artifacts generate React components, HTML, and Mermaid diagrams directly in chat. Image generation supports GPT-Image-1, DALL-E 3/2, Stable Diffusion, Flux, and MCP-based image servers.
Conversation management goes deep. Create, save, and share custom presets. Switch endpoints mid-chat without losing context. Branch and fork conversations for exploring different paths. Full-text search across all messages via MeiliSearch lets you find any past conversation instantly. Import from ChatGPT and export as screenshots, markdown, text, or JSON for portability.
The reasoning UI shows dynamic chain-of-thought displays for models like DeepSeek-R1, giving you visibility into how the model arrives at its answers. Speech-to-text and text-to-speech work with OpenAI, Azure, and ElevenLabs voices, making LibreChat accessible through voice interactions.
The multilingual UI supports 30+ languages including English, Chinese, Japanese, Korean, Spanish, French, German, Portuguese, and many more. Authentication covers enterprise needs with OAuth2 (Google, GitHub, Discord, Facebook, Apple), LDAP, SAML, email login, and JWT sessions. Built-in moderation tools and token spend tracking keep usage under control for teams of any size.
Resumable streams auto-reconnect on connection drops and sync across multiple tabs and devices. When your network drops or you switch from laptop to phone, the conversation picks up right where you left off. Redis-backed session management ensures this works reliably even in scaled deployments with multiple instances.
Built with Express.js 5, React 18, MongoDB, Redis, and MeiliSearch. The Turborepo monorepo architecture organizes the codebase into api, client, and shared packages for clean separation of concerns. Docker Compose gets you running in 5 minutes with just a clone and docker compose up.
One-click deploy options for Railway, Zeabur, Sealos, and DigitalOcean make cloud deployment simple. Kubernetes Helm Charts are available for production deployments that need horizontal scaling. Licensed under ISC. Over 36,400 GitHub stars, 7,500 forks, 335 contributors, and 32.3 million Docker pulls make LibreChat one of the most popular self-hosted AI chat platforms available today.