Codex
Every lesson in the game, by town, quarter and street. Reading is optional and always free.
Building LLM Apps
LLM APIs and SDKs
Your first API call
Streaming responses
Structured outputs
Tool (function) calling
Files, PDFs and images
Errors, rate limits and retries
Cost control
Gateways and multi-provider
Batch and async jobs
Keys and per-user limits
LLM features in the frontend
Reasoning models and thinking controls
Provider-hosted tools
Retrieval and knowledge (RAG)
When RAG, and when not
Parsing and chunking for retrieval
Embedding models
Vector search
Hybrid search and reranking
Query rewriting and routing
Grounded answers with citations
Agentic retrieval
Evaluating retrieval
Securing RAG: permissions, injection and poisoning
Ingestion pipelines and index freshness
Retrieval over structured data and graphs
Evals and quality
Why evals beat vibe checks
Error analysis on LLM traces
Building eval datasets
Code-based graders
LLM-as-judge: grading outputs with a model
Human review of AI outputs
Evaluating AI agents
Regression evals in CI
Online evaluation in production
Testing non-deterministic outputs
Statistics for eval results
Testing your AI assistants without code
Running LLM features in production
Tracing and observability for LLM features
Cost and latency budgets
Caching strategies for LLM apps
Guardrails for LLM features
Prompt and model versioning
Reliability patterns for LLM calls
Releasing LLM features
The data flywheel for LLM features
Incident response for LLM features
Capacity, rate limits and throughput
Voice, vision and realtime apps
Speech to text and back
Realtime voice agents
Vision apps
Image generation in products
Video understanding
Phone agents
Conversation design for voice agents
Testing voice and vision apps