LibreChat

LibreChat-AIMIT活跃维护

可自托管的多用户 AI 聊天平台,聚合 OpenAI、Anthropic、Gemini、DeepSeek 等多家模型,支持模型切换、Agent、MCP、代码解释器和消息搜索。

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

v0.8.9-rc1发布于 2026-10-26 21:55 UTC46,929star +98 / 7 天9,668fork同步于 2026-11-10 11:19 UTC

怎么上手

由 README 提炼,执行前请确认
docker compose up -d
硬件要求按 README 说明

README 未说明具体显存或 GPU 要求;作为自托管服务,模型推理由所接入的外部 API 或本地推理服务承担。

有 Docker 镜像
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

自托管的多模型 AI 聊天平台,把 OpenAI、Anthropic、Gemini 等统一到一个界面里

可自托管的多用户 AI 聊天平台,聚合 OpenAI、Anthropic、Gemini、DeepSeek 等多家模型,支持模型切换、Agent、MCP、代码解释器和消息搜索。

核心能力

  • 统一接入 OpenAI、Azure、Anthropic、Bedrock、Vertex AI 等多家模型
  • 支持自定义 OpenAI 兼容端点,无需代理即可接入本地或远程模型
  • 内置 Agents,可挂载 MCP 服务器、工具、文件搜索与代码执行
  • 沙箱代码解释器支持 Python、Node.js、Go、C/C++、Java 等语言
  • 多用户 OAuth2/LDAP 登录,带管理面板与角色权限控制

容易踩的坑

