Skip to content

Show user-side timing metrics between Codex turns #24240

Open

Description

@ferious68

What variant of Codex are you using?

Codex desktop app on Windows

What feature would you like to see?

Codex currently shows assistant/agent execution time, which is useful.

Feature request:
Add user-side timing metrics for each turn, such as:

  • Elapsed time from assistant completion to the user sending the next prompt
  • Active composing time from prompt-box focus / first edit to Send
  • Optional session summary comparing user wait/compose time vs agent execution time
  • Cumulative time spent composing follow-up or steering messages while Codex is still executing the previous request

Why:
-This would help users understand the rhythm of a Codex session, identify where time is spent, and make long collaborative coding sessions feel more measurable
-Helps users understand real project build time: total elapsed time, Codex execution time, and the user’s active prompting/steering time.

Privacy note:
Because typing/focus timing can feel sensitive, this should probably be local-only, opt-in, or clearly disclosed.

Additional information

No response

Activity

  1. added
    enhancement
    on May 23, 2026
  2. added
    app
    on May 23, 2026
  3. simfor99 commented on Jun 9, 2026

    @simfor99

    Related feature request from a real supervision/debugging case: #27203

    The overlap is timing visibility for Codex sessions. The distinction is that #27203 asks for host-side timestamps before each visible output block during a single long agent action, generated by the Codex client/UI layer rather than by assistant-authored text.

    That would help users audit elapsed wall-clock time across assistant updates, tool blocks, context compaction, and resume, even when the model itself has no reliable sense of time.

  4. pmochine commented on Oct 6, 2026

    @pmochine

    Until this exists natively: the rollout JSONLs already contain enough to compute it. I maintain a small local CLI that does this split for Codex and Claude Code logs (npx agent-hours --split, I'm the author): time from the agent's last answer to your next prompt, agent time while you were evidently watching, and autonomous agent time.

    Two pitfalls if you build your own:

    • Long threads continue in additional rollout files that share the session id and carry history_base in their session_meta. Deduplicating by id alone drops them.
    • event_msg records of type thread_settings_applied can arrive without any user turn, so they should not count as activity.

    https://github.com/pmochine/agent-hours

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

    appenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions