LibreChat  by danny-avila

Enhanced ChatGPT clone for self-hosting

Created 2 years ago
32,981 stars

Top 1.0% on SourcePulse

GitHubView on GitHub
Project Summary

LibreChat is an open-source, self-hostable chatbot platform designed to replicate and enhance the ChatGPT user experience. It targets users who want to leverage multiple AI models, including proprietary and open-source options, without relying on paid subscriptions, and developers seeking a flexible backend for AI integrations.

How It Works

LibreChat employs a modular architecture, allowing seamless integration with various AI providers via custom endpoints and a unified Model Context Protocol (MCP). This approach supports a wide array of models from OpenAI, Anthropic, Google, Mistral, and local providers like Ollama, enabling AI model switching and multimodal interactions. Its sandboxed Code Interpreter API supports multiple languages for secure code execution and file processing.

Quick Start & Requirements

  • Install/Run: Docker is the primary method.
  • Prerequisites: Docker, Docker Compose. Specific AI model providers may require API keys.
  • Resources: Requires sufficient resources for Docker containers and potentially local AI models.
  • Docs: docs.librechat.ai

Highlighted Details

  • Supports over 20 AI providers including OpenAI, Azure, Anthropic, Bedrock, Gemini, Groq, and local models via Ollama.
  • Features a Code Interpreter with sandboxed execution in Python, Node.js, Go, C/C++, Java, PHP, Rust, and Fortran.
  • Includes Agents with no-code custom assistant building, tool integration (DALL-E-3, file search), and multimodal capabilities.
  • Offers a multilingual UI, speech-to-text/text-to-speech, and secure multi-user authentication (OAuth2, LDAP, Email).

Maintenance & Community

This is an actively developed project with community contributions welcome. Translations are managed via Locize.

Licensing & Compatibility

The project is open-source. Specific licensing details for individual components or AI model integrations are not explicitly detailed in the README, requiring further investigation for commercial use or closed-source linking.

Limitations & Caveats

The README mentions consulting the changelog for breaking changes before updating, indicating potential for API or feature instability during development. The breadth of integrations may lead to complex configuration.

Health Check
Last Commit

14 hours ago

Responsiveness

1 day

Pull Requests (30d)
172
Issues (30d)
133
Star History
724 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Yaowei Zheng Yaowei Zheng(Author of LLaMA-Factory).

AstrBot by AstrBotDevs

1.1%
15k
LLM chatbot/framework for multiple platforms
Created 3 years ago
Updated 10 hours ago
Feedback? Help us improve.