Lesson 30 of 36 · Track 4: Automate and code with AI

Cursor for beginners: your first project in an AI code editor

Beginner13 min6 steps1 videoFree · no login
The short answer

Cursor is a code editor with AI built in, made from the same codebase as VS Code. It predicts your next edit as you type (Tab), and its Agent can plan, write and test whole features from a plain-English request. It has a free plan with limited agent use, and paid plans from $8 a month as of Nov 2026.

  1. 1

    What is Cursor?

    A code editor is the app where programmers write code, a bit like a word processor for code. VS Code from Microsoft is the most common one. Cursor’s docs say "Cursor is based upon the VS Code codebase", so it looks and feels like VS Code, with AI added everywhere.

    Where Claude Code started in the terminal, Cursor starts in the editor: you see your files, the AI’s changes and the result side by side. Cursor became part of SpaceX in August 2026 and says it is "keeping the work familiar" for users.

    • Tab: AI autocomplete that predicts your next edit.
    • Agent: an assistant that can edit files and run commands for you.
    • Plan Mode: the Agent researches and writes a plan before building.
    • Rules: saved instructions the Agent follows on every task.
  2. 2

    Install it and open a project

    Download Cursor from cursor.com/downloads. There are installers for macOS (.dmg) and Windows (.exe), and apt, dnf or AppImage options for Linux. Open the app and sign in.

    If you used VS Code before, you can bring everything across in one click: open Cursor Settings (Ctrl/Cmd + Shift + J), go to General, then Account, and click Import under "VS Code Import". Your extensions, themes, settings and keyboard shortcuts come with you.

    Now open a folder (File, then Open Folder). Cursor treats that folder as your project. Start with a small, empty folder for your first try.

  3. 3

    Tab: autocomplete that guesses your next edit

    As you type, Cursor shows grey suggested code. It looks at your recent edits, the code around you and any errors, and can suggest several lines, add a missing import or jump to the next place you will probably change.

    Press Tab to accept the whole suggestion. Press Esc, or just keep typing, to ignore it. To accept one word at a time, press Cmd + Right Arrow on Mac or Ctrl + Right Arrow on Windows and Linux.

    Key idea

    Tab is for small edits while you type. The Agent is for whole tasks you describe.

  4. 4

    Agent and Plan Mode: describe the task

    Open the Agent in the side panel with Cmd + I (Mac) or Ctrl + I (Windows and Linux). It can search your code and the web, read and edit files, run terminal commands and even control a browser to test a change. Before big changes it saves checkpoints, so you can restore files if you don’t like the result.

    For anything bigger than a small fix, press Shift + Tab in the Agent box to switch on Plan Mode. Cursor researches the code, asks you clarifying questions, writes a plan and waits for your approval before building. When it finishes, read the diff (the list of changed lines) and ask it to run your tests or build.

    1. Describe the task
    2. Plan Mode: questions and plan
    3. You approve
    4. Agent edits and runs checks
    5. You review the diff
    First prompts from Cursor’s quickstart
    Explain this codebase. Point me to the main entry points, key modules, and anything I should read before making changes.
    
    Suggest three small, safe improvements in this codebase. Explain the tradeoffs and wait for me to choose one.
  5. 5

    Rules: teach Cursor your preferences once

    Models don’t remember past chats, so rules give the Agent the same instructions every time. Project rules live in the .cursor/rules folder as .mdc files and are saved with your code. A simpler option is an AGENTS.md file in the project root, plain Markdown with no settings. User Rules (in Customize, then Rules) apply to all your projects, for example "explain your changes simply, I am learning".

    Each project rule can be set to always apply, apply when the Agent thinks it is relevant, apply to matching files, or apply only when you @-mention it.

    A rule file: .cursor/rules/basics.mdc
    ---
    alwaysApply: true
    ---
    - Use plain HTML, CSS and JavaScript. No frameworks.
    - Explain every change in 2-3 simple sentences.
    - Never delete files without asking first.
  6. 6

    What does Cursor cost?

    Cursor rebuilt its plans in 2026, so older tutorials that mention Hobby or Pro plans are out of date. As of Nov 2026, Cursor’s pricing page lists: Free ($0, limited agent and chat requests), Plus ($8 a month, Grok models only), Premium ($30 a month, 4x Plus usage, adds third-party models such as Claude or GPT at API list price, plus cloud agents), Super ($100 a month, 15x Plus) and Ultra ($200 a month, 50x Plus). Teams starts at $30 per user a month.

    Usage on every plan is a pool shared across Cursor and Grok products, and it refreshes weekly. Check the pricing page before you pay, because this is changing fast.

    Key idea

    Start on Free. Upgrade only when you hit the limit on real work, not before.

From the people who built it

Straight from the source

The original idea, then the same idea taken apart, then how you use it today.

