L

Learn AI

Track progress · learn offline

Open

Lesson 5 of 6

Cursor vs Claude Code vs Codex vs Windsurf

7 min read

Four tools, four marketing pages, all promising to write your code. Under the hood, how different are they really?

The same engine underneath

Here's the reassuring part: they all run the same core you've now seen — index the repo, loop through read-plan-edit-run, call tools, react to results. None of them invented a new kind of magic. What differs is where they live, how much they do on their own, and which model drives the loop.

The core loop is shared across all of them. The differences are the surface — the interface, the autonomy, and the model — not the mechanism.

Where each one lives

The real axes to compare are interface (editor vs terminal vs cloud), autonomy (does it suggest one edit, or run for ten minutes on its own?), and the model underneath — which each tool lets you swap or pin. Pick the one whose home and autonomy match how you like to work, not the one with the loudest launch.

Choose on fit, not hype: the editor-vs-terminal home, how much autonomy you want, and which model you trust to drive the loop.

These tools change fast and copy each other's best ideas within months. Learn the shared loop and the axes — interface, autonomy, model — and you can size up whatever ships next without relearning from scratch.

So which should you use?

There's no single winner — it depends on your workflow. Prefer staying in an editor? Cursor or Windsurf. Live in the terminal and love the command line? Claude Code or Codex. The honest answer is to try two on the same real task and keep the one that fits your hands. The loop underneath is the same either way.

Under the hood, what's the biggest thing Cursor, Claude Code, Codex, and Windsurf have in common?

Continue in the app

Take the whole How AI Coding Agents Work course — tracked

Get your personalized path, progress and streaks in the app — this lesson and every next one, in order.