Skip to lesson
Exit
Interactive Agent, Plan and Ask Modes1 / 2

2 min lesson

Agent --help names --mode plan|ask, --print, and --resume

Use "Run agent --help yourself and pick --mode plan or --mode ask for your next terminal session" to say what you would do next.

Step 1 of 2

The job: you can run interactive CLI sessions without losing mode choice or context hygiene. Start with this check: Mode choice matches the task. Keep it small enough to check the result yourself instead of taking the summary on trust.

Pick plan or ask from the agent CLI

0:27 · narrated
Read this demo as text
  1. agent --help names the modes the CLI shares with the editor. --mode plan stays read-only; --mode ask is Q and A. --print and --resume are the script path — this is help bytes, not a live TUI session.
agent --help names --mode plan|ask, --print, and --resume — help bytes in the terminal, not a fabricated TUI.

Practice next: Run agent --help yourself and pick --mode plan or --mode ask for your next terminal session.

Simulated Cursor 3.12 (macOS, light) — beta educational reconstruction, not the real product.