Codex for Backend Engineering
26 hands-on guides: build an auction-house backend by directing the Codex coding agent
01. Introduction
One-time setup: install the tools, get the course repo, and create the practice folder that every later guide works in.
Start learning →02. Codex Overview
A guided tour of the Codex app: the parts of the window, the permission level, model, effort and speed settings, and the built-in terminal.
Start learning →03. Thinking Levels
The five effort levels and when each is worth its cost, custom instructions that save tokens, and a spend alert so your API bill never surprises you.
Start learning →04. Specifying a Tech Stack
Tour the course project: the folder layout, the stack and its parts, the Docker services and AGENTS.md, and why you choose the stack instead of the AI.
Start learning →05. Install Custom Skills
Your first real build: Codex creates a React site from nothing while you install the grilling skills used for the rest of the course.
Start learning →06. Browser Use & AGENTS.md
Let Codex open your site in a real Chrome window and click through it on its own, then generate an AGENTS.md file and trim it to the rules that matter.
Start learning →07. Create Auctions & Bids Site
Read the rules file that steers Codex, add the workshop project, and get Part 1 of the real auction app running locally.
Start learning →08. Plan Mode & Grilling
Try Codex's plan mode, let the grill skills interview you about auctions, bids and users, and approve the build slices.
Start learning →09. Auctions & Users
Review an agent's work while it writes it: the database migration, the API and its tests, and the design record, then send your first follow-up change.
Start learning →10. Bidding & Constraints
Build posting auctions and bids, learn to read and shrink the context window, and prove the bid rules yourself in two browser tabs.
Start learning →11. Understanding the Concurrency Problem
Find the race condition in the bid code, then have Codex prove it with a four-window Bidding War Playwright test before anyone fixes it.
Start learning →12. Concurrency Playwright Tests
Finish the Bidding War test and watch the race happen, while you practise steering Codex mid-run with stops, queued messages and screenshots.
Start learning →13. Create Plan for Fixing Concurrency
Start Part 3: get grilled on the concurrency rules, use a side chat for your own questions, and finish with a written plan and two proposed slices.
Start learning →14. Row Locking in PostgreSQL
Build one transaction and one row lock per auction, learn how SELECT ... FOR UPDATE works, and watch the duplicate bids disappear.
Start learning →15. Closing the Auction
Add an injected app clock so auctions end exactly on time, learn isolation levels in side chats, and run a fully protected bidding war.
Start learning →16. Code Reviews with Codex & Claude
Run Codex's built-in code review, read the P1/P2 findings and decide what to fix, then get an optional second opinion from Claude.
Start learning →17. Socket.io & Redis
Start Part 4: plan real-time bid updates with WebSockets and a Redis backplane, and compare grilling with Plan mode side by side.
Start learning →18. Implementing the Real-Time Updates
Question the architecture diagram, watch two browser windows update live without a reload, and fix the layout by showing Codex a screenshot.
Start learning →19. Finding a Concurrency Defect
A game: a strong model plants a subtle concurrency bug and deletes its tests, then a small model in a fresh chat tries to find it.
Start learning →20. Closing Auction Plan
Specify the architecture yourself: a close worker, RabbitMQ, a notification worker and a WebSocket popup, with an ADR for the transactional outbox.
Start learning →21. Messaging with RabbitMQ
Build the close worker with its transactional outbox and the RabbitMQ notification flow, ending with popups for the winner and the seller.
Start learning →22. Codex Goals
Put the workshop on GitHub and let a Codex /goal pull an issue, work in its own worktree and open a pull request, like an agent on a team's ticket queue.
Start learning →23. Stripe Checkout
Start Part 7: plan and build winner checkout through a mock Stripe service so the auction winner can pay.
Start learning →24. Reviewing the Pull Request
Review the pull request your goal opened, catch the test it skipped, pay for a won auction yourself, and learn to verify before you accept.
Start learning →25. Observability
Start Part 8: add OpenTelemetry tracing and Jaeger to the auction app with a single short grilling round, built as one slice.
Start learning →26. Observability with Jaeger
Read the traces in Jaeger, find an error span and its exception, and follow the winning bid's trace across three services.
Start learning →27. Course Overview & All Guides
The whole practice track on one page: what you build in each of the 8 parts, the prerequisites, and every guide with its step count.
Start learning →