Hermes 消息平台配置飞书 📅 2026/7/15 20:52:43 一、相关文档飞书 / Lark 设置https://hermes-agent.ac.cn/docs/user-guide/messaging/feishu二、多种配置方式2.1 命令行交互式配置推荐2.1.1 hermes gateway setupSelect a platform to configure: ↑↓ navigate ENTER/SPACE select ESC cancel (○) Mattermost (not configured) (○) Signal (not configured) (○) Weixin / WeChat (not configured) (○) BlueBubbles (iMessage) (not configured) (○) QQ Bot (not configured) (○) Yuanbao (not configured) (○) DingTalk (not configured) (○) Discord (not configured) (○) Email (not configured) (○) Feishu / Lark (not configured) (○) Google Chat (not configured) (○) Home Assistant (not configured) (○) IRC (not configured) (○) LINE (not configured) (○) Matrix (not configured) (○) ntfy (not configured) (○) iMessage via Photon (not configured) (○) Raft (not configured) (○) SimpleX Chat (not configured) (○) Slack (not configured) (○) SMS (Twilio) (not configured) (○) Microsoft Teams (not configured) (○) ✈️ Telegram (not configured) (○) WeCom (Enterprise WeChat) (not configured) (○) WeCom Callback (self-built apps) (not configured) (○) WhatsApp (not configured) → (●) Done选择Feishu飞书扫码快捷简单创建智能体应用。你会自动把应用能力、开发配置、应用发布都自动配置好。飞书还新出了个手动创建飞书智能体应用。后续选择How should direct messages be authorized?↑↓ navigate ENTER/SPACE select ESC cancel→ (●) Use DM pairing approval (recommended)(○) Allow all direct messages(○) Only allow listed user IDsHow should group chats be handled?↑↓ navigate ENTER/SPACE select ESC cancel→ (●) Respond only when mentioned in groups (recommended)(○) Disable group chats日志输出Scan the QR code above, or open this URL directly: https://open.feishu.cn/page/launcher?user_code2NRA-HF5Tfromhermestphermes Fetching configuration results... ✓ Bot created: hermes智能助手 Skipped (keeping current) ✓ DM pairing enabled. Unknown users can request access; approve with hermes pairing approve. Skipped (keeping current) Group chats enabled (bot must be mentioned). Home chat ID (optional, for cron/notifications): oc_7cf0a2334141eb3332e3a01234567890 ✓ Home channel set to oc_7cf0a2334141eb3332e3a01234567890 ✓ Feishu / Lark configured! App ID: cli_aad9781234567890 Domain: feishu Bot: hermes智能助手 ◆ Messaging Platforms Skipped (keeping current) No platforms configured. Run hermes gateway setup when ready.Home chat ID可以输入hermes智能助手-设置-下面的会话ID也可以后续在和他的聊天窗口输入/sethome/set-home在聊天窗口输入命令设置简单。2.1.2 修改后重启hermes gatewayhermes gateway restart如果报错按报错提示处理sudo loginctl enable-linger username2.1.3 首次会话需要配对按照提示在hermes服务端命令行执行2.1.4 设置Home chat ID在和智能体助手的聊天窗口输入/sethome/set-home还有哪些其他命令输入/commands2.2 修改配置文件先在飞书创建智能体应用vi ~/.hermes/.env修改后重启hermes gatewayFEISHU_APP_IDcli_aad9781234567890 FEISHU_APP_SECREThUtVfQO8tKlByIswoIZUoh1234567890 FEISHU_DOMAINfeishu FEISHU_HOME_CHANNELoc_7cf0a2334141eb3332e3a01234567890 FEISHU_HOME_CHANNEL_THREAD_ID FEISHU_CONNECTION_MODEwebsocket FEISHU_ALLOW_ALL_USERSfalse FEISHU_ALLOWED_USERS FEISHU_GROUP_POLICYopen2.3 默认浏览器控制台修改先在飞书创建智能体应用hermes dashboardhttp://127.0.0.1:9119http://127.0.0.1:9119/channels修改后重启hermes gateway2.4 增强浏览器控制台修改看着简单先在飞书创建智能体应用hermes-web-ui starthttp://localhost:8648/http://localhost:8648/#/hermes/channels修改后重启hermes gateway