能力标签
LibreChat开源对话平台
🛠
AI工具

LibreChat开源对话平台

基于 TypeScript · 开源免费,本地部署,数据完全自主可控
英文名:LibreChat
⭐ 37.0k Stars 🍴 7.6k Forks 💻 TypeScript 📄 MIT 🏷 AI 8.5分
8.5AI 综合评分
开源多模型MCPAgent可自部署
✦ AI Skill Hub 推荐

AI Skill Hub 强烈推荐:LibreChat开源对话平台 是一款优质的AI工具。在 GitHub 上收获超过 37.0k 颗 Star,AI 综合评分 8.5 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。

📚 深度解析

LibreChat开源对话平台 是一款基于 TypeScript 的开源工具,在 GitHub 上收获 37k+ Star,是开源、多模型、MCP、Agent领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
LibreChat开源对话平台 依赖 TypeScript 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 TypeScript 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 LibreChat开源对话平台 的版本更新,及时通知重要功能变化。

📋 工具概览

功能完整的开源ChatGPT替代方案,集成MCP、智能Agent、DeepSeek、Anthropic、AWS、OpenAI等多个AI模型,支持Artifacts工件功能。适合需要自部署、多模型接入、企业级定制的开发者和组织。

LibreChat开源对话平台 是一款基于 TypeScript 开发的开源工具,专注于 开源、多模型、MCP 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 37.0k
开发语言
TypeScript
支持平台
Windows / macOS / Linux
维护状态
活跃维护,更新频繁
开源协议
MIT
AI 综合评分
8.5 分
工具类型
AI工具
Forks
7.6k

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

功能完整的开源ChatGPT替代方案,集成MCP、智能Agent、DeepSeek、Anthropic、AWS、OpenAI等多个AI模型,支持Artifacts工件功能。适合需要自部署、多模型接入、企业级定制的开发者和组织。

LibreChat开源对话平台 是一款基于 TypeScript 开发的开源工具,专注于 开源、多模型、MCP 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:npm 全局安装
npm install -g librechat

# 方式二:npx 直接运行(无需安装)
npx librechat --help

# 方式三:项目依赖安装
npm install librechat

# 方式四:从源码运行
git clone https://github.com/danny-avila/LibreChat
cd LibreChat
npm install
npm start
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
librechat --help

# 基本用法
librechat [options] <input>

# Node.js 代码中使用
const librechat = require('librechat');

const result = await librechat.run(options);
console.log(result);
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# librechat 配置说明
# 查看配置选项
librechat --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export LIBRECHAT_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 20/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

<p align="center"> <a href="https://librechat.ai"> <img src="client/public/assets/logo.svg" height="256"> </a> <h1 align="center"> <a href="https://librechat.ai">LibreChat</a> </h1> </p>

<p align="center"> <strong>English</strong> · <a href="README.zh.md">中文</a> </p>

<p align="center"> <a href="https://discord.librechat.ai"> <img src="https://img.shields.io/discord/1086345563026489514?label=&logo=discord&style=for-the-badge&logoWidth=20&logoColor=white&labelColor=000000&color=blueviolet"> </a> <a href="https://www.youtube.com/@LibreChat"> <img src="https://img.shields.io/badge/YOUTUBE-red.svg?style=for-the-badge&logo=youtube&logoColor=white&labelColor=000000&logoWidth=20"> </a> <a href="https://docs.librechat.ai"> <img src="https://img.shields.io/badge/DOCS-blue.svg?style=for-the-badge&logo=read-the-docs&logoColor=white&labelColor=000000&logoWidth=20"> </a> <a aria-label="Sponsors" href="https://github.com/sponsors/danny-avila"> <img src="https://img.shields.io/badge/SPONSORS-brightgreen.svg?style=for-the-badge&logo=github-sponsors&logoColor=white&labelColor=000000&logoWidth=20"> </a> </p>

<p align="center"> <a href="https://railway.com/deploy/librechat-official?referralCode=HI9hWz&utm_medium=integration&utm_source=readme&utm_campaign=librechat"> <img src="https://railway.com/button.svg" alt="Deploy on Railway" height="30"> </a> <a href="https://zeabur.com/templates/0X2ZY8"> <img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur" height="30"/> </a> <a href="https://template.cloud.sealos.io/deploy?templateName=librechat"> <img src="https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg" alt="Deploy on Sealos" height="30"> </a> </p>

<p align="center"> <a href="https://www.librechat.ai/docs/translation"> <img src="https://img.shields.io/badge/dynamic/json.svg?style=for-the-badge&color=2096F3&label=locize&query=%24.translatedPercentage&url=https://api.locize.app/badgedata/4cb2598b-ed4d-469c-9b04-2ed531a8cb45&suffix=%+translated" alt="Translation Progress"> </a> </p>

