Skip to content

Atlas

The Atlas draws the agents the Swarm lists as a map: each agent is a node that says which computer it runs on, and a line runs from an agent to each agent that reports to it. While agents work, lines show the messages and tasks passing between them. Each node lists the Kanban tasks of its agent. It reads the same agents as the Swarm, so the two always agree.

  • Atlas in the widget bar’s more menu (right-click it there and choose Pin to bar to keep it on the bar).
  • Open Atlas in the command palette.

The button and the command bring back the Atlas already open in the tab, or open one if the tab has none; Shift-click the button to open another.

An agent is a node with a coloured dot for its state, its name, the name of the computer it runs on, and under them its seat, or the state in words when it has none. Hover a node for the agent’s summary line and its computer. The states are Working, Waiting for an answer, Idle, Exited with an error, Out of quota, Signed out and Stopped. A node of an agent in a container has a box icon and a dashed frame. A node of an agent on a machine whose last report is old is dimmed.

When the map holds more than one computer, each node also wears a ring in its computer’s colour, and a row above the map, Hosts, shows each ring beside the computer’s name and what is known of its machines: how the machine was found (this machine, LAN (a LAN peer) or cloud, one of your account’s other machines that is not on this network; see the cloud tier), its platform, stale when its last report is old, and container runtime not running when that is so. With more computers than colours a ring is also dashed or dotted. With one computer there are no rings and no row, and a machine’s trouble is said in the map’s bottom left corner. When the account’s other machines could not be read just now, a note there says so.

Stopped agents are not nodes. One chip in the map’s bottom left corner, N stopped, opens a list with the computer of each and Open and Start. With By seat (below), stopped agents are not drawn and the chip still counts them.

A machine’s containers that no agent uses are nodes too, named for the container, with No agent and the container’s state.

Under its name a node lists the Kanban tasks of its agent: the tasks it holds, newest first, then the tasks waiting for it. Each line is the task’s number and title, a link that opens the task on the Kanban, with the task’s pull request as a second link. Three tasks are listed, and a last line says how many more there are (+2 more). Where the map is zoomed out too far to read them, a node shows only a count of its tasks; zoom in to see the lines. An agent of another machine lists none: its tasks are on its own machine’s board.

The Layout control above the map has two choices, kept with the pane:

LayoutWhat it shows
By machineThe agents of each computer stand together. Within a computer, an agent with reports stands above them, and agents with no lead and no reports stand in a grid below.
By seatEvery agent in one picture, under the agent it reports to, across machines.

The Swarm’s filter sits at the left of the same bar and narrows the agents drawn the way it narrows the Swarm. The wheel zooms the map about the pointer, a drag on the background pans it, and the zoom buttons and Fit all do the rest. Ctrl or Cmd with the wheel zooms the whole pane, not the map.

LineWhat it means
A solid line from one agent to anotherThe second reports to the first. A line is drawn only when both agents are on the map; a lead that is stopped, unknown or named in a way that fits two agents leaves the agent without one.
A dashed line from one agent to anotherThe second is a worker the first started, rather than one given a seat
A line that appears from a sender to a receiver and fades after about 12 secondsA message between the two agents. Its colour says what happened: delivered, held or queued for later, or refused. A message with only one end on the map rings that end instead.
A dotted line with a number such as #12A task one agent filed for, moved to or started on another, or handed back. It stays for about 5 minutes. Two numbers that would land on the same spot sit next to each other.

A line that passes behind a node shows through it as a faint stroke, so its two ends can be followed on a big map. Messages and tasks on the map are drawn with the agents’ names and numbers only, never their text.

Click an agent to open its card at the edge of the map; Esc or the close button closes it. The card shows only what is known:

RowWhat it says
StateThe state, with “(last report is old)” when its machine has not reported lately
DoingIts summary line
ToolThe tool it runs now
SeatIts seat, in full
HostThe computer it runs on, with how the machine was found, its platform and whether its report is old
ProviderIts provider
RuntimeNATIVE on the machine, or CONTAINER
ContainerFor one of this machine’s container agents: the container’s name, its state and since when, and its image
AccountFor an agent on another machine: the account it uses on this computer’s name for it, or “Not signed in on this computer”, and Also on it with the other agents that share the account (and so its quota)
BranchThe repository and branch of the agent’s clone, for an agent of this AgentMux; Repository when only the repository is known
TasksThe Kanban tasks the agent holds, then those waiting for it (marked waiting), each with its pull request as a button that opens it; at most six, then how many more
ContextThe size of its context
Spend todayFor an agent on a model route with a daily cap, how much of the cap it has used

Open brings the agent’s pane forward, or opens it when it has none. An agent of another machine has no pane here, so it has no Open. A container with no agent has a card with its state, image and “None: no agent of this machine uses it.”

The Atlas has the Swarm’s own Broadcast, Stop and Mode controls, acting on the agents you select on the map.

  • Drag a box around agents with Shift held. The nodes the box touches show a check as you drag.
  • Or turn on Select (the button next to the zoom controls). A plain drag then draws the box, and Shift with a drag pans the map.
  • Click a node with Shift, Ctrl or Cmd held, or with Select on, to add or remove one agent.

The bar under the map shows once something is selected, or Select is on: Select all / Select none, Stop {N}, Mode and the Broadcast box, as in the Swarm’s selection controls, with the same confirmation and the same result list naming each agent. The selection is the Swarm’s own, so it carries over to the Swarm. Stopped agents and agents of a machine that has gone stale cannot be selected. A cloud machine’s agents are display only: a broadcast or stop that includes one says it could not reach it.

See Broadcast and Supervisor for what each does. Supervisor modes apply to the selected agents of this AgentMux only.

  • Swarm: the list the map is drawn from
  • Kanban: the tasks whose hand-overs the dotted lines show
  • LAN discovery: how other machines show up