How to redirect, queue, stop or question an agent while it works, and how tools and extensions can feed it context. Each entry says when the input lands, what happens to running tools, and whether you can see it afterwards. Columns show each harness's main surface first, then its other surfaces.
| You want to | Cursor Agentterminal | Cursor Agentagents window and web |
|---|---|---|
| Change direction mid-turn | CLI interactive prompt: Enter while the agent works Lands at a safe point; lets running tools finish; kept in the transcript. 'Pressing Enter while the agent works now sends your queued message into the active run at a safe boundary to steer it' (v2026.08.11). The overview gives the same behaviour. Since May 2026, 'follow-ups move running tools to the background instead of killing them'. A queued message still passes through beforeSubmitPrompt (see jun-29). CLI shell approval prompt: 'Skip & tell the agent what to do instead' Lands at the next tool call; lets running tools finish. 'choosing it opens a composer whose message is sent to the agent as the reason the command was skipped. Submitting an empty message just skips.' Only available while a shell approval is pending. Whether it is sent as a tool result or a user message is not documented. | Cursor.com/agents; rolling out in the Agents Window ('Send now' or Enter twice) Lands at the next tool call; lets running tools finish; kept in the transcript. 'delivered at the agent's next tool call instead of cutting off work mid-action, which preserves in-flight work'. 'available on cursor.com/agents now and rolling out in the Agents Window'. 'Press Tab to queue the message for after the turn instead.' Agent UI: Cmd/Ctrl+Enter Lands at the next tool call; kept in the transcript. 'appended to the most recent user message in the chat and processed right away'. 'Your message attaches to tool results and sends immediately'. 'Use this when you need to interrupt or redirect'. No cancellation is described. This may be an older description of the same feature as steer-running-agent. |
| Queue a follow-up | — | Agent UI queue (Enter in the editor agent panel; Tab in the steering UI) Waits until the turn ends; lets running tools finish; kept in the transcript. 'Messages appear in order below the active task' … 'Drag to reorder queued messages' … 'processes them sequentially after finishing'. Key conflict on the same page: #keyboard-shortcuts says Enter queues, while #steer-a-running-agent says Tab queues. |
| Stop it | CLI: second Enter while a turn runs Takes effect immediately; lets running tools finish; skips remaining tool calls; kept in the transcript. 'only interrupts the turn if you press Enter again' (aug-11). 'Press Enter again on an empty prompt to stop the current turn and send your queued message immediately, including while a beforeSubmitPrompt hook is running' (jun-29). CLI: Ctrl+C / Stop Takes effect immediately; skips remaining tool calls. 'Stopping a turn preserves the output of in-flight shell commands' (may-7). 'Network-level cancels and aborts no longer end the turn as if Ctrl+C had been pressed' (jun-9). This implies Ctrl+C ends the turn. 'In the CLI, Ctrl+C pauses the goal' (overview). No dedicated docs page for the key. The postToolUseFailure field is_interrupt means 'failure was caused by a user interrupt/cancellation'. | Not documented |
| Ask a side question | CLI /btw Answered separately; the main run is untouched; shown on screen only. 'Ask a quick read-only question mid-turn; the answer streams into a dismissible overlay with full conversation context and never touches your conversation history.' Fixes are listed at jul-13-2026-reliability. Not listed in /cli/reference/slash-commands. Whether /btw works while idle is undocumented. | /side or /btw, 'Ask in Side Chat', Shift+Cmd/Ctrl+S Answered separately; the main run is untouched; lets running tools finish; kept in the transcript. 'ask a question or investigate a tangent without interrupting the main conversation'. 'uses the parent thread as hidden reference context and keeps its own transcript'. 'Follow-up messages stay in the side chat and do not appear in the parent transcript'. 'Side chats are local-only … not currently available for Cloud Agents', so they are absent on cursor.com/agents. Context returns to the parent via @-mention. |
| Feed it context (hooks, extensions, APIs) | SessionStart hook (hooks.json) Arrives when its event fires; lets running tools finish. 'additional_context … Additional context to add to the conversation's initial system context'. 'This hook runs as fire-and-forget; the agent loop does not wait'. CLI support: 'Hooks. Session start/end…' (january-2026). When several hooks respond, the last response wins for non-message fields. PostToolUse / postToolUseFailure hooks Arrives when its event fires; lets running tools finish. 'Extra context injected into the conversation after the tool result'. postToolUseFailure does the same 'after the failed tool result'. The hooks page does not state CLI support for these two events. Stop / subagentStop hook followup_message Waits until the turn ends; lets running tools finish. 'Cursor will automatically submit it as the next user message'. Capped at 'default limit is 5 auto follow-ups per script' (loop_limit). subagentStop's followup_message is 'Only consumed when status is completed'. CLI support: 'stop hooks with follow-up loops' (january-2026). PreToolUse / beforeShellExecution / beforeMCPExecution deny Timing depends on the situation; lets running tools finish. 'agent_message … Message fed back to the agent when the action is denied'. Only fires when a hook denies the tool call. When several hooks respond, the agent_message values are concatenated. | SessionStart hook Arrives when its event fires; lets running tools finish. 'additional_context … Additional context to add to the conversation's initial system context'; 'runs as fire-and-forget'. Not available in cloud agents: 'sessionStart … Deferred while cloud agents can still start in a read-only environment'. It only applies to local agents in the Agents Window or editor. PostToolUse / postToolUseFailure hooks Arrives when its event fires; lets running tools finish. 'Extra context injected into the conversation after the tool result'. Supported in cloud agents (the #supported-hooks table says 'postToolUse | Yes'). Cloud runs only project, team and enterprise hooks. 'Hooks do not run' during read-only early cloud turns. Stop / subagentStop hook Waits until the turn ends; lets running tools finish. 'automatically submit it as the next user message'; capped by loop_limit (default 5). Cloud: 'stop | Yes'. PreToolUse / beforeShellExecution / beforeMCPExecution deny Timing depends on the situation; lets running tools finish. 'Message fed back to the agent when the action is denied'. beforeMCPExecution is not available in cloud agents. |
Sources
Cursor Agent, terminal
- Cursor CLI changelog, Documentation, checked 2026-10-15
- Cursor Agent overview, Documentation, checked 2026-10-15
- Cursor hooks, Documentation, checked 2026-10-15
Cursor Agent, agents window and web
- Cursor Agent overview, Documentation, checked 2026-10-15
- cursor-agent docs: help/ai-features/side-chats, Documentation, checked 2026-10-15
- Cursor hooks, Documentation, checked 2026-10-15