Hacking Subagents Into Codex CLI — Brian John, Betterup
This talk explores a method for integrating sub-agents into the CodeX CLI, enabling users to leverage existing workflows with alternative tools. The core idea is to create a wrapper script that manages the execution of child CodeX processes as sub-agents, allowing them to perform tasks and return results to the parent session. This approach aims to overcome the limitations of being locked into a single tool or model family while retaining the benefits of sub-agent context management.
Code 2025 14 min