What is Codex, really?
Welcome to Codex · lesson 2 of 12
Codex is the coding agent made by OpenAI, the company behind ChatGPT.
What’s an agent?
An agent is an AI that doesn’t stop at an answer: it takes concrete steps.
- it opens files - it writes code - it runs commands (written instructions for the computer) - it checks what came out
So it’s just another ChatGPT?
Not quite: it’s made by the same company, but it works directly in your files.
What’s code, exactly?
Code is the text of instructions an app is made of.
You don’t have to write it, or understand it line by line. You describe the result, Codex does the work, and you check it.
How’s it different from a chat?
In a chat you get an answer and copy what you need yourself.
With Codex you pick a folder on your computer, and it works right there.
Show me the difference
A chat tells you how it could be done. Codex actually does it, then shows you what it changed.
Switch between the two versions:
Like a chat
> how do I make a page with my subscriptions?
● Here’s some example code. Copy it into a file called index.html…
⎿ You get a block of code that you save by hand
= The work stays with you: you copy, save, open and fix it yourself.
---
With Codex
> Make me a page with my subscriptions and the monthly total.
● I’m creating index.html in the project folder with 5 examples…
⎿ Created index.html. Monthly total: €62.
= Codex works directly in your folder. You just check the result.
So what do I tell Codex?
You don’t ask “how do I?”. You tell it the result you want, with your own details, and it builds it in your folder.
Now you try.