News Developer Tools

OpenAI adds four opt-in controls to its Agents SDK

OpenAI's Agents SDK for Python now lets developers cap MCP listing pages, protect Docker sandboxes from removal, and set memory consolidation turns.

OpenAI has released a Python toolkit update, the OpenAI Agents SDK, that adds configurable limits for MCP listing pages and opt-in protection against Docker removal. The SDK is a code library developers use to build AI agents. OpenAI lists the changes in its release notes for the October 1 version.

MCP, the Model Context Protocol, is a standard that lets agents connect to outside tools and data. The update adds settings that control how many items appear on each page when the SDK lists what an MCP server offers.

Two changes affect the sandbox, the contained environment where an agent runs tasks. One is an opt-in setting that protects a Docker container from being removed. The other lets developers choose how many turns pass before the agent consolidates its memory, meaning it condenses stored information.

A fourth change covers sessions, which hold an agent's conversation history. OpenAI added an opt-in budget for scanning encrypted history. All four features are optional and must be switched on or configured by the developer.

Source: Release v0.23.0 · openai/openai-agents-python · GitHub.