Use subagents and custom agents in Codex1. Subagents are now generally available in Codex, after previously being introduced as an experimental feature called “multi-agents”.

In short, you can ask Codex to spawn subagents that run in parallel with one another and with the main agent. They use their own context windows and report back to the main agent when they are done. Subagents can have their own models and instructions. There are built-in agents like explorer, and you can define your own ones with TOML configuration files under .codex/agents.

One fun detail is that Codex picks a random nickname for each subagent. My first try gave me an explorer subagent called “Galileo”.

Galileo explored the repo for my websitesGalileo explored the repo for my websites

I first learned about subagents through Amp, which ships several curated custom agents like Oracle and Librarian. What I like about Amp’s approach is that it presents subagents as recommended workflows, not just as a feature to try on your own. By pairing carefully designed agents with specific models and tools, it also shows how subagents fit into everyday work. That has been a consistent strength of Amp: it tends to package what it sees as the current best practice, and that is also where I first started to understand the idea of subagents.

Here are other comments on this Codex release:

Now that major coding agents like Claude Code, OpenCode, and Cursor all support subagents in broadly similar ways, will subagents become a standard, like skills?

  1. Post on X by OpenAI Developers

#49 Link Mar 17, 2026