项目简介
LibreChat 是开源可自托管的 ChatGPT 克隆应用,界面与体验对标 ChatGPT。支持 OpenAI、Anthropic、Google、Azure 等多家模型及自定义端点,可自由切换模型。内置智能体、MCP 工具、代码解释器、联网搜索、图像生成与安全多用户认证等功能。
README 预览
\n \n \n \n \n LibreChat\n \n\n\n\n English ·\n 中文\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n \n\n\n \n\n\n\n\n \n \n \n\n\n## 🚀 What's New in v0.8.8-rc3\n\n- **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.\n- **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.\n- **Background tool controls:** Optionally cancel ordinary background tools, including attached Bash, while keeping detached Subagent execution independent.\n- **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.\n- **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.\n- **Context Usage:** Inspect dialogue, retained tool traffic, Agent instructions, cache, cost, and runway pressure without double-counting category subsets.\n- **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.\n- **Models:** Added GPT-6 Astra for the OpenAI and Agents endpoints, with Responses API routing and tool-call support.\n- **Agent and chat UI:** Unified tool activity, reasoning, search, and Agent workflows; added one draggable Pinned section for chats and favorit