The composer
Pick an agent, model, effort, fast mode and permission mode, start a worktree on any branch, switch a task to another agent, send while a turn runs, stop a turn, and read the More tab and how full the context is.
The composer is the box at the bottom of the window where you write to the agent. Its control row sets who does the work and how: the agent, the model, the effort, fast mode and the permission mode. Some of these can change mid-session and some are fixed once the session starts.
In a bot’s chat the composer also counts the bot’s tasks; see Bots.
New task and follow-up
The composer has two shapes.
- New task. Press
⌘Nor click New Task in the sidebar. The composer sits alone in the middle of the window, with its controls above the text. The placeholder reads “Describe a task.” You press⏎to send; there is no send button.⌘Ssaves the text as a draft instead (see Prompts). - Follow-up. Once a session exists, the composer sits under the transcript with its controls below the text. The placeholder reads “Follow-up.” and a round send button sits on the right.
⏎ sends. Shift+⏎ adds a new line. A new line inside a list carries the list marker with it.
Pick where a new task runs
These controls appear on a new task only. Once the session starts they are gone, and the session header shows the project and branch instead.
| Control | What it does |
|---|---|
| Project (folder icon) | Picks the project. Attach project… at the bottom adds a folder. ⌘⇧P steps to the next project. |
| Server (server icon) | Shown when the project lives on a server. Picks which machine the task runs on. ⌘⇧S steps to the next connected one. |
| Worktree switch | Runs the session in its own copy of the repo. ⌘⇧T flips it. See Worktrees. |
| Branch (branch icon) | With Worktree off, the branch the project is on. With Worktree on, the branch the task starts from, like “from origin/main”. |
Start a worktree on any branch
With Worktree on, the branch button reads “from origin/main” (or your default branch). Click it to start the task from another branch. The list puts your default branch first, marked latest, then Local branches, then those On remote only. Past eight branches a Filter branches box sits at the top.
- The default branch: the task starts from the remote’s newest commit. Wain fetches it first, so work already upstream does not show up as the task’s own. If the fetch fails, it starts from the branch as your clone last fetched it.
- Any other branch: the task works on that branch itself. A branch only on the remote is fetched first. See Worktrees.
Pick a branch without a worktree
With Worktree off, picking a branch checks it out in the project for real. If the project has uncommitted files, Wain asks first:
- Stash changes: the changes stay on the current branch, saved for later.
- Bring changes: the changes move to the new branch with you.
- Cancel.
Agent and model
The model button shows the agent’s mark, the model name, and the effort beside it. Click it to open the model menu.
- Agent. A row of agent marks sits at the top of the menu: Claude Code, Codex, pi, fx, Grok and OpenCode.
⌘⇧Acycles them. An agent that is not installed carries a red dot; picking it shows how to install it under the composer. In a session, picking another agent moves the task there; see Switch to another agent. - Model. Click a model to pick it. Hover a model with effort levels to open its effort submenu.
- fx provider. On fx, the top row also holds fx’s providers. This one can change mid-session, but not while a turn runs (“Provider can’t be changed mid-stream”). It also changes fx’s own default provider on your machine.
Shift+Tab cycles through the models in the menu, wherever focus is.
Shortlist models
The menu shows a shortlist, not every model an agent offers. To change it, click Shortlist models at the bottom of the menu. The Models dialog lists everything the agent reports; turn on the ones you work with. Only those show in the picker and in the Shift+Tab cycle. The session’s current model is always shown, shortlisted or not.
Each agent starts with a default shortlist the first time its list loads. pi starts empty, so you pick your own. The Refresh button in the dialog reads the list again, for example after you log in to a new provider.
Switch to another agent
A task can move to another agent mid-session and keep its conversation. Open the model menu, pick another agent’s mark and one of its models, or press ⌘⇧A. “Your next message goes to Codex” (or whichever agent you picked) shows above the composer. Your next send moves the task.
- The task keeps its row, folder, worktree, branch and transcript. The chat draws no line for the switch.
- The new agent is given the conversation so far: your messages and the replies in full, and each tool call as one short line without its output. A very long conversation keeps its start and its newest part.
- Switching back to Claude Code, Grok or pi resumes that agent’s own conversation and tells it only what happened since it left. Codex, fx and OpenCode start fresh each time, with the whole conversation.
- You cannot switch while a turn runs: the agent marks and
⌘⇧Ado nothing until it ends. - Moving to an agent stops the old one, and with it any background tasks it was running.
wain session model does the same from the command line when you name another agent’s model; see Sessions.
Effort
Effort is how hard the model thinks. Levels are Low, Medium, High, Extra High, Max and Ultra, but each model offers only the levels it supports, and some offer none.
- Pick a level from the model’s effort submenu.
⌘⇧Esteps to the next level. It skips Low; pick Low from the menu.- Each model remembers its own default. Switching models uses that model’s level, not the one you had.
Fast mode
Fast mode runs the model at its faster tier. The Fast mode switch sits in the model menu under the models, and appears only where the agent and the model both have one. When it is on, the model button reads “Fast” after the effort. ⌘⇧F toggles it.
| Agent | Fast mode |
|---|---|
| Claude Code | Opus 5.5 and Opus 5. Changes in place, even mid-turn. |
| Codex | Models that report a fast tier. A change applies from your next turn. |
| fx | Models that report a fast tier. A change applies from your next turn. |
| Grok | Grok 4.7 only. |
| pi | None. |
| OpenCode | None. |
If the agent refuses fast mode, its own sentence shows under the switch, for example “Fast mode disabled · usage credits exhausted”. The switch stays as you set it. The note clears once a turn runs fast again, and shows only while the switch is on.
Permission mode
The permission mode is the button furthest right among the pickers, for example Auto. It decides how much the agent may do without asking you.
| Mode | Meaning |
|---|---|
| Ask every time | The agent asks before each action that needs permission. |
| Auto | The default. The agent runs routine work without asking. On Claude Code this is its own auto mode: a built-in safety check approves routine actions and blocks risky ones, so cards are rare. On Codex it asks only to go beyond the project folder. On Grok it never raises a card; a blocked action fails with its reason instead. |
| Plan | The agent plans without changing anything. |
| Bypass permissions | Shown in red. Every permission check is off. |
Each agent offers only the modes it can honour:
| Agent | Modes offered |
|---|---|
| Claude Code | All four. |
| Codex | Ask every time, Auto, Bypass permissions. |
| Grok | Ask every time, Auto, Bypass permissions. Grok has a plan mode of its own; see Permissions. |
| fx | Ask every time, Auto, Bypass permissions. |
| pi | No picker. pi has no permission system of its own; an extension you install decides. |
| OpenCode | All four. |
When the agent asks, a card appears in the transcript. See Permissions.
What locks while a turn runs
Some agents cannot take a change in the middle of a turn. There, the control dims and its tooltip says why, for example “Model can’t be changed mid-turn”. It unlocks when the turn ends.
| Agent | Locked while a turn runs |
|---|---|
| Claude Code | Effort |
| Codex | Model, effort, permission mode, fast mode |
| Grok | Permission mode |
| fx | Provider. Model, effort, permission mode and fast mode stay open and apply to the next turn. |
| pi | Nothing |
| OpenCode | Permission mode |
Send while a turn runs
You do not have to wait. Type and press ⏎ during a turn, and the prompt is queued. It shows dimmed at the bottom of the transcript until the agent takes it. The send button’s tooltip says “Send — queued onto this turn”.
- Claude Code, Codex, pi and Grok take the queued prompt into the running turn, usually at the next tool call.
- fx and OpenCode take one prompt per turn, so queued prompts wait for the turn to end and then go together as the next turn. Under the newest one, Now stops the running turn so they go at once.
⌘⏎does the same.
Esc takes back the newest queued prompt and puts its text back in the box. The hint “Esc to cancel” sits under it.
Stop a turn
While a turn runs and the box is empty, the send button turns into a square Stop button. It stops the turn. Background tasks the agent started, such as a dev server, keep running. While any run, the transcript shows a count like “2 Background Tasks”. Click it to open them in the right panel’s More tab. Settling the session stops them all.
The More tab
The right panel’s More tab (⌘E opens the panel) collects what a session has going on beside the chat. It shows only once there is something in it, and each section shows only when it has rows.
- The agent’s task list, when it keeps one.
- Subagents, newest first, finished ones included. A running one shows its current step. Click a row to open its whole conversation as a tab beside the chat; you can also click an agent row in the chat. An fx subagent opens once it finishes.
- Background tasks: shells and monitors still running. Click one to see the command it ran.
- Pictures and recordings from the chat, newest first. All, You and AI filter by who sent them. It opens on ten, and Load more adds ten more, reaching back into older parts of the chat. Click one to open it full size and step through the set.
The square button on a running row stops it (“Stop this task”, “Stop this subagent”). Stop all sits on a section’s heading when two or more are running.
Escape
Esc does the first of these that applies, wherever focus is:
- Throws away a dictation that is recording.
- Closes an open picker (
/,@,#,&) and keeps what you typed. - Takes back the newest queued prompt.
- Takes the sidebar from the drafts or settled view back to the active list.
Which device sent it
Wain tells the agent where each message you type came from, after your text: [sent from Mac app], [sent from iPhone] and so on. In a bot’s chat it adds your local time, like [sent from iPhone, 14:32]. The agent sees the tag; the chat does not show it.
The context ring
After the first turn, a small ring at the right end of the control row shows how full the model’s context is. Hover it for the numbers, like “41k / 200k · 21% used”. It turns red at 80%. When the context fills, the agent compacts it, and “Compacting context” shows in the transcript while it does.
Hand work back
In a session, a thin row of buttons hides behind the top edge of the composer and opens when you hover it. Each sends a short prompt:
- Commit, when the working tree has changes.
- Create PR, when the branch has new work, has no pull request yet, and is not the default branch.
- Run server, which asks the agent to start the dev server in the background.
They are suggestions to the agent, not commands Wain runs itself.
Shortcuts
| Shortcut | Does |
|---|---|
⏎ |
Send |
Shift+⏎ |
New line |
⌘N |
New task |
Shift+Tab |
Next model |
⌘⇧E |
Next effort level |
⌘⇧F |
Toggle fast mode |
⌘⇧A |
Next agent |
⌘⇧P |
Next project (new task) |
⌘⇧S |
Next server (new task) |
⌘⇧T |
Toggle worktree (new task) |
⌘⏎ |
Send queued prompts now (fx, OpenCode) |
⌘S |
Save as draft (new task) |
You can change any of these in Settings → Shortcuts.
Limits
- Project, branch and worktree are set at creation and cannot change later.
- An agent switch waits for the turn to end.
- On Claude Code, changing effort restarts the agent process at the next send.
- fx’s provider and permission mode are fx’s own machine-wide settings, so changing them also changes fx in your terminal.