LibreChat  by danny-avila

Enhanced ChatGPT clone for self-hosting

created 2 years ago
28,600 stars

Top 1.3% 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

23 hours ago

Responsiveness

Inactive

Pull Requests (30d)
182
Issues (30d)
192
Star History
3,769 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), and
1 more.

fragments by e2b-dev

0.6%
6k
Next.js template for AI-generated apps
created 1 year ago
updated 1 week ago
Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy), and
12 more.

opencode by sst

7.8%
16k
CLI tool for AI-assisted coding in the terminal
created 3 months ago
updated 16 hours ago
Feedback? Help us improve.