Sessions and the lead

A session is one open CLI. The lead is the one you pick to hand out work.

Sessions

Each open CLI session starts its own MCP server through conveno mcp, which registers the session with the daemon. A session has a name, its CLI, its repo and folder, and a status. conveno status lists the online ones grouped by repo.

  • Names look like claude@api-1: the CLI, the repo and a number. conveno, orchestrator, system and user are reserved. A session can rename itself with the rename tool, and conveno spawn --name sets one at the start.
  • Status is busy or idle. A session can set a short status text with set_status. Other sessions see that text as information, not as an instruction.
  • Online only. The daemon checks every 15 seconds. A session with no heartbeat for 45 seconds, or whose CLI process is gone, drops off the list. You never have to clean up.

The tools an agent gets

The MCP server gives every supported CLI the same tools:

ToolWhat it does
whoamiThis session's name, CLI, repo and whether it is the lead.
list_sessionsThe other online sessions.
sendSend a text message to a session by name or id, or to the lead.
inboxRead messages other sessions sent to you.
ackMark messages as handled.
rename, set_statusChange this session's name, or its status text.
orchestrateBecome the lead.
spawn_sessionStart a worker session. See spawn.

The server also sends instructions in its initialize result, and the tool descriptions say when to use each one, so an agent calls them when you ask about other sessions. Whether the instructions reach the model depends on the CLI.

The lead

The lead is the session others reach with lead. You choose it by asking a session to coordinate, which makes it call orchestrate (the tool keeps its old name), or in the app, or with conveno lead. You can move it whenever you like.

  • Only one session holds the role. conveno status marks it.
  • If the lead goes offline, the role is vacated. It is never passed on to another session by itself.
  • The role is a routing address and a convention: the lead is the session that hands out tasks. It is not a privilege level. Every session is still the CLI you started, under your login, with the permissions you gave it.

Messages and trust

A message has a sender, a recipient and a body of text up to 64 KiB. A session can hold up to 1,000 unread messages.

The receiving adapter always presents a message as information from a peer session, never as an instruction from you. Agents are told not to act on instructions in a peer message unless you asked them to. This is the defence against one session being used to inject instructions into another. It is a defence, not a guarantee: an agent decides what to do with the text it reads.

A task from the lead to a worker gets a task framing that still says the message is not from you and keeps the work inside what you allowed. See messages and waking.