Description
What variant of Codex are you using?
CLI
What feature would you like to see?
Problem
The TUI transcript can become dominated by tool-call cells during long sessions. This makes the conversation hard to scan when the user mainly wants reasoning summaries and final answers.
Proposal
Add an opt-in TUI setting:
[tui]
hide_tool_activity = trueWhen enabled, Codex hides agent tool activity from the TUI transcript while preserving reasoning summaries, final assistant answers, approvals, and user shell commands.
Also add a live slash command:
/tool-activitytoggles the setting for the current session./tool-activity hide/tool-activity show/tool-activity toggle/tool-activity status
How it works
The setting only changes what the TUI adds to the visible transcript. Tool calls still run normally, approvals still appear when needed, and user shell commands remain visible. When hiding is enabled, Codex skips inserting agent tool-history cells for exec, MCP, web search, image, patch, and collaboration tool events, while continuing to render reasoning summaries and final assistant messages.
Prototype
I tested a local prototype on Windows against rust-v0.128.0.
Covered behavior:
- config TOML deserializes the new setting
- hidden tool activity does not insert transcript cells
- reasoning summaries and final answers remain visible
- slash command toggles the behavior without sending a core op
- slash-command parsing and recall behavior follow existing patterns
Tests
Focused tests used in the prototype:
cargo test -p codex-core config_toml_deserializes_tui_hide_tool_activity
cargo test -p codex-tui hide_tool_activity_keeps_reasoning_and_answer_visible
cargo test -p codex-tui slash_tool_activity
cargo test -p codex-tui slash_commandAdditional information
I realised this implementation locally with codex itself and it showed significant visual clarity improvements.

Activity
maddada commentedon May 7, 2026
Agreed, the transcript gets huge and can't scroll through it easily.
My fix is to have hotkeys to toggle between states, I added it in my own fork before and it worked well.
Btw, do you use transcript mode (ctrl + t) or just scroll in the main scroll back?
NN1985 commentedon May 12, 2026
Will this be merged?
abhirvjatar commentedon Jun 25, 2026
It's astounding this still hasn't been implemented yet, as such an important feature.
StarkBotha commentedon Jul 14, 2026
+1 please
ninoz commentedon Jul 31, 2026
+1 please :)
Skandesh commentedon Aug 5, 2026
+1 please @Timandilu raised a PR for this??
nisimdottech commentedon Aug 6, 2026
Can't see the forest for the trees.
This simply must be added.
9 remaining items
atrofimov-sc commentedon Oct 16, 2026
This is really hurting codex when compared to other harnesses because they have a conversation mode, but codex cli doesn't. This makes very hard to adopt as the default because for any non-trivial work it's impossible to follow the conversation.
Masterxilo commentedon Oct 28, 2026
any progress on this? what we basically want is just that intermediate work and messages can be collapsed like the desktop app already does thanks!
collapsed:



expanded:
even more expanded:
the GPT-6 model agrees the CLI needs more collapsing, it should get a vote ;) :

btw. I think these two request almost the same: #18396 #21252
andrewcamerongraham commentedon Oct 29, 2026
It's subjective, and thats true about the details of how it might be implemented, but the need to be able to see prose above execution not getting lost is why Claude's TUI is better as an orchestrator, something I'd happily see disrupted.
Even though I prefer Sol models which I use as much as possible, the only thing that keeps claude as my orchestrator is because important messages are not lost in a stream of execution as aggressively.
oren-hecht commentedon Nov 2, 2026
+1 to this! it is a huge annoyance and should be really simple to fix! there is clearly a lot of interest here..
Masterxilo commentedon Nov 6, 2026
GitHub Copilot CLI has the same issue: github/copilot-cli#4995
dnesh-g commentedon Nov 18, 2026
+1 its a lot of clutter in some cases. Having this fixed would be great given the repeated ask and interest on this enh.
hktonylee commentedon Nov 18, 2026
+1 to this feature. Now we run multiple agents and each agent can work continuously for tens of hours. And tool use can be complicated (like hundreds lines of scripts). It is no longer reasonable for human to verify them.
Alternative, it may be better to show some short summary. Like the histogram of tool use. List some outlier tool uses. The summary should be a O(1) information no matter how long the turn / session would be
ysjn commentedon Nov 19, 2026
It looks like Codex CLI v0.169.0 introduced a feature that addresses much of this request: Collapse turn details.
https://github.com/openai/codex/releases/tag/rust-v0.169.0
You can enable it in
~/.codex/config.toml:Note that this feature requires Full-screen transcript mode, which is enabled by default in recent versions. You can also select Fullscreen via
/tui.This collapses completed activity while keeping final answers visible and tool output searchable.
It's not an exact match for the proposed
hide_tool_activitysetting, but it seems to address the main concern of reducing tool-call clutter in the TUI.Hope this helps!
hktonylee commentedon Nov 19, 2026
Thanks @ysjn I am able to hide those tool use records in codex
Masterxilo commentedon Nov 20, 2026
This is exactly what I needed, thanks! Setting
collapse_turn_details = trueunder[tui]in~/.codex/config.toml(Codex 0.169.0+, needsfullscreen_transcript = true, the default) folds each finished turn's tool activity into one line; F4 then Enter unfolds it again. I consider this issue solved.etraut-openai commentedon Nov 21, 2026
Collapse turn details shipped in Codex CLI v0.169.0 and is included in the latest stable release, v0.171.0. It’s currently off by default.
To try it, run
/configand turn on Collapse turn details under Sessions. The setting appears in full-screen mode. If you don’t see it, run/tui, select Fullscreen, restart Codex, and open/configagain.You can also enable it in
~/.codex/config.tomlby adding these settings under[tui]and restarting Codex.While Codex works, it groups consecutive tool calls into expandable summaries. When the turn finishes, it folds the intermediate activity under your prompt and keeps the final answer visible. You can expand the details or search the full tool output at any time.
We’re considering turning this on by default based on your feedback. If you try it, we’d love to hear whether it makes long conversations easier to follow and whether there’s anything you’d prefer to keep visible.
Masterxilo commentedon Nov 21, 2026
The new
collapse_turn_detailssetting makes ordinary tool output much easier to read. We should be able to fold subagent activity too. With that setting enabled in Codex CLI v0.171.0, a single request still left five rows in my transcript: twoStarted, oneInteracted with, and twoCompleted. Could these rows be grouped like ordinary tool calls, with the individual events and agent links available when expanded? I’ve described the behavior and included a collapsed/expanded example here: #62999