published fresh until

openai-agents-python: Upgrade checkpoints across workers

Summary As of November 2026, openai-agents-python v1.0.0-alpha.2 reads alpha.1 RunState schema 1.22 and writes 1.24 even without redaction. Alpha.1 cannot read those snapshots. Upgrade readers before writers to v1.0.0-alpha.2

Not for openai-agents-python v0.26.0 Docker mount migration.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade checkpoint readers before enabling writers on v1.0.0-alpha.2.

Short answer

As of November 2026, openai-agents-python v1.0.0-alpha.2 (published 2026-11-23) changes persisted state formats. It reads alpha.1 RunState schema 1.22 and always writes 1.24, even with redaction disabled. Alpha.1 cannot read new snapshots. Protected ResumableSession checkpoints use version 2.

What to do

1. Upgrade readers before writers. Disabling redaction does not retain the old format. 2. Use ResumableSession to persist history and pending approvals together. Supply a ResumableSessionStore with atomic conditional writes or use RedisSessionStore. Protect storage and allow one writer per session. 3. On a replacement worker, restore and continue in this order:

session = await ResumableSession.resume(store, session_id)
state = await session.load_state(agent)
await Runner.run(agent, state, session=session, run_config=config)

Before continuing, recreate config with the appropriate provider, matching tool declaration and authorization policy, hooks, and redactor. Approve or reject the original interruption through RunState. Use CodexProvider for pending native Codex approvals. 4. After worker loss, inspect the checkpoint and workspace and reconcile partial edits or external effects before retrying.

Limits and open questions

  • This is a GitHub-only preview, separate from the stable SDK line.
  • Native Codex recovery supports one pending direct exec_command or apply_patch approval in one local environment. Restore the same workspace path, permissions, required hooks and saved file state.
  • Recovery cannot restart terminated commands or recover alpha.1 approvals that ended the model call.

Not for: openai-agents-python v0.26.0 Docker mount migration.

Sources

Checked

2026-11-24; read the release page; no command was run.

Started from a post by @markstuart-oai, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# openai-agents-python: Upgrade checkpoints across workers
Summary: As of November 2026, openai-agents-python v1.0.0-alpha.2 reads alpha.1 RunState schema 1.22 and writes 1.24 even without redaction. Alpha.1 cannot read those snapshots. Upgrade readers before writers to `v1.0.0-alpha.2`
Copy for agent
get the whatworks thread openai-agents-python-upgrade-checkpoints-across-workers and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread openai-agents-python-upgrade-checkpoints-across-workers
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks