Quick answer

Use Tab completions for routine typing, an inline edit shortcut for local changes, Agent mode for multi-file tasks, and project rules to encode conventions. Give the agent small, well-specified tasks; review diffs; run tests; and use checkpoints and version control to undo mistakes.

Core features

FeatureWhat it doesWhen to use it
Tab completionPredicts multi-line edits as you typeRepetitive changes and boilerplate
Inline edit (Cmd/Ctrl+K)Rewrites a selected block from a short instructionSmall, targeted refactors
ChatAnswers questions about your codebaseUnderstanding and planning
Agent modePlans, edits multiple files, runs commands and iterates on errorsFeatures, migrations, bug hunts
Codebase indexingBuilds a semantic index of your repoFinding relevant code without pointing to it
CheckpointsAutomatic restore points before agent changesUndoing a wrong direction
Background/cloud agentsAgents that work on a separate branch in an isolated environmentParallel tasks, reported as introduced with Cursor 3 in April 2026
MCP integrationsConnect external tools such as issue trackers or docsBringing ticket details into context

Cursor lets you pick among several models, including its own, and has been reported to offer models from OpenAI, Anthropic, Google and others. Availability and naming change often.

Prompting the agent

A well-scoped task

Add rate limiting to the /login endpoint: max 5 attempts per IP per 15 minutes, returning HTTP 429 with a Retry-After header. Reuse the existing middleware pattern in src/middleware. Add tests for the limit and reset. Don't modify other routes. Show me a plan first.

Guidelines

Project rules

Cursor supports persistent rules that tell the AI about your stack, patterns and preferences (for example testing framework, style conventions, folders to avoid). Put stable conventions there instead of repeating them in every prompt, and keep them concise and specific.

Workflows

Fix a bug you don't understand

  1. Paste the error and ask chat to trace the likely path through the code.
  2. Have it propose two hypotheses and a test that would distinguish them.
  3. Apply the fix in agent mode, run the test, and inspect the diff.

Build a small feature

  1. Describe the feature and ask for a plan and file list.
  2. Approve, then let the agent implement in steps, running tests as it goes.
  3. Review the diff, commit, and repeat for the next piece.

Refactor safely

  1. Commit your working state first.
  2. Ask for the refactor in small stages.
  3. Run the full test suite after each stage; revert to a checkpoint or commit if it fails.

Review and safety habits

Cost and limits

Reviews report that Cursor moved from fixed request counts to usage-based credits on paid plans in mid-2025, and that heavy agent sessions, especially with premium models or expanded-context modes, can cost noticeably more than the base subscription. Monitor the usage dashboard, choose lighter models for simple tasks, and check current pricing before relying on any figure.

Common mistakes

Limitations and alternatives

FAQ

What is Cursor?

An AI-first code editor built on the VS Code codebase, with chat, multi-file editing, agent mode and completion.

What is Agent mode?

A mode where Cursor plans, edits files, runs commands and iterates on errors, creating checkpoints you can revert.

How does Cursor pricing work?

Paid plans have used usage-based credits, so costs vary. Check current pricing and your usage dashboard.

Can a beginner use Cursor?

Yes, but you still need to read, test and understand what it writes.