# OpenAI releases Agents SDK 1.0.0 alpha 1 with opt-in Codex provider

published: 2026-11-20T22:05:30.671Z
topic: frameworks
source: https://github.com/openai/openai-agents-python/releases/tag/v1.0.0-alpha.1
url: https://aiagentnews.io/stories/openai-releases-agents-sdk-1-0-0-alpha-1-with-opt-in-codex-provider

OpenAI has published the first alpha of its Python Agents SDK, which adds Codex as an opt-in model provider. The preview ships only as prebuilt wheels through GitHub Releases for CPython 3.10 to 3.14.

The release adds CodexProvider from agents.models.codex, which is passed to the Runner through RunConfig(model_provider=...). It uses a saved Codex login by default, or an api_key if one is supplied, and it selects the model for agents that use a model name or the default model.

The wheel embeds Codex Core rust-v0.166.0 through PyO3, so calls reach Core directly without starting codex app-server or using JSON-RPC. Native commands follow Codex's sandbox and approval settings, and a native approval prompt ends the model call. Automatic session compaction now uses local Codex conversation history, including after an approval pause.

Developers moving from the v0.24.0-alpha.8 harness must switch from Agent.run() or Session.submit() to Runner.run() or Runner.run_streamed(). Pending alpha.8 runs and approvals should be finished first, because their SessionState checkpoints use a different format, and alpha.1 starts a fresh session for history. CI built all four wheels and tested fresh installs, and a live-model run of the wildlife example also completed.

## Why it matters if you build agents

Agent code can now run on either the standard model providers or Codex, chosen per run, which makes it easier to compare the two behind one agent definition.

Teams on the alpha.8 harness need to migrate to Runner and clear pending runs before upgrading, since checkpoints from that version do not carry over.

Because this is a pre-release, pin the exact wheel version and check the migration notes before relying on it in production.
