Blog

OpenAI Agents SDK 1.0 alpha: Codex becomes a model provider inside Python, the wheels are GitHub-only, and alpha.2 already changed the checkpoint format

The biggest OpenAI Agents SDK update of 2026 isn't on PyPI. The 1.0 alphas, published on GitHub on November 20 and 23, put Codex inside the Python SDK as a model provider. Here's what that means, how to try it safely, and why you shouldn't let it near production checkpoints yet.

Editorial policy

The biggest OpenAI Agents SDK update of 2026 so far isn't on PyPI. On November 20, OpenAI published v1.0.0-alpha.1 on GitHub, which adds Codex as a model provider inside the Python SDK. PyPI's openai-agents is still on the 0.x line, at 0.26.1 from November 30. If you pip install -U openai-agents today, you won't see any of it.

I'll admit my first reaction reading the alpha.1 notes was relief, and then caution. Relief, because running Codex next to a Python agent has meant a separate codex app-server process and JSON-RPC glue that breaks in fun ways. Caution, because three days later alpha.2 changed the checkpoint format. Both reactions are right. Here's why.

What 1.0 alpha actually adds

Codex as a provider you choose per run. From the notes: import CodexProvider from agents.models.codex, create provider = CodexProvider(), and pass RunConfig(model_provider=provider) to the Runner. It uses your saved Codex login, or CodexProvider(api_key=...). The same agent definition can run on the Responses API or on Codex. You pick at run time.

Codex Core embedded, not shelled out. The wheel "embeds unmodified Codex Core rust-v0.166.0 through PyO3." Direct calls "eliminate codex app-server startup and JSON-RPC." Reuse one provider to share a ThreadManager across calls, and close it with await provider.aclose() when you're done.

SDK features on top. Streaming, handoffs to a specialist agent, pausing for approval before a Python tool runs, and typed output validation all work through the Codex provider. Native Codex commands follow Codex's own sandbox and approval settings. One quirk the notes call out: "A native approval prompt ends the model call." Plan for that in your loop.

alpha.2, three days later

v1.0.0-alpha.2 (November 23) is the release that makes 1.0 feel like infrastructure:

  • ResumableSession stores conversation history and pending approvals together, with RedisSessionStore or your own store with atomic conditional writes. A replacement worker can call ResumableSession.resume(store, session_id) and continue where a dead one stopped.
  • Native Codex approval recovery for one pending exec_command or apply_patch approval, provided the workspace path, permissions and files match their saved state.
  • Tool execution hooks, function-tool filtering, Runner text redaction and detailed operation tracing.

And the line to read twice: "Alpha.2 reads alpha.1 RunState schema 1.22 and always writes schema 1.24, even with redaction disabled. Alpha.1 cannot read new snapshots." The notes' advice is to "upgrade checkpoint readers before writers."

How to try it without hurting yourself

The wheels are on the GitHub release only, for Linux x86-64 and ARM64 (glibc 2.28+), macOS 11+ on Apple silicon, and Windows x64, each with a SHA-256 checksum. Use a fresh, standard CPython 3.10–3.14 virtual environment and install with python -m pip install --only-binary=:all: "<wheel URL>".

Then:

  1. Keep it in a separate environment. Don't let a 1.0 alpha wheel replace the 0.26.x you run in production.
  2. Don't share checkpoint storage between alpha and stable workers. The schema change above is exactly how that goes wrong.
  3. If your only credential is a saved Codex login, the alpha.1 notes say to set OPENAI_AGENTS_DISABLE_TRACING=1 before running the example.
  4. Start from the examples: the Codex examples guide and the native approval example in alpha.2.

Meanwhile, on the stable line

The 0.x releases kept moving in November, and one of them breaks things:

  • 0.25.0 (November 17) removes the beta Runloop sandbox provider. Runloop users should "migrate to another supported sandbox provider, such as Modal, or remain on 0.24.0." It also changes Pydantic run-context checkpointing. Same advice: upgrade readers first.
  • 0.26.0 (November 24) is mostly fixes: Realtime output guardrails checked at turn completion, per-call MCP metadata taking priority over discovery defaults, and tighter path validation.
  • 0.26.1 (November 30) is the current PyPI release.

Why this matters beyond OpenAI shops

The SDK is widely used. openai-agents had 19,579,635 PyPI downloads in the 30 days to November 29 (+2.1%), and the repo had 30,958 stars on December 1, per our downloads vs stars update. A 1.0 that treats a coding agent as just another model provider is a bet that "agent framework" and "coding agent" are merging. Codex itself shipped 70 releases in November, which we tracked in the coding agent CLI report.

If you're choosing between frameworks right now, LangGraph vs CrewAI vs the OpenAI Agents SDK is still the comparison to start with, and the OpenAI Agents release tracker lists every November tag. My advice: try the alpha on a side project this week, and keep production on 0.26 until 1.0 reaches PyPI.

FAQ

What is the latest OpenAI Agents SDK update in 2026?

On PyPI, openai-agents 0.26.1, released November 30, 2026. On GitHub, the 1.0 previews: v1.0.0-alpha.1 on November 20 and v1.0.0-alpha.2 on November 23. The alphas add Codex as an opt-in model provider and are published only as GitHub release wheels, not on PyPI.

What is CodexProvider in the OpenAI Agents SDK?

A model provider added in v1.0.0-alpha.1. You import CodexProvider from agents.models.codex, create provider = CodexProvider(), and pass RunConfig(model_provider=provider) to the Runner. It uses your saved Codex login, or an API key via CodexProvider(api_key=...). The wheel embeds unmodified Codex Core rust-v0.166.0 through PyO3, so there is no codex app-server process or JSON-RPC.

How do I install OpenAI Agents SDK 1.0 alpha?

Download the wheel for your platform from the GitHub release (Linux x86-64 or ARM64 with glibc 2.28+, macOS 11+ on Apple silicon, or Windows x64) and install it with python -m pip install --only-binary=:all: followed by the wheel URL, in a standard CPython 3.10 to 3.14 virtual environment. Each release links SHA-256 checksums.

Is OpenAI Agents SDK 1.0 ready for production?

No. It is an alpha distributed only through GitHub Releases. alpha.2 already changed the persisted state format: it reads alpha.1's RunState schema 1.22 but always writes schema 1.24, which alpha.1 cannot read. The release notes tell users to upgrade checkpoint readers before writers.

What changed in OpenAI Agents SDK 0.25.0?

Released November 17, 2026, 0.25.0 removed the beta Runloop sandbox provider and changed how Pydantic run contexts are checkpointed. Runloop users are told to migrate to another provider, such as Modal, or stay on 0.24.0, and teams sharing checkpoints across workers should upgrade readers first.