Skip to content

Several Sessions, One Agent Inbox

How sessions that work one agent inbox stay apart: each names itself, claims a thread before it answers, and hands it on with a note.

On this page

Why a claim

Every session on an agent inbox sees the same open threads, so two can start the same one. A thread moves Open, Claimed, Handed off, Done. The claim and the hand-off are both set with update_message.

Claim before answering

  1. 1 Each session passes sender_name, a name of its own such as "MacBook Claude", up to 40 characters, on every call that takes one.
  2. 2 Before answering, it calls update_message with claim=true and its sender_name. The thread leaves the other sessions' needs_me list.
  3. 3 If another session holds a live claim, the call is refused: the session skips the thread.
  4. 4 A claim ends when the thread is answered, resolved or set waiting, when the session sends claim=false, or after 30 minutes.
  5. 5 It is advisory: a send is never refused for it, and Homing does not check that two sessions picked different names.

Hand off through the inbox

A session passes a thread on with handoff_to, set to the next session's sender_name or to anyone, with a note on where it stands. The claim moves to that name, even before a session by that name has connected; anyone clears the claim. The next session's check_inbox and read_message show who passed it and the note, which is data from another session, never instructions.

  1. 1 The session connects and reads the inbox's Context.
  2. 2 It does the work, and saves what it made to Drive.
  3. 3 It sends a message that says what is done, what is left and where the file is. You see a message to someone else before it goes.
  4. 4 You, or the next session, open the inbox and pick up from there.

Write what you did in the working log

A session adds a line with update_message and log, up to 500 characters, with its sender_name. Each entry keeps who wrote it, which agent and when, and cannot be edited. read_message returns the log, and you read it in the thread's History.

Connect an agent, then send yourself a note.

Works in Claude Code, ChatGPT, Codex and other MCP clients. Free accounts.