需自行准备各 AI 提供商的 API Key 并写入配置文件;代码解释器等部分功能依赖额外后端服务;README 未给出默认端口,需查阅文档确认。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.8.9-rc1
  1. v0.8.9-rc1pre-release最新正式版2026-10-26 · 2026-10-26 21:55 UTC

    https://www.librechat.ai/changelog/v0.8.9-rc1

    🏞️ Highlights

    • Chat Projects with shared instructions and reference files
    • Passkey sign-in, email changes, and stronger two-factor account protection
    • Redesigned chat controls, reply notifications, and right-to-left layouts
    • Deployment themes with configurable colors and appearance
    • MCP Apps and more deliberate tool-approval choices
    • Attached-machine enrollment, per-chat workspace choices, attachment copies, and pull request status
    • Langfuse prompts in the catalog and slash command
    • Recoverable subagent transcripts and clearer background-task progress
    • Node.js 24.22.1 security updates and bounded history/tool previews

    Upgrade guidance: https://www.librechat.ai/docs/configuration/upgrade

    ✨ Features

    • ⬆️ feat: Migrate to Zod v4 by @danny-avila in #17442
    • 🔎 feat: Filter Agent Builder Selector to Authored Agents by @berry-13 in #17439
    • 🌿 feat: Branch Tool Fold Rails Into Each Row by @berry-13 in #17407
    • 🎴 feat: Use Langfuse Prompts from Cards and the Slash Command by @AtefBellaaj in #17104
    • 🏬 feat: Sync Langfuse Prompts into the Catalog by @AtefBellaaj in #17095
    • 🖐️ feat: Make External Prompt Groups Read-Only by @AtefBellaaj in #17008
    • ⛲ feat: Resolve Native and Langfuse Prompts by Source by @AtefBellaaj in #16909
    • 🏺 feat: Track Prompt Group Source Identity by @AtefBellaaj in #16891
    • 🧐 feat: Preview Langfuse Prompts in Settings by @AtefBellaaj in #16854
    • 🪑 feat: Add Shared Source Author and Distributed Lock Helpers by @AtefBellaaj in #17086
    • 🧬 feat: Re-Derive Azure Groups, Vertex AI, Custom Parameters and Spec Defaults for Config Profiles by @danny-avila in #17399
    • 🏷️ feat: Hide and Rename Custom Endpoints by Name in Config Profiles by @danny-avila in #17396
    • 🧾 feat: Admin Config Write Report, Structured Issues and Deployment-Only Paths by @danny-avila in #17395
    • 🔭 feat: Admin Config Read APIs (Resolved and Effective Config, Scope Catalog, Env Status) by @danny-avila in #17383
    • 📎 feat: Copy Chat Attachments into Attached Workspaces by @danny-avila in #17376
    • 🔐 feat: Admin Config Secrets v2 (MCP and Azure Credentials, Re-entry, Env Allowlist, Rebinding) by @danny-avila in #17353
    • 🧑‍✈️ feat: Enroll Machines Through Explicit Browser Approval by @lia-by-librechat[bot] in #17344
    • 🙈 feat: Let Config Profiles Hide librechat.yaml MCP Servers and Remove Their Fields
  2. v0.8.8pre-release2026-10-01 · 2026-10-01 02:49 UTC
    查看更新说明

    https://www.librechat.ai/changelog/v0.8.8

    🏞️ Highlights

    • Meet Lia: Building LibreChat with LibreChat.
    • Agent control: Interrupt, steer, queue messages, answer questions, and approve tool calls.
    • Unified Agent Builder: Same-run Skill authoring, opt-in Programmatic Tool Calling, and background tools.
    • Background tasks: Clearer task cards, header controls, and automatic delivery of supported results.
    • Scheduled Chats: Cron, time zones, and Project destinations. In beta: experimental and disabled by default.
    • Code workspaces: Stateful sessions, attached machines, recovery, and guarded permissions. Highly experimental; compatible services required.
    • Beta Agents API: Improved compatibility with Chat Completions, Open Responses, Agent/Skill management, and introduced Agent Events
    • Experimental Agent Plugins: Bundle Skills and MCP servers, with opt-in command hooks.
    • Execution visibility: Live activity, tool timing, Context Usage, optional costs, and a configured Langfuse Trace Viewer.
    • Chat improvements: Draggable pins, chat filtering, manual compaction, mobile polish, and automatic attachment routing.
    • Model updates: GPT-6 and GPT-6.1 Sol, Claude Opus/Sonnet 5.5, and Gemini 3.8 Flash. GPT-6.1 Sol uses family-fallback limits and pricing.
    • Performance and security: Faster rendering and streaming and long-thread sends, stronger credential boundaries, tenant-scoped endpoints, and 2FA management limits.

    For detailed changes in the release candidates, see:

    Operator configuration changes: Config v1.3.15, v1.3.16, and v1.3.17.


    Changes Since v0.8.8-rc4

    ✨ Features

  3. v0.8.8-rc4pre-release2026-09-23 · 2026-09-23 03:58 UTC
    查看更新说明

    https://www.librechat.ai/changelog/v0.8.8-rc4

    🏞️ Highlights

    • GPT-6 Sol, GPT-6 Luna, and Claude Opus 5.5
    • Caller-executed tools for the Open Responses API
    • Same-run Skill authoring and execution - Agentic Coding:
      • conversation-isolated attached workspaces + repository instructions (AGENTS.md)
    • Expanded Trace Viewer with steps, roles, previews, and cost powered by Langfuse
    • System-event turns and single-row live activity
    • Faster streaming Markdown, model search, and Agent messages
    • Stronger MCP authentication and per-request headers

    ✨ Features

  4. v0.8.8-rc3pre-release2026-09-15 · 2026-09-15 02:34 UTC
    查看更新说明

    https://www.librechat.ai/changelog/v0.8.8-rc3

    🏞️ Highlights

    • Experimental: Bring-Your-Own-Machine for scalable coding agents
    • Agent/Skills CRUD API improvements
    • Conversation Trace Viewer and Subagent file sharing
    • GPT-6 Astra and expanded Context Usage
    • File text fallback, unified artifact rows, and upload previews
    • Unified pinning, chat filtering, and interface polish
    • MCP, OpenID, Agent, and Code reliability improvements

    ✨ Features

  5. v0.8.8-rc2pre-release2026-09-03 · 2026-09-03 02:28 UTC
    查看更新说明

    https://www.librechat.ai/changelog/v0.8.8-rc2

    🏞️ Highlights

    • Interrupt Agent runs before visible output, steer or queue follow-ups, and recover tool-limited turns
    • Optional generated activity groups, live phase cards, and reasoning labels
    • Unified Agent Builder with standalone Skill authoring, background tools, intent labels, and Programmatic Tool Calling
    • Durable Agent Events, actor mailboxes, receipts, human pauses, and background completion wakeups
    • Saved Agent teams, deeper Subagent history, stable event panels, live controls, and automatic parent continuation
    • Experimental Agent Plugins and highly experimental Code environments with guarded file and command permissions
    • Agent memory isolation and categorized Context Usage with optional cost
    • Redesigned Projects, full-message chat search, searchable settings, shortcuts, pinning, and mobile navigation
    • Experimental Scheduled Chats with cron, time zones, weekly cadence, and project destinations
    • Stable shared links, personal copies, editable long pastes, and attachment-only turns
    • Fullscreen artifacts, Mermaid export, PowerPoint templates, and original file downloads
    • Keenable keyless web search plus expanded SearXNG and Tavily controls
    • Default security headers, opt-in nonce CSP, authenticated local images, Code Interpreter JWTs, and stronger SAML/OIDC flows
    • In-app Langfuse connections, tenant fanout, export telemetry, and authorized session links
    • Auditable source-aware content filtering, tenant Insights, and encrypted admin configuration
    • GPT-5.6, Claude Fable 5.1, Opus 5 and Sonnet 5, Gemini 3.8/3.7/3.6 Flash, and Gemini 3.5 Flash-Lite
    • Adaptive streaming, automatic generation protocol v2, Redis failover recovery, and live MCP catalog refresh

    ✨ Features

    • 🕒 feat: Track terms acceptance timestamp by @berry-13 in #10810
    • 🔄 feat: Continue Shared Conversations as Personal Copies by @berry-13 in #13714
    • 🪝 feat: HITL Tool Approval Scaffolding (Slice A) by @danny-avila in #12938
    • 🧠 feat: Add Memory as an Agent Capability with Inline Tools and Ephemeral Badge by @danny-avila in #13869
    • 📇 feat: Agent Contact Visibility with Owner Fallback by @peeeteeer in #13663
    • 🪟 feat: Faithful Over-Window Context Estimate via Prune Mirror and Overhead Reserve by @danny-avila in #13959
    • 🪭 feat: Add opt-in Langfuse fanout gateway + collector by @upman in #13872
    • 🪝 feat: Human-in-the-Loop Runtime - Tool Approval + Ask-User-Question (Slice B) by @danny-avila in #13942
    • 🪗 feat: Dock-Style Fisheye Nav Rail With Instant Hover Preview by @danny-avila in #14021
    • 🤖 feat: Add Claude Sonnet 5 Support by @danny-avila in #14042
    • 🥷 feat: Add showInMenu Option to Model Specs by @alexkorep in #14034
    • 🫷 feat: Exclude File Authoring Tools From Eager Execution by @danny-avila in #14051
    • 🪝 feat: Configurable Tool-Approval Policy via Programmatic Hooks by @danny-avila in #14025
    • 🧹 feat: Eager HITL Checkpoint Cleanup (Expiry + Deletion) & Full-Wiring E2E by @danny-avila in #14123
    • 🧰 feat: Redesign Agent Builder with Unified Tools Marketplace, Skills & Orchestration by @berry-13 in #13952
    • 📡 feat: add rum browser page-load dia

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    🚀 What's New in v0.8.8

    • Agent Management API (beta): Create, discover, update, and delete Agents; manage Agent files and Skills; and authenticate machine clients through deployment-bound OIDC identities while preserving existing role and Agent access controls. Public OpenAPI and Swagger UI cover inference, events, Agent management, and Skill management.
    • Attached workspaces (highly experimental): Select or save a per-Agent default workspace for each managed or personal code worker, then let Agents inspect trees, read and search files, author changes, and run Bash with bounded timeouts. Personal workers support bounded self-service enrollment, readiness status, and per-Agent Git identity.
    • Background tool controls: Optionally cancel ordinary background tools, including attached Bash, while keeping detached Subagent execution independent.
    • Code approval controls: Choose Ask, Allow, or Deny for file writes and command execution where administrators permit it, including a Full access mode for trusted attached environments. File Search and Run Code also honor role grants.
    • Manual context compaction: Start a summarize-only turn before the context window fills while preserving recent conversation content according to the deployment's summarization policy.
    • Context Usage: Inspect dialogue, retained tool traffic, Agent instructions, cache, cost, and runway pressure without double-counting category subsets.
    • Unified attachments: Upload once and let LibreChat route content to the model or extracted text, then provision File Search and Code tools only when needed.
    • Models: Added GPT-6 Astra and GPT-6.1 Sol, with Responses API routing and tool-call support.
    • Agent and chat UI: Unified tool activity, reasoning, search, and Agent workflows; added one draggable Pinned section for chats and favorites, morphing state icons, high-contrast themes, rich-text message copying, clearer sidebar titles, and refined live phase layouts.
    • Observability: Inspect ordered model conversations, tool rounds, and costs in the Trace Viewer; export correlated application logs through OpenTelemetry, configure allowlisted Langfuse trace identity and metadata, tag browser diagnostics with client build IDs, and scope Insights to authorized Agents.
    • Reliability and security: Strengthened Agent continuation and checkpoint recovery, Redis liveness detection, DocumentDB coordination, OpenID and MCP OAuth sessions, shared-link throttling, tenant isolation, attachment bounds, and upload error handling.

    Read the full v0.8.8 changelog.

    ✨ Features

    • 🖥️ UI & Experience inspired by ChatGPT with enhanced design and features

    • 🤖 AI Model Selection:

      • Anthropic (Claude), AWS Bedrock, OpenAI, Azure OpenAI, Google, Vertex AI, OpenAI Responses API (incl. Azure)
      • Custom Endpoints: Use any OpenAI-compatible API with LibreChat, no proxy required
      • Compatible with Local & Remote AI Providers:
        • Ollama, AMD Lemonade, groq, Cohere, Mistral AI, Apple MLX, koboldcpp, together.ai,
        • OpenRouter, Helicone, 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
      • Open-Source & Self-Hostable: powered by ClickHouse/code-interpreter
    • 🔦 Agents & Tools Integration:

      • LibreChat Agents:
        • No-Code Custom Assistants: Build specialized, AI-driven helpers
        • Agent Marketplace: Discover and deploy community-built agents
        • Collaborative Sharing: Share agents with specific users and groups
        • Flexible & Extensible: Use MCP Servers, tools, file search, code execution, and more
        • Skills: Create reusable SKILL.md instruction bundles for manual, automatic, or always-on agent workflows
        • Agent Plugins: Experimentally bundle deployment Skills and MCP servers into startup-loaded packages
        • Subagents: Delegate focused work to isolated child agent runs with their own context windows
        • Agent Management API: Automate Agent, file, and Skill management with deployment-bound OIDC clients
        • Attached Code Workspaces: Let Agents inspect, search, edit, and run commands in managed or personal workspaces (highly experimental)
        • Compatible with Custom Endpoints, OpenAI, Azure, Anthropic, AWS Bedrock, Google, Vertex AI, Responses API, and more
        • Model Context Protocol (MCP) Support for Tools
    • 🔍 Web Search:

      • Search the internet and retrieve relevant information to enhance your AI context
      • Combines search providers, content scrapers, and result rerankers for optimal results
      • Customizable Jina Reranking: Configure custom Jina API URLs for reranking services
      • Learn More →
    • 🪄 Generative UI with Code Artifacts:

      • Code Artifacts create React, HTML, and Mermaid content directly in chat
      • Open previews fullscreen and export Mermaid diagrams as SVG or PNG
    • 🎨 Image Generation & Editing

    • 💾 Presets & Context Management:

      • Create, Save, & Share Custom Presets
      • Switch between AI Endpoints and Presets mid-chat
      • Edit, Resubmit, and Continue Messages with Conversation branching
      • Create and share prompts with specific users and groups
      • Fork Messages & Conversations for Advanced Context control
      • Compact long conversations on demand while preserving recent context
    • 💬 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 🗃️
      • Copy messages as formatted rich text for documents, email, and collaboration apps
    • 🌎 Multilingual UI:

      • English, 中文 (简体), 中文 (繁體), العربية, Deutsch, Español, Français, Italiano
      • Polski, Português (PT), Português (BR), Русский, 日本語, Svenska, 한국어, Tiếng Việt
      • Türkçe, Nederlands, עברית, Català, Čeština, Dansk, Eesti, فارسی
      • Suomi, Magyar, Հայերեն, Bahasa Indonesia, ქართული, Latviešu, ไทย, ئۇيغۇرچە
    • 🧠 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
      • Light, dark, system, and high-contrast appearance modes
    • 📈 Observability:

      • Export traces and logs with OpenTelemetry and connect Langfuse for Agent and model insights
    • 🌊 Resumable Streams:

      • Never lose a response: AI responses automatically reconnect and resume if your connection drops
      • Multi-Tab & Multi-Device Sync: Open the same chat in multiple tabs or pick up on another device
      • Production-Ready: Works from single-server setups to horizontally scaled deployments with Redis
    • 🗣️ 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
    • 🎛️ Admin Panel:

      • Browser-based UI to manage users, groups, roles, and configuration overrides
      • Edit settings and per-role/group permissions live, without redeploying
      • Bundled with the Docker Compose stacks for one-command setup
    • ⚙️ Configuration & Deployment:

      • Configure Proxy, Reverse Proxy, Docker, & many Deployment options
      • Use S3 with CloudFront for stable media links, edge delivery, signed cookies, and secured downloads
      • 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 📚

    🪶 All-In-One AI Conversations with 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.


    🌐 Resources

    GitHub Repo:

    Other:


    📝 Changelog

    Keep up with the latest updates by visiting the releases page and notes:

    ⚠️ Please consult the changelog for breaking changes before updating.


    ⭐ Star History


    ✨ Contributions

    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.


    💖 This project exists in its current state thanks to all the people who contribute


    🎉 Special Thanks

    We thank Locize for their translation management tools that support multiple languages in LibreChat.