Skip to content
Agentic Levels
Start hereLevelsTracksPromptsAbout
Get my levelGet my level

  • Start hereYour first useful task with AI.
  • Level quiz8 questions. No AI needed.
  • Fluency ScoreYour Level and a score, from your own AI.

  • LevelsThe 11 levels, in order.
  • LessonsShort lessons, filter by level.
  • TracksGuided paths by tool, role or goal.
  • Set up your AI tool
  • Starter packFree files that help AI remember.

  • PromptsReady prompts to copy and adapt.
  • ChatGPT vs Claude vs GeminiPick the right one for the job.
  • How-tos
  • ReferenceCommands for Claude Code, Codex, Antigravity.
  • ResourcesHand-picked reading and tools.

  • Your progress
  • Your next moveAn interview that picks your next skill.
  • Your next lessonsThe next lessons at your level.
  • Updates

  • Pricing
  • About
  • FAQ & Feedback
  • Work with us
  • How we handle your data
Sign inPreferences
AboutPricingHow-tosPromptsStarter packMy stackHow we handle your data

© 2026 Fuentes Studio

PrivacyTermsRefundsAccessibilityAI content policyCredits
yourCouncil
Ready to help
✦

What do you want to understand?

Ask anything about what you're learning.

←Codex Fundamentals
  1. Tracks
  2. ›Codex Fundamentals: Module 1
  3. ›Choose the right Codex surface
2

Level 2 · Lesson 1 of 12 · Free

Choose the right Codex surface

App, CLI, IDE, web, or mobile control, and how to sign in

After this, you'll be able to sign in to Codex on the surface you pick, choose between a personal and a work account, and explain when to use the app, CLI, IDE extension, web/cloud, or mobile remote control.

The idea

Pick the wrong Codex surface and you fight the tool all day.

  1. You describe the change
  2. Codex reads files
  3. Codex edits them
  4. Codex shows what it didYou review it
You describe it. Codex works in your files.

Worked example

Before and after

Before: Fix my flower shop site (no surface, no proof). After: I'm in the Codex app. Add a Wedding flowers page, preview it in the in-app browser, and show me the diff before you commit anything.

What the AI might say

This needs a browser check and a diff review, so the app fits. I'll build the page, open it in the in-app browser, and show you the diff.

Why it works

The After names the surface and the proof you want. Codex can match the job to the door.

Never written code? You don't need to. You describe the change, Codex makes it, and this track teaches you to check it.

Five surfaces, one agent

Codex is one coding agent (an AI helper that takes steps on its own) that works from five surfaces. The right surface depends on where the code lives and how much review you want.

Surface MapUse the Ready lane when The selected surface can access the code.
ReadyNeeds work
Job fit
The selected surface can access the codeThe task is still vague
Proof
The selected surface can run or collect the needed proofThe result is assumed
Risk
LowBreaks when the chosen surface cannot see the code or cannot run the proof command
Next move
ContinueClarify first

Use Ready only when the proof is visible.

Which surface to pick

Use the app for chats and diffs (before-and-after lists of changed lines), with a browser preview built in. Use the CLI (Codex in a text-only command window) when you live in the terminal. Use the IDE extension (Codex inside a code editor) when you want Codex reading the files already open beside you.

Where you sit, where it runs

