Skip to content

Allow hiding subagent activity in the Codex CLI transcript #62999

Open

Description

@Masterxilo

What variant of Codex are you using?

CLI (v0.171.0)

What feature would you like to see?

When Codex delegates work, the CLI still prints individual subagent status rows even with collapse_turn_details = true. Ordinary tool calls fold, but Started, Interacted with, and Completed stay in the conversation. These are details of how Codex coordinates its subagent tools. They make it harder to find my prompt and the assistant’s reply.

Please let us fold routine subagent activity while Codex is working and when the turn has finished. Expanding the activity can still show the events.

Example from Codex CLI v0.171.0

In this exchange, two subagents produced five status rows: two starts, one interaction, and two completions.

>_ OpenAI Codex (v0.171.0)
     ~\OneDrive\paul-stream
• Voice conversation started. Use /voice mute to mute or /voice to stop.

Set power mode to low and open the typing drill on the A Y Z ASCII character set that we used to train on

Got it, I'll take care of it.
• Started `/root/power`
• Started `/root/drill`
• Interacted with `/root/drill`
  Worked for 34s • 15:03
The earlier sessions identify the exact preset as ascii.printable.short.2.yz. The timed drill is opening with that preset.
• Completed `/root/power`
• Completed `/root/drill`

The screenshots show the same exchange with Ran 2 commands collapsed and expanded. Only the two shell commands fold. All five subagent rows remain visible in both views. The CLI marks my prompt with › and uses • for both assistant replies and subagent activity. That makes it hard to tell who said what or where one turn ends and the next begins. Clearer speaker labels and turn boundaries would also help here, but the main point is getting rid of the Started/Interacted/Completed subagent noise.

The same Codex CLI exchange with “Ran 2 commands” collapsed above and expanded below

Possible implementation

In v0.171.0, the CLI renders Started, Interacted with, and Completed as clickable SubAgentActivity rows. The turn-folding code groups ordinary tool rows by their tool-call labels. Subagent rows don’t provide those labels. Subagent renderer · Turn-detail folding

One approach would be to include these rows in the same expandable group as ordinary tool calls. A dedicated setting such as hide_subagent_activity under [tui] would also let users fold subagent events independently of command output.

Relates to

See also #44827 — repeated subagent lifecycle states.

Additional information

No response

Activity

  1. added
    enhancement
    on Nov 21, 2026
  2. added
    CLI
    subagent
    TUI
    on Nov 21, 2026
  3. Masterxilo commented on Nov 23, 2026

    @Masterxilo
    Author

    Further illustration, I told codex to run things in subagents whenever parallelizeable, which can indeed speed things up, but currently at the cost of all this clutter which I would expect to be hidden under that collapsed "worked for" banner instead

    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLITUIenhancementsubagent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions