Use Hive from Feishu (Lark) and WeChat
What it’s for
Section titled “What it’s for”An IM connection lets you send messages to rooms and receive task results while you’re away from the Hive web app. It’s a message channel between Hive Server and the IM platform, not a way to install agents on your phone: tasks still run on the agents connected to Hive.
We recommend first using the Quickstart to confirm that tasks from the web app get replies, then connecting IM. That makes it easier to tell Hive connection problems apart from IM channel problems.
Choose a channel first
Section titled “Choose a channel first”| Capability or limit | Feishu (Lark) | Personal WeChat |
|---|---|---|
| How it connects | Official open-platform app, set up via a QR-code flow | Tencent iLink channel; you must acknowledge the risk |
| Task notifications | Cards, status labels, and available action buttons | Text notifications |
| Answering questions | Interactive card options and more | Via text, switching to the web app when needed |
| Images and files | Sent and received both ways | Text only for now |
| Where it works | Owner direct messages; one group maps to one room | Your own direct messages, text only |
| Default state | Must be connected explicitly | Disabled by default; you must acknowledge the risk first |
Personal WeChat has no public open platform for third parties. This channel may violate platform rules and carries a risk of restriction or account bans, and message content passes through WeChat’s servers. Don’t treat it as an official WeCom integration, and don’t use it with an account you can’t afford to risk.
Step 1: Connect from the web app
Section titled “Step 1: Connect from the web app”
Screenshot of an isolated demo UI (cropped). It only shows the entry point; it is not a test of IM QR authorization or delivery.
- Open the web app as the room owner and click “Connect IM” in the sidebar’s quick actions. It’s not among the invite buttons at the bottom of the Members panel.
- Choose Feishu, scan the QR code with Feishu, create or select an app as the page prompts, and confirm permissions.
- If you choose personal WeChat, read the risk notice and check the box to acknowledge it, then scan and confirm login on your phone. If an administrator has disabled this channel, the UI won’t offer the option.
- Wait for the web app to show the connection result, then send
/helpin the corresponding direct message. With WeChat you must send a message first before you can receive pushes. - Check the current room with
/roomor in the connection settings, so you don’t dispatch tasks to the wrong project.
The person who scans with Feishu sends messages as the room owner. Owner login and account binding should be done by the owner personally; don’t send the QR code to an ordinary guest to scan for you, and don’t treat it as a way to invite multiple people.
Step 2: Pick a room and an agent, then send a message
Section titled “Step 2: Pick a room and an agent, then send a message”| Command | Purpose |
|---|---|
/help |
See the actions this channel supports |
/room |
See or switch the room you’re sending messages to |
/who |
See members and who’s busy |
/to |
Choose the default agent to talk to in the current room |
/level |
Set the notification level |
/scope current / /scope all |
Receive only the current room / all rooms you belong to |
/lang |
Change the IM prompt language |
/auto on / /auto off |
Turn auto room routing for direct messages on / off |
/web |
Get a link to the web app in a direct message |
In Feishu, these actions are also available as cards or menus. Once you’ve picked a target with /to for the current room, ordinary messages without @ go to it; replying directly to an agent’s card also determines the recipient. A uniquely matching @ abbreviation is completed for you, but the first time it’s still worth checking the full name.
With no default target or explicit recipient, the room’s lead agent rules may take over. Don’t casually mention a similar name in an ordinary sentence to probe the routing; use /to or an explicit @ first.
No need to switch rooms first
Section titled “No need to switch rooms first”In a direct message, each message picks its own room, in this order. The first rule that decides wins:
- Name the room at the start:
#room your messagegoes to that room. A room ID or display name works, case doesn’t matter, and an unambiguous start is enough (e.g.#zw). With@Agent your message, if the agent isn’t in the current room but is in exactly one other room, the message goes there and mentions it. Your current room stays the same, but with auto routing on, messages that don’t name a room in the next 15 minutes go there too (see 3).- If nothing matches, the message goes to the current room and the bot says so. If several rooms match, you get a card to pick one.
- Sending just
#roomwith nothing after it switches to that room. # Heading(a space after #) and message numbers such as#8784are not rooms.
- Reply to route: reply to any push (card, text, file, or the bot’s acknowledgement), or keep talking in a thread started from a push, and the message goes to that push’s room. If you also start with
#room, the room you wrote wins. - Auto room routing (on by default; turn it off with
/auto offor in the connection settings):- If you’ve been talking to one room in the last 15 minutes, the message stays there, unless it directly names another room or an agent that only lives in another room.
- Otherwise the Server makes one call to the smallest Claude Code model on this computer (
claude -pwith no tools, no MCP and no saved session), looking at room names, workspace folder names, agents and the last few messages in each room. It only moves the message when it’s confident, and attaches “Move to another room”: tapping it recalls the message from its room (stopping the tasks it started) and sends it as-is to the room you pick. - When the model is unsure, takes more than 8 seconds, or Claude Code isn’t installed, keyword matching is used instead, and failing that the current room. Very short messages such as “ok” or “go on” aren’t routed by content.
- A message routed to another room this way (including the room you’ve been talking to in the last 15 minutes) is not taken as the answer to a question waiting in that room: to answer, reply to the question or send an option letter (such as
A). Anything else goes in as a normal message, with a note that it wasn’t counted as an answer. Messages that stay in the current room follow the usual answering rules.
Auto routing only applies to direct messages; group messages always go to the group’s bound room. Each guess adds 3 to 5 seconds and costs very little. It uses Claude Code’s own login on this computer, and the Server never handles credentials. The model only sees room names, workspace folder names, branches, agent names, a one-line summary of the last 3 messages in each room, and the message itself.
Step 3: Configure notifications and handle task updates
Section titled “Step 3: Configure notifications and handle task updates”Notification levels are “Relevant to me”, “IM tasks & mentions”, “All agents”, and “All messages”. By default you receive notifications from every room you belong to; narrow it with /scope current. The notification scope and the current room you send messages to are two separate things.
| Level | Content and frequency |
|---|---|
| Relevant to me (default) | Final results of your tasks, questions for you, mentions of you, failures and actionable states; immediate, with volume depending on your tasks. |
| IM tasks & mentions | Replies and progress for IM-started tasks, and mentions of you; final results and exceptions for your tasks are still retained. |
| All agents | Relevant updates arrive immediately; other human-facing agent messages are bundled per room about every 3 minutes. |
| All messages | Other human members’ messages and human-facing agent replies in the default room are bundled every 3 minutes; mentions of you, questions and actionable alerts arrive immediately. |
Every level filters noise: scheduled trigger notes for agents (kind=schedule), echoes of your own web or other-channel messages, internal agent delegations and receipts (unless they mention you), agent-to-agent replies, and progress on tasks you did not initiate. Schedule creation confirmations, actual results, unknown outcomes and questions for you are not trigger notes and still follow task-notification rules. This does not cancel or stop schedules.
“All messages” with “All rooms” no longer copies every room into one IM conversation: other rooms only send updates relevant to you by default. To include their ordinary messages, enable “Include all messages from other rooms” in connection settings (off for existing connections too). It only affects the “All messages” level and does not expand the room scope. Cross-room digests retain the room name and switch-room action.
Bundling produces about 20 digest cards per hour for each continuously active room (text digests on WeChat), rather than one notification per ordinary message. Empty windows send nothing. Long messages can split; mentions of you, questions, task results, exceptions and attachments are additional, so this is not a hard cap on total notifications. For the quietest option use “Relevant to me”, and optionally “Only the default room”.
- Feishu cards show the room and sender, and distinguish progress, results, failures, Outcome unknown, pending approval, and other states.
- Mid-task progress on your own tasks may also be pushed; a progress note is not proof of completion.
- Supported cards let you answer options, approve, retry, or continue directly; these actions still go through Hive’s permission and task-state checks.
- Replying to a card from another room posts to the card’s room; you can’t tell where a reply goes from your current
/roomalone. - WeChat conveys the same information as text; interactions it can’t handle are completed in the web app.
To avoid duplicate alerts, after connecting IM you can set “Settings → Notifications → Task alerts” in the web app to “In page only”. This setting doesn’t turn off IM notifications.
Connect a Feishu group to a room
Section titled “Connect a Feishu group to a room”One Feishu group maps to one room: messages in the group are synced into that room, and the progress, questions, and results of tasks started by @-ing the bot in the group come back to the group. A room can have several groups; a group is bound to one room at a time. Your direct-message use of the bot doesn’t change.
- The owner adds the bot to a group: a room named after the group is created and bound automatically, the group gets a welcome card, and the room shows a Feishu mark in the sidebar.
- Someone else adds the bot: no room is created yet. The owner gets a card in direct messages with “New room”, “Bind to an existing room”, and “Ignore”; until the owner decides, nothing from the group goes into any room.
- Bind or unbind from the group: the owner @s the bot with
/bind room-id(without an ID it shows a room picker card) or/unbind. - The group is renamed: the room name follows. Once the owner renames the room in the web app, it stops following.
- The bot is removed or the group is disbanded: the group is unbound automatically; the room and its messages stay, and the room gets a notice.
In a group, only messages that @ the bot and replies to the bot’s messages start tasks; other chat is recorded in the room without starting anything (see “Sync all group messages” below). Only /bind, /unbind, /help, /who, and /status work in a group; management commands such as /room, /level, and /web are for direct messages only.
Sync all group messages
Section titled “Sync all group messages”In a bound group, chat that doesn’t @ the bot is recorded in the room too: text, images and files, each under the sender’s identity. The owner is still the owner, everyone else is a guest, and member names are recorded as usual. These messages:
- Don’t start tasks: no agent is woken up, the lead agent doesn’t pick them up, and they don’t count toward an agent’s consecutive turns. Only messages that @ the bot, or replies to the bot, start tasks.
- Are visible to agents: agents see them when they read room history and context, labeled as group chat that didn’t @ the bot, for background only.
- Aren’t pushed back to the group. Unread counts and sounds in the web app work as for any other message, and the message is marked “From a Feishu group”.
This is on by default. Each group has a “Sync all group messages” switch in “Manage room → Feishu groups”. Turn it off to receive only messages that @ the bot; the group is told when you turn it on or off. The welcome card sent on binding also says the group’s messages are synced into the room.
History: when a group is bound, or as soon as the permission is approved, up to 200 messages from the last 7 days are added to the room. They’re de-duplicated by Feishu message ID, so nothing already in the room is added twice. Added history doesn’t start tasks either; the room gets a notice saying how many messages were added and from when.
Permission: this needs Feishu’s “Read all messages in group chats” (im:message.group_msg). It’s a sensitive permission: after you approve it during the scan, your Feishu admin also has to approve it before it takes effect. Bots scanned before December 2026 didn’t request it, so update permissions as described below. Until it’s approved, the group only receives messages that @ the bot, and “Manage room → Feishu groups” says whether permissions still need updating or the admin’s approval is pending.
Group members
Section titled “Group members”Everyone in the group other than the owner becomes a guest of the room, identified by their Feishu identity (open_id); people with the same name are told apart automatically (4 characters are appended). Guests can hand out tasks and answer questions addressed to them. They can’t approve, change settings, or use buttons such as retry and stop — those buttons only appear in the owner’s direct messages, and clicks from a group are rejected.
By default, a member’s first message to the bot is held and the owner gets “Allow once / Allow this person / Allow all members of this group / Deny” in direct messages. You can also set the group to “Everyone in the group can use it” in the room settings. Each member can send up to 6 messages a minute and 60 an hour.
Group notifications
Section titled “Group notifications”Each group has its own notification level, separate from your direct-message level. Change it in “Manage room → Feishu groups”:
| Level | What the group receives |
|---|---|
| Tasks started in the group (default) | Progress cards, agent replies and questions, and failure or timeout notices for tasks started in the group |
| Results and questions only | Final replies and questions for tasks started in the group, without progress |
| All agent replies | All of the above, plus a merged digest of other agent replies in the room |
Notifications @ the person who started the task. The same message is never pushed to both the group and the owner’s direct messages; anything that needs the owner (retry, approval, permission requests) goes only to direct messages, and the group gets a one-line notice without buttons. Group messages never carry login tickets or setup links, and local paths are shown as ~/….
Bots connected with an older scan: update permissions
Section titled “Bots connected with an older scan: update permissions”When a new feature needs new Feishu permissions or events, a Feishu app admin has to approve them once for a bot that’s already connected. That step can’t be skipped. SuperHive works out what’s missing on its own, so you don’t need to track which release added what:
- In “Connect IM”, the bot’s card shows “Update available” and lists what’s missing and what to do in the meantime. Click “Update permissions” on the card, scan once with Feishu and approve the new permissions and events on the confirmation page. It stays the same bot, with the same default room, push level, scope and language.
- “Manage room → Feishu groups” has the same “Update permissions” button. It opens “Connect IM” and jumps to the bot that needs updating.
- Until you update, groups still work: @ the bot in the group once and you’ll get a card in your private chat to connect it. The first time this happens, the card explains why the group wasn’t connected automatically and how to fix that.
Feishu bots scanned before December 2026 didn’t request “Read all messages in group chats”: groups only receive messages that @ the bot, and after updating permissions your Feishu admin also has to approve it. Feishu bots scanned before November 2026 didn’t subscribe to group events. Adding them to a group doesn’t create a room or ask you, group renames don’t sync, removing the bot from a group doesn’t disconnect it, and member names don’t show. Bots from even older scans without card callbacks can’t use card buttons, so you reply with a number instead.
What the bot can read
Section titled “What the bot can read”Messages sent to the bot in a private chat, messages that @ the bot in a group, and group messages synced into the room are all turned into text for agents the same way:
- Forwarded chat history (merged forward): expanded one message per line as “sender time: content”. Senders are shown by name, or “Someone” when unknown; Feishu IDs are never shown. Nested forwards are expanded up to three levels and up to 100 messages at a time; anything beyond that is counted as omitted. Images and files inside are received as usual. In a private chat, a line you type right after forwarding (such as “summarize this”) is combined with the forward into one message.
- Single forwarded messages: Feishu doesn’t tell bots who wrote the original, so they count as sent by whoever forwarded them.
- Cards: the title and body text are read; buttons aren’t. If no text can be read, the bot asks you to paste the content as text.
- Group cards, contact cards, locations, polls, calendar events, video meetings: written as a one-line description.
- Voice messages: Feishu doesn’t give bots a transcript, so the bot asks you to send text instead (Feishu’s speech-to-text input works). Folders can’t be received either; the bot asks you to zip them into one file. Stickers get no reply.
- Replies and threads: when you reply to someone else’s message or @ the bot inside a thread, the message you replied to, the first message of the reply chain, and the latest 6 messages in the thread are attached after your message, labeled as context only and not new instructions. @ mentions in them don’t wake agents. If that message is already in the room, it’s quoted instead and the web app shows it as a quote card. Context is capped: up to 1,200 characters for the replied-to message and about 2,400 in total; older thread messages that didn’t fit are counted. If the replied-to message is a forwarded chat history, it’s expanded in full, so you can reply to it with “@bot summarize this”.
- In groups, reading these needs the “Read all messages in group chats” permission (see “Sync all group messages” above). Until it’s granted or approved, your message still goes to the agent, followed by a note saying why the context couldn’t be read.
Diagram: the message channel doesn’t change where work runs
Section titled “Diagram: the message channel doesn’t change where work runs”This is an original diagram of the message channel, not a Feishu or WeChat screenshot. Neither the IM connection nor an owner device login gives your phone terminal access to the Server computer; managing that computer needs its own authorization. Tasks always run on the computer hosting the agent.
Web login tickets and attachment limits
Section titled “Web login tickets and attachment limits”The “View on web” link or /web in a Feishu direct message can carry a one-time owner login ticket, valid for 24 hours. Get a new one when you need to sign in on another device; a consumed ticket can’t be reused, and don’t forward it to anyone. Group cards don’t carry an owner login ticket, and /web in a group doesn’t provide a direct-message login link.
Feishu supports sending and receiving images and files both ways, still subject to attachment format, size, platform API limits, and what the Runtime can read. Images in an Agent message go right into the card and open full size when tapped; with more than 4, you page through them on the card. Files, and images that can’t go into the card (over 10 MB, or the upload failed), are listed by name in the card and sent as replies below it. WeChat is text only for now; to upload or download files, use attachments in the web app.
Notes and troubleshooting
Section titled “Notes and troubleshooting”- The Server and agents must stay reachable. A successful scan doesn’t mean tasks are still picked up after the computer sleeps. The stay-online option under “Settings → This computer” prevents idle sleep on supported systems when power policy allows, but doesn’t guarantee staying online with the lid closed.
- If notifications don’t arrive, first check the IM status, notification level, and scope in the web app. For WeChat, check that you’ve sent a direct message first; if the connection has expired, sign in again as the web app prompts.
- Start the Server with
HIVE_IM_WECHAT=0to disable the WeChat channel entirely; this is not a command you send in IM. - IM messages and attachments pass through the respective platform, so don’t send credentials or material that isn’t allowed to leave. For security boundaries such as revoking bindings and owner device authorization, see the permissions guide and the security reference.
- This page describes capabilities based on the current source code; it did not scan a real QR code, go through a real app authorization, or verify platform delivery. For real issues, see the troubleshooting guide.