Welcome to LibreChat
LibreChat is a self-hosted AI chat platform that unifies all major AI providers in a single, privacy-focused interface. Beyond chat, LibreChat provides AI Agents, Model Context Protocol (MCP) support, Artifacts, Code Interpreter, custom actions, conversation search, and enterprise-ready multi-user authentication. Open source, actively developed, and built for anyone who values control over their AI infrastructure.Quick Start
Get LibreChat running in minutes with Docker
Installation
Detailed installation options including Docker, npm, and cloud deployments
Configuration
Configure AI endpoints, authentication, and custom settings
API Reference
Explore the LibreChat API and integration options
What is LibreChat?
LibreChat (v0.8.3) is an all-in-one AI conversation platform that brings together the most powerful AI models in a unified interface. Whether you’re running it locally or deploying to the cloud, LibreChat gives you complete control over your AI interactions.Key Capabilities
Multi-Provider Support
Connect to OpenAI, Anthropic, Google, Azure, AWS Bedrock, and more
AI Agents
Build no-code custom assistants with tools, file search, and code execution
Code Interpreter
Execute code in Python, Node.js, Go, C/C++, Java, PHP, Rust, and Fortran
Web Search
Search the internet and enhance AI responses with real-time information
Multimodal Chat
Upload and analyze images, PDFs, and documents in conversations
Self-Hosted
Complete data privacy with local or cloud deployment options
Why LibreChat?
Privacy First
Your conversations and data stay under your control. Run LibreChat entirely on your infrastructure—no external services required unless you choose to integrate them.Unified Experience
Stop juggling multiple AI platforms. LibreChat provides a consistent, ChatGPT-inspired interface for all your AI providers with seamless switching between models mid-conversation.Enterprise Ready
LibreChat includes built-in features for team collaboration:
- Multi-user authentication (OAuth2, LDAP, Email)
- Token spend tracking and balance management
- User moderation and rate limiting
- Role-based access control
Extensible Platform
- Custom Endpoints: Connect any OpenAI-compatible API
- MCP Support: Integrate Model Context Protocol servers for enhanced tools
- Plugin System: Extend functionality with code interpreter, web search, and custom tools
- Agent Marketplace: Share and discover community-built AI agents
Core Features
Conversation Management
- Presets: Create and share custom AI configurations
- Branching: Fork conversations and messages for alternate paths
- Search: Full-text search across all conversations and messages
- Import/Export: Move conversations between LibreChat, ChatGPT, and other platforms
Advanced AI Features
Code Artifacts
Generate interactive React components, HTML pages, and Mermaid diagrams directly in chat
Internationalization
LibreChat supports 30+ languages including English, Chinese, Arabic, German, Spanish, French, Italian, Polish, Portuguese, Russian, Japanese, Swedish, Korean, Vietnamese, Turkish, Dutch, Hebrew, and more.Architecture
LibreChat is built as a monorepo with separate workspaces:
/api- Express backend server (Node.js)/client- React frontend (TypeScript)/packages/*- Shared libraries and utilities- Database: MongoDB for data persistence
- Search: Meilisearch for conversation indexing
- Cache: Optional Redis for multi-instance deployments
System Requirements
Minimum:- Node.js v20.19.0+ (or v22.12.0+, or v23.0.0+)
- MongoDB 8.0+
- 2GB RAM
- 10GB disk space
- 4GB+ RAM
- 20GB+ disk space
- Redis for caching (multi-instance setups)
- Reverse proxy (nginx/Caddy)
Deployment Options
Docker
Fastest way to get started—single command deployment
npm/Local
Full control with manual installation
Cloud Platforms
One-click deploys to Railway, Zeabur, or Sealos
Getting Help
Documentation
Comprehensive guides and API references
Discord Community
Join 25,000+ users for support and discussion
GitHub Issues
Report bugs and request features
YouTube Channel
Video tutorials and feature showcases
Next Steps
LibreChat is an open-source project actively developed and maintained by the community. Contributions are welcome!