← Browse

Code 2025

Hacking Subagents Into Codex CLI — Brian John, Betterup

Brian John , Betterup

Overview

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.

Who should watch

Key takeaways

Notable quotes

*The main agent can give a problem to a sub agent. It can go off, do its work, use its tokens, and pass just the answer back to the main agent.*
*Figuring out the minimum required permissions is probably the hardest part about this.*
*Lower risk does not mean no risk. So your mileage may vary here. You need to make your own determination on if this is something you feel comfortable with.*

Watch on YouTube →

Unofficial community note. Prefer the recording for nuance.