Session Relay
/relay moves a running AI session to another group, another topic, or a DM, so you can keep going there.
- What moves is the same CLI process and the same AI memory, not a fresh copy.
- The Lark chat history stays where it was. The new place won't show the old messages, but the AI remembers what was discussed.
A typical case: work out a plan in your DM with the bot, then move it into the team group with one command so everyone continues from that context.

How it differs from Adopt: Adopt brings a CLI running in tmux on your computer into Lark. Relay moves a session that's already running inside botmux from place A to place B.
The two ways at a glance
Option 1: /relay pulls a session in
- Go to where you want the session to land (a regular group, a topic group, inside a topic, or your DM with the bot) and send
/relay. - The bot replies with a picker card listing your own active sessions for the same bot, most recently active first.
- Click a session to select it, then click "Confirm relay into this chat" ("Confirm relay into this DM" in a DM).
- On success the card disappears and you see "✅ Relayed into this chat".
What the card shows:
A few details:
- Other topics in the same group are listed too, so you can move a session between topics of one group. Only the session already at the current spot is left out.
- In a regular group (not topic mode) the card is visible only to you, so your session list isn't shown to the whole group. Inside a topic it appears as a normal reply in that topic.
- Only the person who summoned the card can use it. Anyone else who clicks is told to run
/relaythemselves. - For a session that's busy, the confirm button reads "Session is running — cannot relay yet". Once it's idle, click the session again to refresh, then confirm.
Option 2: /relay --create moves into a new group
In the current session, send @BotA @BotB /relay --create [name]:
- A new group is created with you and the @-mentioned bots.
- The current session, plus the @-mentioned bots' sessions in this topic, move into the new group.
- The original session gets a result message: the new group link and whether each bot moved successfully.
More notes:
- The name is optional. Without one it defaults to "Session Relay MM/DD HH:mm". Names longer than 50 characters are cut off.
- In a group you must @ at least one bot. The first @-mentioned bot creates the group; the others don't create duplicates.
- In a DM no @ is needed (you can't @ other bots in a DM anyway). Just send
/relay --create; the new group has you and this bot. - If a bot didn't make it (for example its session isn't yours, or its service is offline), the result marks it as skipped or not migrated. The new group is still created; send
/relaythere to pull that bot's session in.
What you'll see after a relay
The new place receives a notice:
📋 Relayed from "source group". ⚠️ Lark message history stays in the source chat; AI memory has been carried over. @ the corresponding bot to continue.
In a DM, the last line reads "Just send a message to continue".
The original streaming card freezes as an archive with the status "🔄 Relayed away" and all buttons removed, so a stray click can't affect the session that's now live elsewhere.
Where the session lands
Switch group and DM modes with /reply-mode; see Slash Commands. For the different group types, see Session Model.
When relay won't work
"Target already has a session" is judged by where the session would land: when landing in a whole group or whole DM, the whole group counts; when landing in a topic, only that topic counts, so different topics in one group don't collide.
If a relay times out or fails, the session is not lost. The chat history and AI memory are still in the original place; just click "Confirm relay" again a bit later.
