Vibe Coder · Unit 4: ChatGPT for Your Work · Lesson 5 of 10

Codex

Codex is OpenAI’s coding agent. It reads a codebase, makes changes and proposes them for you to review, like Claude Code.

Read the short notes and pictures.Do everything inside a blue frame.

A second coding agent

Codex does for OpenAI what Claude Code does for Anthropic: it is an agent that works on real code. You describe a change, and it reads the project, edits files, runs the result and reports back. It is worth knowing both, because being able to compare two agents on the same task makes you better at judging either.

A 3D scene of coloured blocks and cards. What it does: reads the code, changes it, runs it.
Codex reads the code, changes it and runs it.

How you work with it

  1. Connect your code

    Point it at a repository on GitHub, or run it in a project folder.

  2. Describe one task

    "Add a contact form to the home page that emails me."

  3. Read what it did

    It lists the files it changed and why.

  4. Keep or reject

    Nothing is final until you accept it.

A 3D scene of coloured blocks and cards. Where it runs: the cloud, your terminal, your editor.
It runs in the cloud, the terminal and the editor.

When to reach for it

A second attempt

Claude Code is stuck on a bug. Give the same bug to Codex.

A review

Ask one agent to review what the other wrote.

Parallel work

Hand off a separate task while you keep building.

ActivityBuild stepA brand kit and research file

Note where Codex will help

Open Codex in ChatGPT and look at how a task is given and how results come back. In "My build", write one task from your product that you would give to a coding agent, in two or three clear sentences.

Done when

That task is the first thing you will build in Unit 8.

Keep these

  • Codex is OpenAI’s coding agent.
  • It reads, changes and runs code from a plain description.
  • You review and accept or reject its changes.
  • Using two agents lets you compare and cross-check.