Skip to content
Codex CLI 0.132.0: Python SDK Auth and TUI Improvements | My AI Guide

Codex CLI 0.132.0: Python SDK Auth and TUI Improvements

By Harsh Desai
Share

TL;DR

Codex CLI 0.132.0 introduces first-class authentication in the Python SDK, easier turn APIs for text-only workflows, and faster TUI startup. It also adds support for output schemas in resumed automations and resolves several Windows installation and TUI bugs.

What changed

Codex CLI 0.132.0 adds first-class authentication support inside the Python SDK. The release also ships simpler turn APIs aimed at text-only workflows and cuts TUI startup time. Output schemas now work in resumed automations, and several Windows install plus TUI bugs were fixed.

The update landed on 21 May 2026. No price change was announced because Codex CLI remains free to install for users with an OpenAI account.

Why it matters

Solo builders who script automations in Python gain a direct path to Codex without separate token handling. Text-only turn APIs reduce boilerplate when chaining steps inside Notion or Zapier workflows. Faster TUI startup matters for anyone who keeps the CLI open during long coding sessions.

The move signals OpenAI wants Codex to sit inside existing developer scripts rather than only inside its own app. It puts pressure on tools that still require manual auth wrappers or slow terminal launches.

How to use it

Run pip install --upgrade openai-codex to pull the new Python SDK. For the CLI itself use npm install -g @openai/codex@0.132.0. Authentication now happens through the standard OpenAI key flow inside Python code.

Test resumed automations by passing an output schema on restart. Check the changelog at developers.openai.com/codex/changelog for the exact parameter names.

Watch for

Stable Windows installs over the next two weeks will confirm the bug fixes landed. Schema errors during long-running automations would break the bet. Expect a follow-up release that brings the same auth pattern to the Node SDK.

Who this matters for

  • Vibe Builders: Use the new text-only turn APIs to chain complex Notion or Zapier automation steps with less setup.
  • Developers: Integrate the Python SDK directly into your scripts using the new first-class authentication support.

Harshs take

OpenAI is finally treating the Codex CLI as a serious integration point rather than a standalone toy. By embedding first-class authentication into the Python SDK, they are removing the friction that usually pushes developers toward custom wrappers or heavier frameworks. The focus on TUI startup speed and Windows stability shows a commitment to the local developer experience, which is often neglected in cloud-first AI tools.

This update is a clear signal that the future of AI coding is not just in the IDE, but in the terminal and the background scripts that power a builder's entire workflow. The addition of output schemas for resumed automations is the real sleeper hit here, it makes long-running, stateful AI tasks actually reliable for production use. If you are still manually handling tokens for your Python-based AI agents, you are wasting time.

by Harsh Desai

Source:developers.openai.com

About OpenAI Codex

View the full OpenAI Codex page →All OpenAI Codex updates

More from OpenAI Codex

  • App Update
    Codex CLI 0.131.0: Richer TUI Controls and Unified Mentions

    Codex CLI 0.131.0 brings richer session controls and responsive Markdown tables to the TUI, unified file and plugin search via @ mentions, and new marketplace CLI commands. It also introduces the codex doctor diagnostic tool and improves Windows sandbox behavior.

  • App Update
    Codex CLI 0.129.0 release

    Codex CLI 0.129.0 adds modal Vim editing in the composer, redesigned TUI workflows for easier resuming and forking, enhanced plugin management with workspace sharing, and improved Linux sandbox reliability.

  • Feature
    Codex Chrome extension launch

    The new Codex Chrome extension enables parallel interaction with apps and websites in your browser. It operates in the background, allowing you to maintain control over which websites Codex can access.

Everything AI. One email.
Every Monday.

New tools. Model launches. Plugins. Repos. Tactics. The moves the sharpest builders are making right now, before everyone else.

No spam. Unsubscribe anytime.