Skip to main content

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

1

Code Artifacts

Generate interactive React components, HTML pages, and Mermaid diagrams directly in chat
2

Image Generation

Create and edit images with GPT-Image-1, DALL-E, Stable Diffusion, or Flux
3

Reasoning UI

Visualize chain-of-thought reasoning for models like DeepSeek-R1
4

Resumable Streams

Never lose a response—streams automatically reconnect and sync across devices

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
Recommended for Production:
  • 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

Ready to start? Head to the Quick Start guide to get LibreChat running in under 5 minutes, or explore the Installation guide for more deployment options.

LibreChat is an open-source project actively developed and maintained by the community. Contributions are welcome!