Refacto Agents

Industry story

OpenAI Agents Python SDK v0.21.1 adds timeouts, sandbox controls

agent-framework coding-agents guardrails reliability tool-use

OpenAI released v0.21.1 of its Python agents SDK (openai-agents-python), a patch release following v0.21.0 that adds several agent-infrastructure improvements. New features include model-call timeouts (letting agents fail fast rather than hang indefinitely), run-scoped working directories for sandboxed code execution, the ability to disable networking in Docker sandboxes, and additional resource configuration options for Modal sandboxes. Teams running tool-using or code-executing agents in controlled environments will find most of this directly useful.

Full analysis

OpenAI released v0.21.1 of its Python agents SDK (openai-agents-python), a patch release following v0.21.0 that adds several agent-infrastructure improvements. New features include model-call timeouts (letting agents fail fast rather than hang indefinitely), run-scoped working directories for sandboxed code execution, the ability to disable networking in Docker sandboxes, and additional resource configuration options for Modal sandboxes. Teams running tool-using or code-executing agents in controlled environments will find most of this directly useful.

The release also ships a handful of correctness fixes: honoring exact tool-call approval decisions, properly closing all child providers in a MultiProvider (a component that routes requests across multiple model backends) after failures, and fixing Chat Completions reasoning replay. Session-layer fixes address SQLite conflicts and ensure compaction usage is counted in run totals, improving reliability for long-running agentic workflows.

Comments