{"full_name":"langbot-app/LangBot","owner":"langbot-app","name":"LangBot","shard":"1","url":"https://github.com/langbot-app/LangBot","description":"Production-grade platform for building agentic IM bots - 生产级多平台智能机器人开发平台/ Agent、知识库编排、插件系统 / Bots for Discord / Slack / LINE / Telegram / WeChat(企业微信, 企微智能机器人, 公众号) / 飞书 / 钉钉 / QQ / Matrix e.g. Integrated with ChatGPT(GPT), DeepSeek, Dify, n8n, Langflow, Coze, Claude, Gemini, GLM, Ollama, SiliconFlow, Kimi, openclaw / hermes agent, deerflow","homepage":"https://space.langbot.app/cloud","topics":["qq","openai","agent","llm","wechat","telegram","dify","discord","deepseek","dingtalk","feishu","lark","ollama","langbot","n8n"],"tag_pages":["agent","deepseek","discord","llm","n8n","ollama","openai","qq","telegram","wechat"],"language":"Python","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/189527454?v=4","created_at":"2022-12-07T08:48:02Z","pushed_at":"2026-11-15T18:55:06Z","metrics":{"stars":19017,"forks":1711,"watchers":200,"issues":1544,"prs":1408,"releases":221,"issues_open":102,"issues_closed":1442,"prs_open":36,"prs_closed":155,"prs_merged":1217,"discussions":30},"growth":{"day":{"stars":32,"forks":0,"base_day":"2026-11-15"},"week":{"stars":303,"forks":30,"base_day":"2026-11-04"},"month":{"stars":893,"forks":81,"base_day":"2026-10-17"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[17537,17551,17557,17577,17590,17599,17612,17628,17636,17643,17652,17655,17674,17684,17695,17711,17735,17749,17803,17832,17861,17884,17905,17913,17938,17951,17960,17962,17965,17965,17975,17977,17985,17989,17995,18015,18032,18038,18052,18067,18090,18124,18138,18162,18187,18211,18234,18283,18317,18349,18397,18433,18460,18504,18528,18559,18587,18610,18688,18714,18870,18915,18934,18939,18968,18985,19017],"forks":[1561,1566,1569,1571,1572,1572,1573,1579,1581,1580,1584,1586,1586,1587,1585,1585,1588,1588,1593,1593,1597,1599,1599,1601,1604,1605,1606,1610,1610,1610,1615,1616,1618,1618,1619,1623,1625,1625,1626,1627,1628,1630,1632,1652,1655,1678,1702,1771,1746,1660,1659,1663,1668,1666,1669,1672,1675,1678,1681,1681,1698,1703,1705,1706,1708,1711,1711],"watchers":[172,174,173,174,175,175,175,179,178,180,181,182,183,184,183,184,185,186,188,191,192,192,192,192,194,194,194,194,193,193,194,194,195,195,195,195,195,196,197,197,196,198,198,198,199,199,197,200,200,201,201,201,194,195,195,195,195,196,197,197,null,200,199,199,199,200,200],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,105,105,106,102,102,102],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,29,34,34,34,38,36]},"boards":{},"same_owner":[],"issues":[{"number":1872,"title":"[Feature]: 企业微信智能机器人无法识别文件","comments":25,"created_at":"2025-12-19T03:47:56Z"},{"number":1715,"title":"[Bug]: 企业微信智能机器人无法使用dify的chatflow聊天了","comments":25,"created_at":"2025-10-09T10:22:45Z"},{"number":1909,"title":"[Bug]: 关于某些问题会有时候报错","comments":19,"created_at":"2026-01-07T09:10:44Z"},{"number":2030,"title":"用 dify 连接钉钉应用出现知识库内容没有及时更新","comments":16,"created_at":"2026-03-06T13:41:24Z"},{"number":2346,"title":"[Bug]: 启动后一段时间后，插件系统会关闭失去连接","comments":13,"created_at":"2026-07-21T10:03:09Z"},{"number":1973,"title":"[Feature]: 怎么通过webhook方式连接私有化部署的飞书地址","comments":8,"created_at":"2026-02-11T08:32:48Z"},{"number":1926,"title":"企业微信客服收到的用户消息中的返回参数sender_id是微信用户的id吗？","comments":7,"created_at":"2026-01-21T06:18:41Z"},{"number":3010,"title":"[Feature] Core 与 Box 默认网络交互：Skill 持久化、文件传输与无共享卷部署","comments":6,"created_at":"2026-11-12T09:34:57Z"}],"discussions":[{"number":2484,"title":"langbot内存占用太多了","comments":3,"category":"Q&A","created_at":"2026-08-31T04:46:36Z"},{"number":2472,"title":"langbot什么时候能支持whatsapp？","comments":1,"category":"Q&A","created_at":"2026-08-25T17:38:22Z"},{"number":2453,"title":"QQ Bot流式输出报错","comments":1,"category":"Q&A","created_at":"2026-08-21T07:31:13Z"},{"number":2368,"title":"合作试点提案：用 LangBot 多平台与插件维护场景验证自托管 AI 运维闭环","comments":1,"category":"General","created_at":"2026-07-31T03:07:43Z"},{"number":2238,"title":"Help needed for Langbot integration with Feishu cards issue.","comments":1,"category":"General","created_at":"2026-06-12T10:15:06Z"},{"number":2237,"title":"Introducing the LangBot Contributor License Agreement (CLA) / LangBot 引入贡献者许可协议","comments":0,"category":"Announcements","created_at":"2026-06-10T04:06:59Z"},{"number":2082,"title":"流水线配置问题","comments":1,"category":"Q&A","created_at":"2026-03-25T12:10:51Z"},{"number":1941,"title":"Please add Voice In telegramm - very needed","comments":1,"category":"Ideas","created_at":"2026-01-28T19:16:46Z"}],"latest_release":{"name":"LangBot v4.11.8","tag":"v4.11.8","published_at":"2026-11-15T01:51:24Z","body":"LangBot 是一个开源的 AI 聊天机器人与智能体平台，支持多种即时通讯平台、大语言模型、知识库和插件，帮助你构建、部署和管理 AI 助手。\nLangBot is an open-source AI chatbot and agent platform that connects messaging platforms, large language models, knowledge bases, and plugins to help you build, deploy, and manage AI assistants.\n\n## LangBot v4.11.8\n\nShare prompts, Skills, MCP servers and plugins to LangBot Space from the WebUI, get alerted when bots or models keep failing, and pick the sandbox backend per Workspace. The Docker image is 60% smaller.\n\n本版本支持从 WebUI 把提示词、Skill、MCP 服务器和插件分享到 LangBot Space，新增工作区故障告警，可以按工作区选择沙箱后端；Docker 镜像缩小约 60%。\n\n> **Upgrade note / 升级提示**：本版本包含新的数据库迁移（0047、0048），升级前请备份 `data/` 目录（使用 PostgreSQL 时同时备份数据库）；降级需要用这份备份恢复。This release adds database migrations 0047 and 0048. Back up `data/` (and PostgreSQL, if used) before upgrading; rolling back needs that backup.\n\n### Highlights\n\n- **LangBot Space sharing / 分享到 LangBot Space**：在 WebUI 里直接把对话提示词、Agent 提示词、Skill、远程 MCP 服务器和本地安装的插件提交到 LangBot Space。提交前会扫描凭据：提示词里有密钥会被拦下，远程 MCP 的鉴权头和参数会替换成占位符，不会离开本机。Pipeline 和 Agent 的提示词输入框上方新增提示词库，可以搜索、预览、替换或追加，并与 space.langbot.app 的收藏同步。Share prompts, Skills, remote MCP servers and locally installed plugins to LangBot Space from the WebUI, with credential scanning; browse and favorite community prompts from the prompt editor.\n- **Workspace alerts / 工作区告警**：机器人掉线、流水线或模型连续失败时，通过邮件、LangBot Space 或 Webhook 通知管理员，阈值可调，恢复后自动关闭。邮件配置移到顶层 `email` 段（SMTP 或 Resend），旧的 `workspace.invitations.email` 会在启动时自动迁移。Alerts for offline bots and repeated pipeline/model failures via email, LangBot Space or webhooks; email settings move to a top-level `email` section and are migrated automatically.\n- **Workspace sandbox / 工作区沙箱**：每个工作区可以选择 Docker、E2B 或 nsjail 作为 Box 后端，并在管理员上限内设置资源限制；修改只影响新任务。Box 支持网络文件传输，文件可以在 Core、Runner 和沙箱之间传递，并带有校验缓存。Pick Docker, E2B or nsjail per Workspace within administrator limits; Box can now move files between Core, Runners and sandboxes over the network.\n- **Skills / 技能**：Skill 以版本化的包保存（含附带文件），可以导出、分享到 Space。Skills are stored as versioned packages with their assets and can be exported and shared.\n- **Smaller Docker image / 更小的 Docker 镜像**：`rockchin/langbot` 从 768 MB 降到 308 MB（gzip，amd64）。SeekDB、Milvus、Valkey Search 改为可选：Docker 用户使用 `<tag>-seekdb` / `-milvus` / `-valkey` 镜像，pip/uvx 用户安装 `langbot[seekdb]` / `[milvus]` / `[valkey]`。使用默认的 Chroma、Qdrant、pgvector 不受影响。The default image drops from 768 MB to 308 MB. If you use `vdb.use: seekdb`, `milvus` or `valkey_search`, switch to the matching image tag or extra.\n- **Agent runner lifecycle / Agent Runner 生命周期**：取消、超时、失败和断连时保留已产生的 token 用量；新增进度和取消结果、可确认的 steering 投递、重试与取消确认（SDK 0.7.25）。Runner runs keep partial usage through cancellation and disconnects, with progress/cancel results, acknowledged steering and retry (SDK 0.7.25).\n- **LocalAgent**：模型返回空回答时切换到下一个备用模型，没有备用模型时报错，不再静默无回复；发给模型的消息只保留一条开头的 system 消息并保证角色交替，修复 vLLM/SGLang 上的 Qwen3.5/3.6 挂知识库后报 `Invalid request parameters`。Empty model answers now fall back or fail visibly; Qwen3.5/3.6 on vLLM/SGLang no longer rejects LocalAgent requests with a knowledge base attached.\n- **Fixes / 修复**：n8n 流式工作流报错时 Runner 不再报告成功；插件 `call_tool` 结果序列化为 JSON；出站 URL 校验拒绝所有非公网地址（包括 100.64.0.0/10，含云厂商元数据地址）；DifyAgent 不再在请求日志中记录表单 token 和签名 URL；LangBot Cloud 在服务端临时故障时不再把用户登出，可上传的插件详情页增加上传按钮。\n- **SDK**：插件 SDK 已并入 LangBot 主仓库 `sdk/` 目录并独立发版；`langbot-plugin` 由 0.7.24 固定到 0.7.25。The plugin SDK now lives in this repository under `sdk/`; Core pins `langbot-plugin==0.7.25`.\n\n### Release verification\n\n- Release commit `9301e0ea3eec6bc3a57ef85475557c6b807ae80e`. It differs from the fully tested candidate `7e2668682` only in the version number; all pull-request checks passed on that candidate, including unit tests (Python 3.11/3.12/3.13), PostgreSQL contract tests, Core with the in-tree SDK, E2E startup, Core smoke and regression tools. On the release commit itself, the uvx install passed a smoke run (plugins, model, LocalAgent chat with a tool call, commands, `!version` = v4.11.8) and the Docker image started clea","is_prerelease":false},"readme":true,"readme_zh":true,"news":[{"title":"LangBot平台Git工具链部署与AI开发工作流实践","url":"https://blog.csdn.net/weixin_42523670/article/details/169605495","source":"blog.csdn","lang":"zh","date":"2026-10-30"},{"title":"Dify 触发器实战：如何用 LangBot 0代码搭建飞书 AI 机器人","url":"https://news.qq.com/rain/a/20260109A03PQE00","source":"腾讯网","lang":"zh","date":"2026-01-09"},{"title":"LangBot：多模态 ChatGPT 机器人的全方位解析","url":"https://www.53ai.com/news/langchain/2025041723716.html","source":"53ai","lang":"zh","date":"2025-04-17"},{"title":"【亲测免费】 LangBot 项目安装与使用教程","url":"https://blog.csdn.net/gitblog_00618/article/details/146557692","source":"blog.csdn","lang":"zh","date":"2025-03-27"},{"title":"MCP Supply Chain Advisory: RCE Vulnerabilities Across the AI Ecosystem","url":"https://news.google.com/rss/articles/CBMioAFBVV95cUxNTU5iSmR0UnY4OTJCTXVXWTlTTWZnOWo2MHJINTRTR1hVaTZyc255QTBraFBmanJTcldySWtnMTlyTzFVaFBTbHlNUVdPb1dCS3BWaGR5YWZuU0JEcU1UR09qdTVVZTl6NTBPMW1YRjVXaGpUMi1sQU5lOGFsQVR2TFRTTURYUzdNRWVJR2RSUVFlTk1DNjBUdWVRdlBlSzlm?oc=5","source":"OX Security","lang":"en","date":"2026-04-15"}],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}