Skip to lesson
Exit
Checkpoints, queued messages and run control1 / 2

1 min lesson

Choose the right run control

Use the timing and code state to choose queue, Send now, Stop or Restore Checkpoint.

Step 1 of 2

By the end, you can choose between queue, send now, Stop and Restore Checkpoint, then inspect what remains.

During a live run, choose the control by how soon the correction must reach Agent. If a finished edit was wrong, preview the checkpoint before that turn, restore it and inspect the remaining diff.

Control
Enter (queue)
Use it when
The follow-up can wait
What Agent gets
It runs after the active task
Control
Send now /
Use it when
The active turn needs the correction
What Agent gets
It attaches to tool results at the next tool call
Control
Stop
Use it when
No more tool calls should run
What Agent gets
Changes already made still need review
Control
Restore Checkpoint
Use it when
A finished edit was wrong
What Agent gets
Files return to the state before that request. Inspect the diff

Pick the control by how soon the correction must land. Source: Cursor Agent overview docs (Checkpoints and Queued messages sections).