Directory › Productivity & docs › LibreChat
> GEM PRODUCTIVITY & DOCS · AGENTS & AUTOMATION · LOCAL AI
LibreChat
by Danny Avila
An open-source, self-hostable ChatGPT clone that brings all your models into one interface.
View on GitHub →What it does
- Claude, GPT, Gemini, Mistral and local models in one place
- Agents, MCP, artifacts and code interpreter
- Multi-user with authentication
Install it
Requirements: Git and Docker.
Clone the repository
git clone https://github.com/LibreChat-AI/LibreChat.git
Create the environment file (in the LibreChat folder)
cp .env.example .env
Start
docker compose up -d
The prompt for your agent
Paste it into your coding agent: it checks the requirements and installs it for you.
Claude CodeCodexCursorGemini CLIopencode
Prompt
Install LibreChat (https://www.librechat.ai) on my machine.
1. Check the requirements: Git and Docker. If anything is missing, tell me before installing anything.
2. Follow the official method:
- Clone the repository: git clone https://github.com/LibreChat-AI/LibreChat.git
- Create the environment file (in the LibreChat folder): cp .env.example .env
- Start: docker compose up -d
3. Check that it works, then explain how to launch it and where to start.
Always review what your agent is about to run, especially install commands.