Research review / frameworks

OpenAI Agents SDK Alpha.2: Upgrade Checkpoint Readers Before Writers

Agents SDK v1.0.0-alpha.2, published November 23, documents ResumableSession for moving conversations and pending approvals between workers. It writes a RunState schema alpha.1 cannot read, and gives cancelled agent-as-tool calls only 250 ms to clean up.

By Sandeep Belgavi · Published 2026-11-24

Agents SDK v1.0.0-alpha.2 was published on November 23, 2026 at 20:11 UTC as a GitHub-only preview. This digest covered alpha.1's in-process Codex provider on November 22; this entry is about the two upgrade hazards alpha.2 states.

A one-way schema change

The highlights put it in bold: "Upgrade checkpoint readers before writers." The upgrade notes are specific: "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." Protected ResumableSession checkpoints move to version 2.

ResumableSession is what makes this matter. It persists "conversation history and pending approvals together," so a replacement worker can call ResumableSession.resume(store, session_id), reload state and continue the run. The notes ask for a store "with atomic conditional writes" and "one writer per session."

A short cancellation window

When a manager run is cancelled, "active Agent.as_tool() calls get up to 250 ms to clean up," and "Repeated cancellation does not reset the deadline." The notes are explicit about the consequence: "Tools that exceed the timeout may continue running and cause side effects or state changes after cancellation returns." After a failure, they advise operators to "Reconcile partial edits and other external effects before retrying," and note that "Recovery cannot restart terminated commands."

Redaction travels with the session

Alpha.2 also adds opt-in RunConfig.redact_text, a synchronous callback that changes recognised text sent to the model and tools and stored in persisted state. The notes say to "Supply the same callback when continuing protected sessions," and warn that "Default SDK tracing can expose native Codex results, including file contents." Setting trace_include_sensitive_data=False suppresses those payloads. For recovery, this makes the redactor part of the session contract: a replacement worker started without it is not a like-for-like replacement.

What this means for a rolling deploy

Analysis: in a mixed fleet, the first alpha.2 worker to touch a session rewrites its checkpoint as schema 1.24. If that session's next turn lands on a worker still running alpha.1, the resume fails. Because alpha.1 cannot be taught to read 1.24, "readers before writers" means in practice: finish rolling out alpha.2 everywhere before any alpha.2 worker handles live sessions, or pin sessions to one version during the rollout. Rolling back after alpha.2 has written checkpoints has the same problem. The 250 ms window is the second lesson: cancellation returning is not proof that a sub-agent's effects have stopped, so effects need their own idempotency keys or reconciliation.

Original exercise, not executed: Geetha runs two workers for a Belgavi's Book Store refunds agent, one on alpha.1 and one on alpha.2, sharing a Redis session store. She starts CASE-8216 on alpha.2, pauses it at a pending refund approval, then resumes it on the alpha.1 worker and records the error. Separately, she cancels a manager run while a sub-agent tool sleeps for two seconds before writing a refund note, and checks whether the note appears after cancel returns.

Sources accessed November 24, 2026. Views are my own and do not represent any employer, past or present.

Sources and evidence

Agents SDK alpha.2 writes RunState schema 1.24, which alpha.1 cannot read, so finish the rollout before alpha.2 handles live sessions. Cancelled agent-as-tool calls get only 250 ms and may keep acting afterwards.