Mid-Run Steering
Inject messages into a running agent without interrupting it, or hard-stop a generation.
Commands
| Command | Alias | What it does |
|---|---|---|
/wait [message] | /steer | Non-interrupting. Injects your text between tool rounds. |
/stop | /ctrlc | Hard interrupt. Kills the current generation immediately. |
How /wait works
- You send
/wait Don't forget to also check the logs - The busy-guard stashes your text in
pendingWaiton the session - Between the agent's next tool calls, it sees:
[USER] Wait! Don't forget to also check the logs - The agent incorporates your guidance and continues working
The agent is NOT interrupted — it finishes its current tool call, reads your injection, then adapts.
Transport behavior
| Transport | Injection timing |
|---|---|
| Direct API | Between tool calls (true mid-run) |
| ACP | After prompt completes (best-effort, injected as follow-up) |
Multiple /wait messages
If you send several /wait before the agent drains them, they're concatenated with newlines. All delivered together at the next drain point.
/wait while idle
If the agent isn't busy, /wait is treated as a normal message — no special handling needed.
/stop behavior
Immediately kills the current generation. The agent stops, and you can send a new message. Use when the agent is going down the wrong path and you don't want to wait.
Legacy
Bare wait (without slash) is a hard interrupt for backward compatibility. Use /wait for the non-interrupting version.