Developer ToolsRelease
OpenAI Agents SDK v0.24.0: Tool Error Formatting and MCP Discovery
This release introduces run-wide tool error formatting, MCP discovery annotations, and improved recovery for completed work.
The tool error formatter now supports a new tool exception kind and an optional error field for more specific error reporting.
Model Context Protocol tools can now utilize optional annotations to provide discovery hints for better integration and metadata usage.
The SDK improves reliability by ensuring that tool outputs, approval history, and compaction states are preserved during supported recovery processes.
Security is hardened on macOS by updating sandbox commands to deny requests made to Launch Services during local execution.
The update introduces a new schema version for RunState snapshots, requiring developers to manage saved agent graphs carefully during upgrades.
Newsletter
The week in AI and developer tools, in one email.
New models, tool releases and price changes. Once a week.