# OpenAI Agents SDK v1.0.0-alpha.4 adds MCP, A2A and Redis session storage

published: 2026-12-04T04:05:30.294Z
topic: frameworks
source: https://github.com/openai/openai-agents-python/releases/tag/v1.0.0-alpha.4
url: https://aiagentnews.io/stories/openai-agents-sdk-v1-0-0-alpha-4-adds-mcp-a2a-and-redis-session-storage

OpenAI has released alpha.4 of its Agents SDK, a pre-release that changes how custom instructions interact with the Codex base prompt and adds several new agent capabilities. The release also lists upgrade steps for moving from v0 and from deprecated calls.

Custom instructions now replace the Codex base prompt when passed to Agent, and the default prompt stays in place when instructions are omitted. Setting instructions_mode to codex appends instructions to the base prompt, as alpha.3 did. The release also validates final answers against JSON Schema before returning them, applies tool policies, and defers individual function definitions.

The SDK can connect MCP servers, including stdio servers running in sandboxes, and can call another agent as a tool. Its A2A client can contact approved endpoints and continue tasks that need more input. Session checkpoints can be stored in Redis, conversation snapshots can be filtered before storage, and streams can be traced with OpenTelemetry.

Deprecated Codex Runner calls should be replaced with agent.run(), and the deprecated Agent.name should be omitted. RealtimeRunner is replaced by agent.start(). The wheels support CPython 3.10 to 3.14 and include the Codex runtime, and the offline check is expected to report Codex runtime version 0.172.0.

## Why it matters if you build agents

Agents that depend on the old append behavior for custom instructions need to set instructions_mode to codex to keep it. Agents that use MCP servers or sub-agents can now run stdio MCP servers inside sandboxes and call other agents as tools.

Workers that share one SQLite session database must be upgraded together. v0 applications should keep v0 in a separate environment, since both versions use the openai-agents package name.
