Skip to content

Stream Codex CLI "thinking" process in real time (like VS Code extension does) #5339

Closed

Description

@BobbyWang0120

What feature would you like to see?

When using the Codex CLI, I noticed that during a multi-step "thinking" process (for example, 4–5 reasoning passes), it only outputs all intermediate thinking content after the last step, just before taking a tool action. This gives users a sense of slowness, as there's no feedback until all steps are complete.

In contrast, the VS Code extension streams each thinking block to the UI, showing the first, then the second, and so on—without waiting for the entire "thinking" phase to be done. This makes the process feel faster and gives users more engagement and transparency about what Codex is working on.

I'd like the CLI experience to mirror this: output each thinking block as soon as possible, "streaming" progress just as the VS Code extension does.

Moreover, this approach gives users a greater sense of participation, instead of waiting for all thinking content to finish and then displaying it at once.

Additional information

Platform: macOS
CLI version: codex-cli 0.47.0
The VS Code extension provides a much better UX by streaming, and many users would benefit from a more responsive CLI experience too.

Activity

  1. added
    enhancement
    on Oct 19, 2025
  2. github-actions commented on Oct 19, 2025

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. jmalmo commented on Oct 30, 2025

    @jmalmo
    Contributor

    I've prototyped a fix that streams reasoning (“thinking”) live in the TUI: #6006

    1. Before:

    codex-gif-buffer1

    1. After (flag on): reasoning trickles in live

    codex-gif-streaming1

  4. added
    CLI
    on Nov 15, 2025
  5. added
    TUI
    and removed
    CLI
    on Feb 4, 2026
  6. etraut-openai commented on Sep 22, 2026

    @etraut-openai
    Contributor

    This is implemented in the next release (0.156.0).

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

    TUIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions