Custom and persistent subagents.

Resolved 💬 2 comments Opened Mar 28, 2026 by Marcelo-Henry Closed Mar 28, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

Codex CLI and IDE

What feature would you like to see?

It would be nice if we could create our own subagents just by creating the .codex/subagents folder globally (~/.codex) or in the folder where the terminal is open. That way, we wouldn't need to ask Codex to create a subagent that will only work in that session. I was inspired by Claude Code and Kiro-CLI to open this issue. Thanks for your attention!

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #15250
  • #15345
  • #14579
  • #16101

Powered by Codex Action

etraut-openai contributor · 5 months ago

This is supported already. Please refer to this documentation.