update
May 20, 2026
By Teun
Codex 0.132.0 adds Python auth and easier turn handling
Codex 0.132.0 adds first-class authentication to the Python SDK, including API key login and ChatGPT browser and device-code flows. The release also simplifies Python turn APIs, adds structured output support for resumed runs, and includes fixes for sessions, remote execution, Windows installs, and the terminal UI.
Codex 0.132.0 was released on 20 May, with the GitHub Actions changelog listing 65 commits to main since the previous release. The update focuses on Python SDK authentication, turn handling, resume behavior, and a set of fixes across the terminal UI, remote sessions, and Windows installs.
The most visible change is in the Python SDK. According to the release notes, the SDK now supports first-class authentication, including API key login, ChatGPT browser flow, device-code flow, account inspection, and logout APIs. That gives developers a fuller auth surface inside Python instead of relying on ad hoc setup steps.
The SDK also changes how text-only workflows work. Codex now accepts a plain string as input for Python turns, and handle-based runs return a richer TurnResult object with collected items, timing, and usage data, according to the changelog. For teams building automation around Codex, that means less boilerplate when sending simple prompts and more structured data when inspecting what happened during a run.
Another change affects resumed executions. The release says codex exec resume now accepts --output-schema, so resumed automations can keep session context while still enforcing structured JSON output. That matters for workflows that need to continue a prior session without losing validation on the output shape.
Performance and remote execution also got attention. The terminal UI starts faster because Codex batches terminal capability probes instead of waiting on several serial checks before the first interactive frame, according to the notes. Remote executor registration can now use standard Codex authentication rather than a separate registry credential flow, which should make setup simpler for operators managing remote execution infrastructure.
The app-server turn flow also got an image-handling fix. The release notes say turns can preserve requested image fidelity, including original-resolution local images, across user inputs and image-producing tools. For users who work with multimodal inputs, that reduces the chance that images get downgraded during a run.
On the bug-fix side, goal continuations now stop when they hit usage limits or a repeated blocker instead of looping and burning more tokens. The changelog also says completion responses now phrase usage more naturally.
The session picker and multi-session TUI flows were cleaned up as well. Renamed threads now show the name and thread ID in resume hints, pasted text works in the picker search box, in-progress MCP calls stay marked active during replay, and elicitation replies are sent back to the thread that requested them, according to the release notes.
Remote sessions gained a websocket keepalive fix and again show repo-relative diff paths instead of /tmp/...-prefixed paths. On Windows, codex doctor now detects npm-managed installs correctly, and MSVC release binaries no longer depend on separately installed VC++ runtime DLLs.
The release also includes documentation refreshes for the Python SDK, FAQ, and examples, with updated setup guidance around the new auth flow and turn APIs. In the chores section, memory summaries are now versioned and rebuilt when the stored format is stale, which the changelog says should keep long-lived memory context leaner and more predictable.
Codex 0.132.0 is now available with these Python, runtime, UI, and infrastructure changes.