OpenAI released version 0.21.1 of the openai-agents-python SDK, introducing new features for core agent execution and sandbox environments.

  • Added model call timeouts to the core module.
  • Introduced run-scoped sandbox working directories.
  • Allowed Docker sandboxes to disable networking.
  • Added Modal sandbox resource options.
  • Fixed issues with call approval decisions, usage counting, and MultiProvider child closure after failures.
  • Corrected Chat Completions reasoning replay and audio truncation in the realtime module.

This release enhances control over agent interactions and provides more granular configuration for sandboxed execution environments.