VCode home

Choose where your typing goes: Agent or Shell

Agents: claude, codex, opencode · On: phone

Two chips at the top of the screen decide who reads what you type: the agent, through the composer, or the tab's shell, through its terminal.

Why you would use it

You want to talk to the agent one minute and run git log the next, in the same tab. The chips switch the screen between the two, and show which one you are in.

How to use it

  1. On a phone the chips are in the strip #send-modes, in the row under the usage meters at the top of the screen, at its left end. The two-row shell keypad stays in the bottom band while Shell mode is selected. On a wide screen that strip is not shown: each pane header has the same pair, the agent's mark and >_, that switches that pane between the agent and the tab's terminal.

    The top of the screen: the usage meters, the mode strip with the two chips at its left, then the tab strip.

  2. Agent wears the agent's own mark. Shell wears a terminal icon. Neither is labelled on screen: the names are in the tooltip and the aria-label, and the selected one is brighter with a bar under it.

    The mode strip close up: the agent's starburst, selected and underlined, then the terminal glyph, then the divider, the tabs button and the folder.

  3. Tap one. Tapping Shell swaps the transcript out for the tab's terminal and hides the composer: you type into the terminal itself.

  4. Tap the × on the terminal's header (#panel-close) to go back to Agent.

What you see

In Shell mode the composer, its attachments row and the slash menu are hidden. In Agent mode the placeholder in #draft follows the state:

State Placeholder
Shell mode none: the composer is hidden
Agent idle ask Claude…, the agent's own name
Agent mid-turn, steering possible use the wheel to steer
Agent mid-turn, steering not possible queues until this turn ends

The selected chip is brighter and reports aria-pressed="true".

The mode belongs to the tab. Another tab, picked from the strip or a swipe, shows in its own mode: the one you picked for it, else Agent. sendMode is the mode of the tab in front (syncSendMode), and always Agent on a wide frame, where a pane in Shell shows its terminal in place of the composer. A tab in Shell stays in Shell when the window is widened or narrowed.

Limits and known gaps