Where you sit and where the code runs are separate choices. App, CLI, IDE, web, and mobile are where you sit. Local (your own computer), a worktree (a separate copy of the project), or the cloud (OpenAI's computers) is where the code actually runs, and app, CLI, web, or mobile can all point at a cloud environment (a saved setup for running your project).

Use web to start or check a cloud task from a browser. Use mobile remote control when a host (the computer running the task) is already running, or to start a cloud task away from your desk.

Avoid the habit

The mistake is picking a surface out of habit. A one-file fix is CLI or IDE work, and a feature needing a browser check and staged commits (changes you picked for the next saved snapshot) belongs in the app. A long job can run in the cloud, if your plan includes it and that environment is ready.

In Claude Code and Antigravity: Claude Code is one agent behind a terminal, a desktop app, editor extensions, the web and a phone app. Run claude in a project folder and log in with a Claude plan. Antigravity has a desktop app and a command line tool, and you sign in with a Google account.

Set up Codex

Skip this block if Codex already opens on your computer and you are signed in. Menu names can shift when the app updates, so look for the closest match.

  1. What Codex is. Codex is OpenAI's AI helper that reads and changes the files of a software project for you. You describe the change in plain words, and it shows you what it did.
  2. Install the app. Download the ChatGPT desktop app from chatgpt.com/download (Mac, Windows and Linux) and open it.
  3. Sign in. On the signed-out screen, select Continue to sign in with your ChatGPT account.

No account yet? Sign up free at chatgpt.com first.

  1. Make a practice folder. On your computer, create a new folder called codex-practice. Put one tiny file in it, such as hello.txt with one sentence inside.
  2. Open it in Codex. In the ChatGPT app, look for the switch above the message box that toggles between Chat and Work, and pick Work.

On your first message the app asks you to choose ChatGPT or Codex, so choose Codex. Start a new chat, choose Choose project at the bottom of the message box, and pick codex-practice. Once it shows under the message box, you are in Codex. Ask: What is in this folder?

If Codex names hello.txt, it can see your folder. If not, pick codex-practice itself, not the folder around it.

  1. Turn the folder into a Git project. Git is a tool that keeps a saved history of a project, so you can see what changed and undo it.

Ask Codex: Is Git installed on this computer? Then turn this folder into a Git project and tell me its status. The app may offer to do this for you, so say yes, and approve once if it asks.

If Git is missing: on a Mac, a box may pop up offering to install command line developer tools, so click Install. On Windows, download Git for Windows from git-scm.com and click Next through the installer. Then ask Codex again.

On Linux, ask Codex which install command your system uses, and approve it once.

Later lessons on changes and snapshots need step 6.

Sign in on each surface. One ChatGPT account works everywhere, but each surface starts sign-in in a different place.

  • App: Continue to sign in.
  • Terminal version (CLI): run codex login and choose Sign in with ChatGPT.
  • IDE extension: Sign in with ChatGPT.
  • Cloud: ChatGPT sign-in only.

Personal or work account? Sign in with the account that owns the work. Your own projects belong on your personal plan.

A company project belongs on your work account, often a workspace: a Business or Enterprise team account run by an admin who sets rules for everyone.

Not sure which one you are using? Open the profile menu in the app, or run codex login status in the terminal version. If you are practicing, use your personal account, and ask your admin before you open a work project.

The other path is an API key. The app calls it Sign in another way, and the IDE extension calls it Use API Key. An API key is a long secret password that lets a program bill your OpenAI developer account.

Usage then bills at developer rates instead of your plan, and it has no cloud features. You don't need one for this track, and you never paste one into a chat.

Signing out. In the terminal version run codex logout, and in the app choose Log out from the profile menu.

Codex may store your sign-in in a file called auth.json inside a hidden .codex folder on your computer. Treat that file like a password and never share it.

Check your plan before you pick a door. Free and Go (Go is a low-cost paid ChatGPT plan) include Codex in the desktop app, which is all this track needs.

The command line, the editor extension and cloud are listed under paid plans such as Plus on OpenAI's pricing page. Limits change often, so check the page first.

Later lessons use the built-in browser, plugins, subagents, goal mode and phone control. OpenAI's pages do not say which plans get each one. If a button is missing, check your plan on that pricing page, and treat the step as optional.

Other ways to use Codex (only if you use them). Any later step that needs one says "only if you use it."

  • Command line (CLI): Codex inside a terminal window. The install guide is under Go deeper.
  • IDE extension: Codex inside a code editor such as VS Code. The guide is under Go deeper.
  • Cloud (Codex on the web): tasks that run on OpenAI's computers while yours is off. For your own projects, you connect a GitHub or GitLab account when you create a cloud environment (the saved setup Codex uses).
  • Phone remote control: steering the app from the ChatGPT phone app. Lesson 12 sets it up.

Words you'll meet

  • A surface is the place you talk to Codex.
  • The terminal (also called the command line, or CLI) is a text-only window where you type commands instead of clicking.
  • An IDE is the program coders use to edit code, such as VS Code, and the IDE extension adds Codex to it.
  • A repo (short for repository) is the folder that holds a project's files and their saved history.
  • A commit is a saved snapshot of that history, and to stage a change is to pick it for the next snapshot.
  • A diff is a before-and-after list of exactly which lines changed.
  • A thread is one conversation with Codex about one task, and the app calls it a chat.
  • A worktree is a separate copy of the project, so Codex's changes don't mix with yours. Local means on your own computer, and cloud means on OpenAI's computers, where a cloud environment is the saved setup Codex uses to run your project.
  • A host is the computer where Codex is running a task, and mobile remote control means steering it from the ChatGPT phone app.
  • A dev server runs your site on your own computer so you can preview it, and a test is an automatic check that something still works.
  • A PR (pull request) is a proposed change that other people review before it is accepted.
  • A secret is a password or key a project needs.
  • An approval is Codex asking your permission before it does something risky.
  • A plugin is an add-on bundle that gives Codex extra skills and connections to other apps.

Pick the smallest surface that can touch the code and show you proof.

  1. You describe the change
  2. Codex reads files
  3. Codex edits them
  4. Codex shows what it didYou review it
You describe it. Codex works in your files.

Try it (10 min)

Paste this into Codex

Task: [name one change you'd like made, or use your practice folder: add a second sentence to hello.txt]
Repo location: [on my computer, GitHub (a website that stores repos), cloud environment, unknown]
Review needed: [diff only, browser preview, tests, PR comments, mobile approval]
Risk: [low, medium, high]
Account I'm signed in with: [personal, work, unknown]

Choose the best Codex surface: app, CLI, IDE extension, web/cloud, or mobile remote control. Give me the reason, the first step I should take in plain words, what proof I should require before accepting the work, and whether my account fits this work.

What a good response looks like

Use the Codex app. Your task is a new Wedding flowers page, which people will see and click, so you want a browser preview and a diff (the list of changed lines) before anything is saved. The code is on your computer, which the app can open directly, and the risk is low. First step: choose Choose project, pick your flower shop folder, and start a new chat. Proof to require: the page open in the in-app browser, plus the diff, with only the files you expect. Stage only what you accept. Account: this is your own shop, so your personal ChatGPT account fits. If the repo belonged to an employer, check with your admin first. Skip cloud for now. It needs a paid plan and a prepared environment, and a one-page change does not need it.

Check yours against

  • The selected surface can access the code (in the app, your project's name shows under Projects)
  • The answer says what proof you will look at, such as a diff or a preview
  • The answer names the review step before acceptance
  • The answer does not choose every surface at once
  • The answer says whether your personal or work account fits the work
  • Starting in cloud when the task depends on secrets or saved data that exist only on your computer.
  • Starting in CLI when the task needs visual review and you do not have a browser proof step.
  • Starting on mobile before a host is connected and running.
  • Signing in with a work account to try something personal, or the reverse.
  • Treating Codex web, app, IDE, and CLI as separate products with separate instructions.

When this breaks

  • Breaks when the chosen surface cannot see the code or cannot run the proof command.
  • Breaks when the task moves to cloud without a prepared environment, so Codex spends the run recreating setup instead of finishing the work.
  • Breaks when the account does not match who owns the work, so the wrong rules and the wrong bill apply.

AI can help with this

Use Codex to help you sign in to Codex on the surface you pick, choose between a personal and a work account, and explain when to use the app, CLI, IDE extension, web/cloud, or mobile remote control. Start with the exercise prompt and your real input. Ask for one draft, then check it against this proof: The selected surface can access the code (in the app, your project's name shows under Projects). Accept only the version you can verify yourself.

You can now

✓

You can sign in on the surface you picked and say which account it uses

  • ✓You can name the Codex app, CLI, IDE, web, and mobile roles
  • ✓You can match a task to one starting surface
  • ✓You can name local versus cloud tradeoffs
  • ✓You can require proof before accepting a change

Try it from memory

Pulling this out of your own head now is the part that actually moves it into long-term memory. Re-reading only feels like it does.

Without scrolling up, pick one task from your own work that Codex could do. Write which Codex surface you'd start in and what that surface has to be able to do for the task.

One good answer: 'Fix the wrong date on my gym's booking page. The Codex app, because it can open the project, run the test and show me the changes before I accept them.' If your reason is what the surface can touch, run and show, not which one sounds newest, you've got it.

Key takeaways

Pick the surface from the task, and sign in with the account that owns the work. The right Codex surface is the one that can touch the repo, run the proof, and show you the diff.

  1. 1Codex app is strongest when review, worktrees, terminal actions, browser checks, and plugins belong together.
  2. 2CLI and IDE are local-first surfaces for repo work close to your editor or terminal.
  3. 3Codex web is for delegated cloud work after the environment is ready.
  4. 4Mobile remote control is for steering and approving work on a connected host.
  5. 5Sign in with the account that owns the work. An API key bills differently and never goes in a chat.

Go deeper

  • Codex overviewdevelopers.openai.com (opens in a new tab) ↗
  • Codex applearn.chatgpt.com (opens in a new tab) ↗
  • Sign in to Codexlearn.chatgpt.com (opens in a new tab) ↗
  • Codex CLIlearn.chatgpt.com (opens in a new tab) ↗
  • Codex IDE extension (setup)learn.chatgpt.com (opens in a new tab) ↗
  • Codex Cloud (setup)learn.chatgpt.com (opens in a new tab) ↗
  • Which plans include whatlearn.chatgpt.com (opens in a new tab) ↗
Up nextWrite a task brief Codex can finish→

Was this helpful?

Related lessons

Know when a website job leaves the chatThinking in Agentic Sessions
← Back to Codex Fundamentals