CLI

Talking to the agent

Type a prompt and press Enter. Ctrl+J inserts a newline; Shift+Enter works where the terminal supports it. Tool blocks show the activity and its execution location. Expand a…

Type a prompt and press Enter. Ctrl+J inserts a newline; Shift+Enter works where the terminal supports it. Tool blocks show the activity and its execution location. Expand a block when you need the command or output behind the summary.

Steer a running turn

You can submit another message while the agent is working. When steering is available it becomes part of the active turn. If the current state cannot accept it, the client queues it and reports that state; the pending prompt is shown separately until it can be sent.

Use a direct correction when the active task needs to change. /btw <question> asks a side question about the conversation without making it the next task. Add --full to use the scrollable reader for its answer.

Stop or background work

Escape interrupts a foreground turn. A second Escape within 500 ms while idle opens the rewind picker. Check the available checkpoints before confirming a rewind.

Ctrl+B moves a running command to the background when that call supports it. This does not stop the command. Its result arrives later; use watches for a condition that needs monitoring.

Send files or a voice prompt

/attach <path> stages one file for the next message. Quote a path containing spaces. /attach --list shows staged and already-sent attachments; /attach --clear removes staged ones. Clipboard images can be pasted with Ctrl+V. See Attachments and context.

Ctrl+R starts voice recording and stops the current take when pressed again. Inspect /voice and choose whether to submit automatically before recording. Voice in the terminal covers recording, transcription, and recovery.

Answer a question or permission prompt

Use the displayed choices, arrow keys, and Enter. Permission prompts can also offer y to allow, n to deny, and a to remember an allowance. The remembered choice is available only when the server offers it; some operations must be approved every time.

Read the raw command and any displayed target or execution location before approving. When a prompt asks you to type a confirmation phrase, supply that phrase as well; an ordinary y cannot replace it. Enabling Bypass specifically requires typing bypass. See Approvals and remembered choices.

On this page