Codex CLI: Queue Messages to Running Agent Sessions

CodexView original changelog

Codex CLI 0.149.0 introduced codex queue, letting users send messages to an already-running local or remote session without switching back into it. The release also fixed queued messages failing to wake idle sessions and cleaned up handling of duplicate session names and deferred command formatting. It shipped alongside the version's headline interactive agents dashboard and new /cd, /pwd, /cwd directory commands.

Key Takeaways

  • codex queue lets users send messages to an already-running local or remote Codex session without switching back into that session's window.
  • Queued messages now reliably wake idle sessions, fixing a prior gap where messages sent to an inactive session could go unnoticed.
  • The update also resolves duplicate session names more usefully and preserves pasted or deferred command formatting when messages are queued.
  • The feature complements 0.149.0's new interactive agents dashboard, giving users two new ways to manage multiple concurrent Codex sessions at once.
  • The same release adds /cd, /pwd, and /cwd shortcuts for changing directories mid-session without restarting Codex.
  • As a two-day-old release at the time of writing, codex queue has not yet attracted dedicated editorial coverage beyond release-tracking aggregators.

Codex CLI Adds codex queue for Running Sessions

Codex CLI 0.149.0, released August 20, 2026, introduced codex queue, a new command for sending messages to a Codex session that is already running — locally or remotely — without needing to switch back into that session's window first.

Fixing a Gap With Idle Sessions

The release also fixed a related pain point: queued messages now reliably wake idle sessions instead of silently sitting unread, session-name collisions are resolved more usefully when multiple threads share a name, and messages that were pasted in or deliberately deferred keep their original formatting once delivered.

Part of a Bigger Session-Management Push

codex queue shipped alongside 0.149.0's headline feature, an interactive codex agents dashboard for searching, starting, renaming, and stopping tasks — together giving Codex CLI users two complementary ways to manage several concurrent agent sessions without losing track of what each one is doing. The same release added /cd, /pwd, and /cwd shortcuts for changing a session's working directory on the fly, and expanded codex doctor to diagnose network, proxy, and endpoint-protection failures.


Mentioned onReleasebotHavoptic