Coding agentsBeta
Crew tabs, layouts and terminals
Each agent you open on the Crew page gets a tab. A tab can hold several agents side by side, carry its own terminals, and take a built-in or saved layout.
Work with tabs
The Board is always the first tab, and each agent you open adds a tab after it. Click a tab to switch. Hidden tabs keep their terminals, so switching does not restart or replay anything.
Right-click a tab to close it or others: Close, Close others, Close to the right, Close to the left and Close all. ⌘W closes the current tab. The Board cannot be closed. When a tab has a terminal running something, Edith asks first and names what would stop.
Put agents side by side
| To | Do this |
|---|---|
| Open an agent beside the current one | Right-click the agent, choose Open in, then Beside a tab and Right, Left, Below or Above |
| Move an agent into another tab | Drag it onto that tab |
| Swap two agents in a tab | Right-click one and choose Swap with |
| Put every agent tab into one | Right-click a tab and choose Gather all tabs here |
| Split a tab into one tab per agent | Right-click it and choose Separate into tabs |
Four or more gathered agents land in a grid, fewer in columns.
Zoom (⇧⌘↩) gives one agent the whole tab for a moment, and Restore layout brings the split back.
Apply and save layouts
- In a tab with several agents, press Layout… in the tab bar.
- Pick an arrangement, such as side by side, a grid or one large pane with others beside it.
- Use Even out to give every pane the same share, or Rotate and Flip to turn the arrangement.
- To keep it, press Save this layout and name it. Saved layouts show in the same popover.
A tab needs at least two agents to save a layout, and the arrangement has to fit the number of agents in the tab. A saved layout with the same shape is replaced.
Open terminals beside agents
Every tab can carry its own terminals. They open in a panel that floats over the bottom of the tab, so the agents underneath keep their size. Drag the panel up to cover the whole tab.
| Keys | What they do |
|---|---|
| ⌃` or ⌘J | Show or hide the panel |
| ⌃⇧` | Open another terminal for the focused agent |
A terminal belongs to one agent and opens on that agent's machine, in that agent's folder. With several agents in a tab, + asks which one. The Board opens terminals on this Mac. Each terminal is listed on the right of the panel, named after what runs in it, such as npm run dev, with a dot when it is busy.
Each terminal is a real engine tab in a workspace called Edith-terminals on that machine. A terminal you open there with edith-agents, or one left running when Edith quit, shows up in the tab whose agent works in the same folder. Scroll back with the wheel or trackpad: the engine replays recent output when you attach.
The gear in the panel header, Terminal settings, sets the mouse input, text size, start folder and a startup command. See Notifications and settings.
From the terminal
Tab and layout commands act on the open Crew page, and exit 4 when it is not open:
ed crew layout lsed crew select --tab 2ed crew split w3:p1 --side righted crew layout apply columns --tab 1ed crew layout save Pair --tab 1ed crew terminal --tab 1ed crew close-others --tab 1 --yesThe Board is tab 0, and agent tabs start at 1. An agent is named by its id, its pane id or a unique title. Commands that close tabs preview first and change nothing without --yes. ed crew servers lists the ports processes in agent panes listen on, such as a dev server. See ed crew layout and the ed crew reference for move, swap, gather and separate.