β¨ Get original here: LibreChat
-
Clone the Repository
git clone https://github.com/danny-avila/LibreChat.git cd LibreChat
-
Create Configuration Files
- Create
librechat.yaml
in the root directory:
endpoints: ollama: baseURL: http://host.docker.internal:11434 models: - llama2 - codellama - mistral - mixtral # Add other models you've pulled in Ollama # IMPORTANT: The model names here must match the tags used when pulling models in Ollama # For example: if you run 'ollama pull llama2:13b', use 'llama2:13b' here # See your available models with 'ollama list'
- Create
docker-compose.override.yml
:
services: api: environment: - OLLAMA_PROXY=true
π Documentation Links
- Create
-
Start Docker Services
docker compose up --build
-
Access LibreChat
- Open http://localhost:3080 in your browser
- Create an account and log in
- Select "Ollama" from the model dropdown
- Start chatting with your local LLMs!
- If models aren't visible in LibreChat, ensure Ollama is running and models are pulled:
ollama list ollama pull mistral # or any other model you want to use
- Check Docker logs if you encounter issues:
docker compose logs -f
π
.cursor/rules/
- AI Coding Rules.cursor/rules/ βββ frontend.mdc .............. Frontend development rules and patterns βββ backend.mdc ............... Backend development and API guidelines
π LibreChat
βββ π [API] api/ ........................... Backend API and server-side code
βββ π [Frontend] client/ ................... Frontend React application
β βββ π public/ ......................... Static assets and files
β βββ π src/ ............................ Source code for the React app
βββ π [Config] config/ .................... Configuration files and settings
βββ π [Modules] packages/ ................. Shared packages and modules
βββ π [Testing] e2e/ ...................... End-to-end testing files
βββ π [Helpers] utils/ .................... Utility functions and helper code
βββ π [IDE] .cursor/ ...................... Cursor IDE configuration
β βββ π rules/ .......................... AI coding rules and settings
βββ π [Python] .venv/ ..................... Python virtual environment
βββ π [K8s] charts/ ...................... Kubernetes Helm charts
-
π₯οΈ Modified logo and UI for use in LibreDash project
-
π€ AI Model Selection:
- Anthropic (Claude), AWS Bedrock, OpenAI, Azure OpenAI, Google, Vertex AI, OpenAI Assistants API (incl. Azure)
- Custom Endpoints: Use any OpenAI-compatible API with LibreChat, no proxy required
- Compatible with Local & Remote AI Providers:
- Ollama, groq, Cohere, Mistral AI, Apple MLX, koboldcpp, together.ai,
- OpenRouter, Perplexity, ShuttleAI, Deepseek, Qwen, and more
-
π§ Code Interpreter API:
- Secure, Sandboxed Execution in Python, Node.js (JS/TS), Go, C/C++, Java, PHP, Rust, and Fortran
- Seamless File Handling: Upload, process, and download files directly
- No Privacy Concerns: Fully isolated and secure execution
-
π¦ Agents & Tools Integration:
- LibreChat Agents:
- No-Code Custom Assistants: Build specialized, AI-driven helpers without coding
- Flexible & Extensible: Attach tools like DALL-E-3, file search, code execution, and more
- Compatible with Custom Endpoints, OpenAI, Azure, Anthropic, AWS Bedrock, and more
- Model Context Protocol (MCP) Support for Tools
- Use LibreChat Agents and OpenAI Assistants with Files, Code Interpreter, Tools, and API Actions
- LibreChat Agents:
-
πͺ Generative UI with Code Artifacts:
- Code Artifacts allow creation of React, HTML, and Mermaid diagrams directly in chat
-
πΎ Presets & Context Management:
- Create, Save, & Share Custom Presets
- Switch between AI Endpoints and Presets mid-chat
- Edit, Resubmit, and Continue Messages with Conversation branching
- Fork Messages & Conversations for Advanced Context control
-
π¬ Multimodal & File Interactions:
- Upload and analyze images with Claude 3, GPT-4.5, GPT-4o, o1, Llama-Vision, and Gemini πΈ
- Chat with Files using Custom Endpoints, OpenAI, Azure, Anthropic, AWS Bedrock, & Google ποΈ
-
π Multilingual UI:
- English, δΈζ, Deutsch, EspaΓ±ol, FranΓ§ais, Italiano, Polski, PortuguΓͺs Brasileiro
- Π ΡΡΡΠΊΠΈΠΉ, ζ₯ζ¬θͺ, Svenska, νκ΅μ΄, TiαΊΏng Viα»t, ηΉι«δΈζ, Ψ§ΩΨΉΨ±Ψ¨ΩΨ©, TΓΌrkΓ§e, Nederlands, Χ’ΧΧ¨ΧΧͺ
-
π§ Reasoning UI:
- Dynamic Reasoning UI for Chain-of-Thought/Reasoning AI models like DeepSeek-R1
-
π¨ Customizable Interface:
- Customizable Dropdown & Interface that adapts to both power users and newcomers
-
π£οΈ Speech & Audio:
- Chat hands-free with Speech-to-Text and Text-to-Speech
- Automatically send and play Audio
- Supports OpenAI, Azure OpenAI, and Elevenlabs
-
π₯ Import & Export Conversations:
- Import Conversations from LibreChat, ChatGPT, Chatbot UI
- Export conversations as screenshots, markdown, text, json
-
π Search & Discovery:
- Search all messages/conversations
-
π₯ Multi-User & Secure Access:
- Multi-User, Secure Authentication with OAuth2, LDAP, & Email Login Support
- Built-in Moderation, and Token spend tools
-
βοΈ Configuration & Deployment:
- Configure Proxy, Reverse Proxy, Docker, & many Deployment options
- Use completely local or deploy on the cloud
-
π Open-Source & Community:
- Completely Open-Source & Built in Public
- Community-driven development, support, and feedback
For a thorough review of our features, see our docs here π
LibreChat brings together the future of assistant AIs with the revolutionary technology of OpenAI's ChatGPT. Celebrating the original styling, LibreChat gives you the ability to integrate multiple AI models. It also integrates and enhances original client features such as conversation and message search, prompt templates and plugins.
With LibreChat, you no longer need to opt for ChatGPT Plus and can instead use free or pay-per-call APIs. We welcome contributions, cloning, and forking to enhance the capabilities of this advanced chatbot platform.
Click on the thumbnail to open the videoβοΈ
GitHub Repo:
- RAG API: github.com/danny-avila/rag_api
- Website: github.com/LibreChat-AI/librechat.ai
Other:
- Website: librechat.ai
- Documentation: docs.librechat.ai
- Blog: blog.librechat.ai
Keep up with the latest updates by visiting the releases page and notes:
Contributions, suggestions, bug reports and fixes are welcome!
For new features, components, or extensions, please open an issue and discuss before sending a PR.
If you'd like to help translate LibreChat into your language, we'd love your contribution! Improving our translations not only makes LibreChat more accessible to users around the world but also enhances the overall user experience. Please check out our Translation Guide.
We thank LibreChat team. Also Locize for their translation management tools that support multiple languages in LibreChat.