App Mastery
Multi-project orchestration, worktree management, automations, and the full desktop experience.
You have five Codex threads running simultaneously, each in its own worktree, while an automation silently triages overnight Sentry alerts into your inbox. Your CI pipeline catches regressions before they hit main because a GitHub Action runs codex exec on every push. This is not a hypothetical — it is what a well-tuned Codex setup looks like after you graduate from single-thread usage.
Codex is not one tool. It is four surfaces — App, CLI, IDE Extension, and Cloud — backed by a shared configuration layer and the same GPT-5.3-Codex model. The advanced techniques in this section exploit the seams between these surfaces: spinning up cloud tasks from Slack, syncing worktree results back to your IDE, driving headless pipelines from codex exec, and building custom tooling with the SDK.
App Mastery
Multi-project orchestration, worktree management, automations, and the full desktop experience.
Cloud and Best-of-N
Remote execution environments, container caching, internet access policies, and parallel attempt strategies.
SDK and Headless Mode
Building custom integrations with the TypeScript SDK, codex exec for CI, and structured JSON output.
Integrations and Governance
Slack and Linear workflows, GitHub Actions, enterprise admin controls, RBAC, and compliance APIs.
These articles assume you are comfortable with:
Run three worktree threads in parallel on the same project — one for a feature, one for a bug fix, one for test coverage — and merge them independently.
Schedule a nightly automation that scans your telemetry for new errors and submits fix PRs before you wake up.
Wire codex exec into GitHub Actions so every failed CI run gets an automatic fix proposal within minutes.
Use the SDK to build an internal dashboard that lets your team trigger Codex tasks from a web UI and track results.
Configure enterprise governance with requirements.toml, RBAC roles, and the Compliance API so security reviews pass without blocking developers.
App Mastery
Worktrees
Cloud Environments
Automations
Codex SDK
Non-Interactive Mode
GitHub Action
Slack and Linear
Enterprise Governance
Cost Management