Install and sign in first
Download from cursor.com/download, install for your OS, sign in, then use File > Open Folder so Agent indexes the project you care about.
Open Agent with Cmd+I or Ctrl+I
The Agent panel is the main surface for multi-file edits, terminal commands, and autonomous exploration.
Choose the right mode
Agent edits files. Ask is read-only. Plan drafts an implementation plan for approval. Debug targets bugs needing runtime evidence. Shift+Tab cycles modes.
Use @ to steer context
Agent searches automatically, but @file or @folder references focus attention when you already know the relevant code.
Write acceptance criteria
Include how to verify success—tests, commands, UI behavior—so Agent knows when the task is complete.
Review diffs continuously
Agent applies edits as it works. Reject incorrect hunks immediately instead of fixing forward through a messy branch.
Start fresh chats for new tasks
Each mode uses its own context. A new chat after finishing a feature keeps prompts focused and reduces confusion.
Use Plan for complex features
When requirements are fuzzy or many files are involved, Plan mode produces a reviewable approach before code lands.
Revert and replan when needed
If Agent built the wrong thing, revert, tighten the plan, and run again—often faster than lengthy fix-up threads.
Leverage Tab for flow state
Tab completes inline from recent edits and linter signals. Accept with Tab, words with Cmd/Ctrl+Arrow Right, reject with Escape.
Follow cross-file portal hints
When Tab suggests updates in another file, use the portal window instead of manually hunting related call sites.
Add project rules once
Cursor Rules encode conventions—testing commands, style, architecture—so you do not repeat them in every prompt.
Run verification commands
Ask Agent to run tests or lint after changes. Confirm commands match your repo scripts before approving execution.
Use cloud agents when appropriate
Paid plans document cloud agents at cursor.com/agents for work outside the local editor. Review output like any other Agent session.
Know plan limits
Hobby has limited Agent requests; Pro and higher expand included model usage. Cloud agents and automations vary by Individual and Teams plans.