Get your API key

Lesson 4 of 5

Run a coding agent in VS Code

Use Claude Code, Codex or OpenCode in the terminal or as an extension, and approve edits one by one.

8 min Log in to open
One step at a time, like flipping pages.

By the end of this lesson you will run a coding agent inside VS Code, either in the terminal or as an extension panel, and approve or reject its edits one by one.

You need: VS Code with your project open, and a coding agent set up with an API key (Claude Code guide, Codex guide or OpenCode guide) · Time: 8 minutes

    • In the built-in terminal: you type the agent's name (claude, codex or opencode) and chat with it in the terminal. Works with every agent, nothing extra to install.
    • As an extension panel: the agent gets its own panel (usually in the Secondary Side Bar) and shows its edits as diffs in the editor. Claude Code and Codex both have official VS Code extensions.

    Either way it works in the project folder you opened, sees the same files, and asks before risky steps.

    Why?

    Running the agent inside VS Code puts its work and your files on one screen. You see each file change the moment it happens, instead of discovering it later.

Log in free to read the rest of this lesson

Every lesson is free. A free account unlocks all of them and saves your progress.

Still to come in this lesson:

  1. In the terminal
  2. As an extension
  3. Approve edits one by one
  4. A safe first session
  5. Recap