Michael Truell, Sualeh Asif, Arvid Lunnemark and Aman Sanger
Cursor’s founding team.
Lex Fridman Podcast #447 with the Cursor team (October 2024)
1 · Understand
The founders expected AI models to keep getting better, which would change how software is written. A plug-in for an existing editor felt too limiting, so they built their own editor from the VS Code codebase. For Tab, Aman Sanger described the goal as "eliminate all the low entropy actions you take inside of the editor."
2 · Break it down
  • Low entropy means predictable. Once your intent is clear, many of your next keystrokes are obvious, and the editor should type them for you.
  • So Tab predicts your next whole change, and where in the file you will edit next, not just the next few characters.
  • To feel instant, Tab uses a small, fast model with tricks like caching, rather than the biggest model available.
  • They expect the human role to shift toward checking AI changes. As Sualeh Asif put it, "I don’t want to spend all my time reviewing code," so reviewing has to get easier too.
3 · Use it
Let Tab handle the obvious edits, and save your own attention for decisions and for reading diffs. If you find yourself making the same small change in many places, make the first one and press Tab through the rest.
Jacob Jackson, Phillip Kravtsov and Shomil Jain (Cursor)
Cursor researchers who wrote up how the Tab model is trained.
Improving Cursor Tab with online RL (Cursor blog, September 2025)
1 · Understand
A wrong suggestion is a distraction, so Tab has to learn when to stay quiet as well as what to suggest. Cursor trained it with reinforcement learning on real use: accepted suggestions are rewarded, rejected ones are penalised, and showing nothing scores zero.
2 · Break it down
  • Reinforcement learning means learning from rewards and penalties, like a game score, instead of from an answer key.
  • Online means the model learns from fresh data. Cursor ships a new version to users, collects what they accept or reject, and trains again, about every 1.5 to 2 hours.
  • The result: 21% fewer suggestions, with a 28% higher accept rate. The Tab model handles over 400 million requests a day.
3 · Use it
Whether people accept or reject suggestions is the signal Tab learns from, and quiet moments are on purpose. Read each suggestion before you press Tab, and if it is wrong, just keep typing.
6 terms

Words to know

Code editor (IDE)
The app where you write and organise code. VS Code and Cursor are examples.
Tab completion
Cursor’s AI autocomplete. It suggests the next lines as you type and you press Tab to accept.
Agent
Cursor’s assistant that can plan, edit files and run commands to finish a task you describe.
Plan Mode
A mode where the Agent researches, asks questions and writes a plan, then waits for approval before coding.
Rules
Saved instructions (in .cursor/rules or AGENTS.md) that the Agent follows on every task.
Checkpoint
A snapshot the Agent saves before big changes so you can restore your files. Use git for permanent history.
1 video · plays here

Watch

Hand-picked from the people who explain this best. The video loads only when you press play.

Cursor 2.0 Tutorial for Beginners (Full Course)
Riley Brown · 151 min

A long build-along from November 2025. Watch the first 30 minutes for setup, Agent and Tab. Prices and plan names in it are now out of date.

Hands-on · 10 minutes or less

Try it

Build a to-do app in Cursor in 10 minutes

  1. 1Install Cursor, sign in, and open a new empty folder called todo-app.
  2. 2Open the Agent (Cmd/Ctrl + I), press Shift + Tab for Plan Mode, and type: "Build a to-do list web app in one index.html file. I can add, tick off and delete tasks, and they stay after a refresh. No frameworks."
  3. 3Answer its questions, read the plan, then approve it. Review the diff before accepting.
  4. 4Open index.html in your browser and test it. Then type a new CSS comment like /* make the buttons */ in the file and watch Tab suggest the rest.
  5. 5Ask the Agent: "Explain how this app saves my tasks, for a beginner." Then add a rule from this lesson and ask for one more feature.
Cursor quickstart
3 questions · instant feedback

Check yourself

Pick an answer to see if you are right, and why.

Question 1

Question 1 of 3

You are typing code and Cursor shows a grey suggestion. How do you accept all of it?

Question 2

Question 2 of 3

You want the Agent to ask questions and write a plan before changing anything. What do you turn on?

Question 3

Question 3 of 3

Where do Cursor project rules live?

Lesson 30 of 36

Done? Keep going

Mark this lesson complete to keep your place. Progress is saved on this device, no login.

Up next · Lesson 31 · 12 minOpenAI Codex for beginnersCodex is OpenAI’s coding agent. You give it a task in plain English, and it reads your code, makes changes, runs commands and shows you the result to review. It runs inside ChatGPT, as a desktop app, in code editors like VS Code and in the terminal, all signed in with your ChatGPT account.← Previous: Claude Code for beginners
People also ask

Questions people ask

Is Cursor free?

Yes, there is a Free plan with limited agent and chat requests. As of Nov 2026, paid plans are Plus ($8 a month, Grok models only), Premium ($30), Super ($100) and Ultra ($200). Third-party models like Claude and GPT start on Premium and are charged at API list price.

What is the difference between Cursor and VS Code?

Cursor is built on the VS Code codebase, so the layout, extensions and shortcuts feel the same. The difference is that Cursor builds AI into the editor: Tab predictions, an Agent that edits and runs code, Plan Mode and rules. You can import your VS Code setup in one click.

Can I use Claude or GPT models in Cursor?

As of Nov 2026, Cursor’s pricing page says the Plus plan includes only Grok models. Third-party models, such as Claude and GPT, are available from the Premium plan up and are billed at API list price.

11 sources · checked Nov 2026

Sources and further reading

Free · No signup to start

Going for an AI role? Practise the interview.

Talk to an AI interviewer about what you just learned and get feedback on every answer.

Start a free mock interview