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_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This is supported already. Please refer to this documentation.