🚀 What's New in v0.8.8-rc2

  • Agent run control: Interrupt an Agent before visible answer text, steer runs with files and quoted excerpts, durably queue follow-ups, and recover saved partial work with Keep going or Answer now.
  • Agent activity: Optional generated labels group reasoning and tool work, fold completed groups into live phase cards, keep generated files visible, summarize multi-step phases, and show the current reasoning direction.
  • Human-in-the-loop Agents: Stream up to four related questions, pause for input or tool approval, and resume durably.
  • Unified Agent Builder: Configure Skills, MCP, Code Interpreter, orchestration, Programmatic Tool Calling, model-spec controls, and per-tool background and intent settings in one Tools marketplace; Skills can be enabled for standalone runtime authoring without exposing the existing catalog.
  • Durable Agent automation: Authenticated Agent Events support bound child actors, expected-action receipts, per-actor mailboxes, event batching, durable human pauses, and automatic detached Actions across built-in stream stores.
  • Deeper Subagent history: Browse branch-aware child turns with bounded reasoning and stable live event views, load earlier activity, inspect event details, continue completed child chats, and automatically wake saved parent Agents when detached work settles.
  • Background tools: Eligible Code Interpreter, MCP, Plugin, and Action tools can run while an Agent keeps working, with automatic delivery for supported completions and polling controls when needed.
  • Code Interpreter workflows: Sandbox images return as viewable artifacts; highly experimental stateful sessions add scoped managed, attached, or personal environments, per-message file downloads, and guarded file-write and command permissions.
  • Agent extensibility: Experimental Agent Plugins bundle deployment Skills, MCP servers, and opt-in command hooks; saved Agent teams run as isolated Subagent graphs.
  • Scheduled Chats (experimental): Run saved Agents with presets or custom cron, selectable time zones, multi-day weekly cadence, and optional Chat Project destinations.
  • Memory and context: Agents can use optionally isolated memory, preserve adaptive context fading across turns, and show categorized current-window usage, tokens, and optional cost.
  • Editable long pastes: Long pasted text becomes an editable attachment that can be moved back into the composer; attachment-only turns and reliable Upload as Text downloads are also supported.
  • Projects, settings, and navigation: Search conversation titles and message contents, manage project chats, use searchable settings and shortcuts, pin chats, choose clock/week conventions, and navigate faster on mobile.
  • Sharing and artifacts: Stable shared links support personal copies; fullscreen previews, Mermaid export, PowerPoint templates, shell scripts, and original Office downloads expand file workflows.
  • Web search: Keenable adds keyless search and page fetch, while SearXNG and Tavily gain richer controls and all web-tool egress uses stronger SSRF protection.
  • Security and authentication: Default HTTP security headers, opt-in nonce CSP, authenticated local images, per-user Code Interpreter JWTs, stable SAML identity binding, live-session OpenID token refresh, and retired JWT-secret rejection harden deployments.
  • Models and reasoning: Added GPT-5.6 with Responses reasoning controls, Claude Fable 5.1, Opus 5, and Sonnet 5, plus Gemini 3.8/3.7/3.6 Flash and Gemini 3.5 Flash-Lite.
  • Langfuse observability: Configure encrypted in-app connections, tenant fanout, authenticated gateways, export-decision telemetry, and authorized session links in chats and shared views.
  • Administration: Source-aware content filters can audit or block model-bound data, while tenant Insights, delegated configuration, encrypted secrets, and expiring violation scores improve operations.
  • Streaming and reliability: Adaptive smoothing, Redis delta batching and failover recovery, automatic generation protocol v2, live MCP catalog refresh, Agent circuit breakers, and DocumentDB support improve long runs and scaled deployments.

Read the full v0.8.8-rc2 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
  • 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
  • 💾 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
  • 💬 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 (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
  • 🌊 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 📚

🎯 aiskill88 AI 点评 A 级 2026-05-17

高质量开源项目,架构完整、功能丰富、社区活跃。MCP集成领先,多模型支持满足差异化需求,TypeScript开发体验好,值得企业级应用。

📚 实用指南(长尾问题)
适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
  • 跨境业务、多语言内容运营团队
  • 做语音类 AI 产品的开发者
最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • 本地部署优先选 GGUF 量化模型,节省显存并保持响应速度
  • 分块大小建议 256-512 tokens,向量库优选 pgvector 或 Qdrant
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
  • embedding 模型与查询模型不一致导致检索失效
  • 显存不足直接 OOM — 优先降低 context 或换更小的量化模型
部署方案
  • Docker:LibreChat 提供官方镜像,docker compose up 一键启动
  • 本地部署:CPU 8GB 起,GPU 推荐 16GB+ 显存
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
LibreChat 中文教程LibreChat 安装报错怎么办LibreChat MCP 配置LibreChat Docker 部署LibreChat Agent 工作流LibreChat 与同类工具对比LibreChat 最佳实践LibreChat 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
  • 跨境业务、多语言内容运营团队
⭐ 最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • 本地部署优先选 GGUF 量化模型,节省显存并保持响应速度
  • 分块大小建议 256-512 tokens,向量库优选 pgvector 或 Qdrant
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
  • embedding 模型与查询模型不一致导致检索失效

👥 适合人群

AI 技术爱好者研究人员和学生开发者和工程师技术创业者

🎯 使用场景

  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发

⚖️ 优点与不足

✅ 优点
  • +GitHub 37.0k Star,社区高度认可
  • +MIT 协议,可免费商用
  • +AI Skill Hub 精选推荐
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

📚 相关教程推荐
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

支持OpenAI、Claude、DeepSeek、AWS等多个主流模型,可同时配置多个账户。
💡 AI Skill Hub 点评

总体来看,LibreChat开源对话平台 是一款质量优秀的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

📚 深入学习 LibreChat开源对话平台
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 LibreChat
原始描述 开源MCP工具:Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, 。⭐37.0k · TypeScript
Topics 开源多模型MCPAgent可自部署
GitHub https://github.com/danny-avila/LibreChat
License MIT
语言 TypeScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/danny-avila/LibreChat 🌐 官方网站  https://librechat.ai/

收录时间:2026-05-14 · 更新时间:2026-05-16 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →