AI Learning Hub › Learn AI › Self-Paced Courses › Codex Without the Code
Course · Beginner to expert
Codex Without the Code
A beginner-to-expert guide for the SLS community
First, ignore the “Code” in Codex.
Codex is built to work with code. That does not mean you need to know how to code before you can use it.
Codex works with actual files. Give it a project folder and it can inspect the files inside it, explain how they work together, create new files, edit existing ones, run appropriate commands, and check its work. You describe what you want in ordinary language and review what Codex does.
OpenAI describes Codex as a coding agent. You may also hear informal phrases such as vibe coding for building by describing an outcome to AI. This tutorial takes a more deliberate approach: describe the outcome, inspect the work, make changes, and verify the result. The code is often what Codex works with; it does not have to be what you work with.
You describe the outcome. Codex proposes the technical steps. You review what changed.
The skill to develop is not “How do I write this code?” It is: “Can I clearly describe what I want, give Codex the right context, and evaluate what it did?” That is what this tutorial teaches, across ten modules that each introduce only the vocabulary the next step needs.
Format
Ten modules and a capstone, each on its own page, plus a glossary and the Stanford guidance.
Time
Start with the first three modules in about 60–90 minutes. Continue as far as your interests take you.
Written for
Students, faculty, and staff at Stanford Law School. No programming background is assumed.
What you need
The Codex desktop app and the practice project below. No GitHub account to begin: Git and GitHub arrive in Module 5.
Course path Beginner Builder Supervisor
The rule throughout: Describe → inspect → change → verify. Do not jump directly from an idea to publishing something consequential.
For SLS work, pause before you begin. Do not provide sensitive or confidential information unless the tool and use are authorized. Students: check your course policy first. Before You Use Codex for SLS Work links to the current Stanford and SLS sources.
Codex changes quickly. Interface labels and available features may differ by account or workspace. The concepts in this tutorial are designed to remain useful even as the interface evolves.
Before you begin
Get the practice project
For the first few modules, we will all use the same small practice project. This gives you something safe to inspect and change without requiring GitHub or asking you to build something from scratch.
- Download the practice project. Download the ZIP file below.
- Unzip it. Your computer will create a folder named
codex-practice. Move it somewhere easy to find, such as your Documents folder or Desktop. - Do not edit anything yet. In Module 1, you will give Codex access to this folder and ask it to explain what is inside.
No GitHub account, installation process, or programming setup is required.
The course
-
Module 01 · Beginner
Open a Project and Look Around
Open a folder as a Codex project and ask it to explain what is there without changing anything, separating understanding from action.
Start module -
Module 02 · Beginner
Change One Thing
Request one small visible edit, find the file Codex changed, read the before-and-after diff, and confirm nothing else moved.
Start module -
Module 03 · Beginner
Direct the Work
Turn a vague request into a bounded assignment: describe the result rather than the code, and say what Codex must preserve.
Start module -
Module 04 · Beginner
Plan → Build → Check
Ask for a plan before any change, approve it with boundaries, then ask for evidence the result works and judge it yourself.
Start module -
Module 05 · Builder
Git & GitHub Without Fear
Give a project a change history, make a commit, work on a branch, merge it back, and see where a pull request fits.
Start module -
Module 06 · Builder
Build Something New
Describe a small interface in ordinary language, let Codex choose the implementation, then evaluate the prototype as a first-time user.
Start module -
Module 07 · Builder
Look Behind the Curtain
Meet the developer tools Codex uses, ask what a command will do before it runs, and tell inspection apart from action.
Start module -
Module 08 · Supervisor
Understand the Agent
What separates an agent from a chatbot reply: the environment it works in, the tools it reaches for, and the permissions it holds.
Start module -
Module 09 · Supervisor
Teach Codex How You Work
Move standing expectations out of every prompt and into the project itself with AGENTS.md, then check that Codex reads it.
Start module -
Module 10 · Supervisor
Work Like a Supervisor
Run work in parallel without letting it collide, compare results before keeping one, and hold release decisions with a person.
Start module