Use subagents and custom agents in Codex

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Subagents are now generally available in OpenAI Codex, making the parallel-agent pattern standard across all major coding tools, so engineers can orchestrate named custom agents in one more platform.

Read this as

OpenAI's Codex, a coding assistant, has released a feature called subagents after weeks of testing. Subagents are smaller helper programs the main assistant can delegate tasks to, such as exploring code, running small tasks in parallel, or fixing bugs. Developers can also write their own custom agents as simple configuration files and assign them specific AI models. The pattern is now supported by most competing coding tools, including Claude Code and Cursor.

OpenAI has moved subagents in Codex to general availability, matching a pattern already offered by Claude Code, Cursor, Gemini CLI and VS Code, so it is competitive catch-up rather than a differentiator. Teams standardising on Codex can now define custom agents as TOML files and assign them specific models, including the fast gpt-5.3-codex-spark. No pricing or performance figures are given. The main gain is workflow parity for developers already using subagents elsewhere.

Codex subagents are now GA after weeks behind a feature flag, mirroring Claude Code's implementation with three default agents: explorer, worker and default. Willison notes worker versus default is unclear, but an example suggests worker handles many small parallel tasks (e.g. CSV processing). Custom agents are TOML files in ~/.codex/agents/ with custom instructions and model assignment, including gpt-5.3-codex-spark, and can be invoked by name in prompts. No benchmarks are provided.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

OpenAI Codex Claude Code Gemini CLI Cursor OpenCode Mistral Vibe gpt-5.3-codex-spark

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading