中国政策档案 Governance Archive HOLDINGS 235,224 · FONDS 122
Record · qbitai ACC. 900073865

Clawdbot Zero-Basis Integration with DingTalk: Step-by-Step Guide to Move Your Private AI to Chat

Clawdbot零基础接入钉钉,手把手教你把私人AI搬到聊天

Issuer
Date
2026-01-29
Instrument
other
Cited by
0
This document provides a step-by-step guide on how to integrate the open-source AI agent Clawdbot (Moltbot) with DingTalk, enabling users to interact with AI via chat commands.
Full text · 原文 1,805 字
Moltbot是近期推出的现象级开源Agent项目,原名 Clawdbot,用户无需打开网站或App,通过通讯软件即可发送消息并执行任务。该项目的部署方式已成为全球用户关注的焦点,海外社交媒体甚至涌现大量用户购买Mac mini来本地部署。<br> 在国内,阿里云、腾讯云等云厂商也陆续提供 Moltbot 云服务,作为工作场景的首推入口,钉钉也在 Github 上开源了 Moltbot 接入方式。用户在终端用钉钉发送命令,Moltbot即可自动在云端执行任务,这也意味着人人都能拥有一个专属的工作AI助手。<br> (Github 地址:https://github.com/DingTalk-Real-AI/dingtalk-moltbot-connector)<br> 钉钉机器人配置<br> 第一步:如何申请钉钉机器人<br> 打开 钉钉开放平台<br> 登录后进入 应用开发 → 企业内部开发<br> 创建应用,选择 机器人 类型<br> 在应用详情页获取 AppKey 和 AppSecret<br> 配置机器人的消息接收模式为 Stream 模式<br> 发布钉钉机器人<br> 第二步:钉钉企业应用权限开通(非管理员用户需管理员审批)<br> 逐个搜索打开下列权限<br> Card.Streaming.Write<br> Card.Instance.Write<br> qyapi_robot_sendmsg<br> 第三步:发布企业应用<br> 确认可见范围仅自己,启用了机器人后,点发布。<br> 第四步:钉钉机器人使用 Moltbot<br> 如需通过钉钉机器人使用 Moltbot,需要配置以下变量:<br> 变量名<br> 说明<br> 示例<br> DINGTALK_CLIENT_ID<br> 钉钉机器人 AppKey<br> dingxxxxxxxxx<br> DINGTALK_CLIENT_SECRET<br> 钉钉机器人 AppSecret<br> xxxxxxxxxxxxxxxxxx<br> Moltbot 配置<br> 官网 https://www.molt.bot/<br> 按 moltbot 官网介绍,配置好moltbot<br> Moltbot配置文档<br> https://docs.molt.bot/start/getting-started<br> 安装Moltbot技能<br> https://clawdhub.com/<br> Moltbot中其他设置和功能可以自行探索<br> 将机器人接入 moltbot<br> 按 moltbot 官网介绍,配置好moltbot 后,安装插件和钉钉机器人<br> 1. 安装插件<br> 远程安装<br> clawdbot plugins install https://github.com/DingTalk-Real-AI/dingtalk-moltbot-connector.git<br> 后续插件升级<br> clawdbot plugins update dingtalk-connector<br> 2. 配置<br> 在 ~/.moltbot/moltbot.json(或 ~/.clawdbot/clawdbot.json)中添加:<br> { “channels”: { “dingtalk”: { “enabled”: true, “clientId”: “dingxxxxxxxxx”, // 钉钉 AppKey “clientSecret”: “your_secret_here”, // 钉钉 AppSecret “gatewayToken”: “”, // 可选:Gateway 认证 token “gatewayPassword”: “”, // 可选:Gateway 认证 password(与 token 二选一) “sessionTimeout”: 1800000, // 可选:会话超时(ms),默认 30 分钟 } }, “gateway”: { “http”: { “endpoints”: { “chatCompletions”: { “enabled”: true } } } } }<br> 或者在Moltbot Dashboard页面配置<br> 3. 重启 Gateway<br> clawdbot gateway restart<br> 验证:<br> clawdbot plugins list # 确认 dingtalk-connector 已加载<br> 跟Moltbot聊天方式<br> 配置好钉钉环境变量后,可以在钉钉中搜索你设定的机器人名进行对话。一些场景展示:<br> 特性:<br> 流式响应(打字机效果)<br> 支持图片显示(自动上传到钉钉)<br> 支持 Markdown 格式