OpenAI Agents Python v0.19.3: Numerous Bug Fixes
The OpenAI Agents Python library has released version 0.19.3, addressing a wide range of bugs across its core functionalities. These fixes enhance stability and correctness for agent tool usage, session management, output handling, and real-time processing. This patch is relevant for all developers using the library, particularly those encountering issues with tool collisions, guardrail reporting, or streamed responses. The release focuses entirely on bug fixes and does not introduce new features.
- →Resolve agent tool name collisions consistently
- →Persist max-turns handler output and report guardrail results
- →Honor falsey custom output extractors and handoff input filters
- →Synchronize cancellation with event consumption and normalize schemas
- →Preserve order and session records during deduplication and cancellations
Fixes (6) ›
- Resolve agent tool name collisions consistently
Tool name collisions are now resolved more consistently, improving reliability when agents use multiple tools. This also applies to reconciling resumed tool name collisions.
- Persist max-turns handler output and report guardrail results
The output from the max-turns handler is now persisted to the session, and output guardrail results are reported when a tripwire aborts the run. Guardrail results for streamed runs are also now reported.
- Honor falsey custom output extractors and handoff input filters
The library now correctly handles falsey custom output extractors for agents used as tools, and falsey handoff input filters are also honored. This ensures more flexible configuration of agent interactions.
- Synchronize cancellation with event consumption and normalize schemas
After-turn cancellation is now synchronized with event consumption, and typeless strict object schemas are normalized. This improves the handling of agent lifecycle events and data structures.
- Preserve order and session records during deduplication and cancellations
Input item order is now preserved when collapsing duplicates, and tool call and output order is maintained when deduplicating inputs. Committed tool session records are kept when a streamed output guardrail trips.
- Harden sandbox and session management
Improvements include hardening default snapshot path resolution in the sandbox, enforcing closed state in AsyncSQLiteSession, and avoiding remote conversation creation on uninitialized clear_session. Failed SQLiteSession inserts are also rolled back.
https://github.com/openai/openai-agents-python/releases/tag/v0.19.3
Related releases
- Pydantic-AI v2.29.0 Adds Azure AI Voice Live Support and FastMCP 4 Pydantic AI Releases ·
- Pydantic-AI v1.107.4 Addresses High-Severity Web UI Vulnerability Pydantic AI Releases ·
- Pydantic AI v1.107.3 Patches High-Severity Web Chat UI Vulnerability Pydantic AI Releases ·
- Pydantic-AI v2.28.0 Patches High-Severity Security Flaw, Adds Realtime Speech-to-Speech Pydantic AI Releases ·
- crewAI 1.15.15 Release Adds AI Flow Reporting, Fixes Bugs CrewAI Releases ·
- LangGraph 1.2.11 Adds Trace Policy to Nodes, Updates Checkpoints LangGraph Releases ·