In the simplest incarnation I’m just using the built into the agent cli parm’s that trigger non-tui behavior (for instance calling codex exec instead of just codex).