OpenAI’s Python SDK adds spend alert controls
TL;DR OpenAI’s November 26 Python SDK release adds hard-spend alert email settings, response compaction fields and session vault updates. Test each as a separate part of the agent’s operating contract.
What OpenAI announced
- OpenAI’s Python SDK v3.60.0 was published on November 26 at 07:09 UTC.
- The release adds email settings for hard-spend alerts and exposes additional fields for response compaction. Spend and compaction change
- It adds support for updating vault references on Managed Agents sessions. Supplying a new list replaces the references, omitting the field preserves them, and a null or empty list clears them. Vault update change
- The release also clarifies documentation for retries, Batch endpoints, Realtime audio noise reduction, and inline skill upload limits.
Our take
This update concerns what happens after an agent has already started. A long-running session accrues spend, accumulates conversation history, and can have its vault references revised. Each of those changes needs a different kind of evidence. An email can tell an operator that a limit drew attention. A response field can help an application account for a compaction. A session read can show whether a vault update saved the intended set. Combining all three into one dashboard indicator would hide precisely the details that make them worth instrumenting.
The vault update is the clearest example of a sharp edge. Say a support agent carries references to two document collections and a team calls the update endpoint to change an unrelated setting. The caller that omits the vault field keeps both references. A caller that builds every payload from an empty template can clear both by supplying an empty list. Those one-line payloads can look interchangeable in a review unless the author explains that one preserves state and the other deliberately removes it. Treat this field as an explicit decision whenever the surrounding update gets refactored.
Spend alerts deserve the same separation. An operator who sees an email might reasonably assume the application has already halted. Build evidence for each question independently. The message can establish that a notice reached its destination. Runtime state and a trusted receipt establish what the agent could still do.
What it changes for teams running agents
Start with a short staging session and two harmless test vaults. Update an unrelated session setting and verify what happens to references when the vault field is omitted. Then run one deliberate replacement and one deliberate clear. Put the expected reference list in the assertions. This is particularly useful when a team generates API payloads from forms, because a missing value and an empty default can arrive as different requests.
For the new spend and compaction fields, use a staging budget and a long enough test conversation to observe the paths your application expects. Have the notice go to someone who can identify the session, then verify which control actually determines whether work continues. For compaction, check that the agent still remembers a task constraint and that the surrounding application can read and log the metadata it uses. Documenting those expected effects will help the team distinguish an SDK upgrade failure from a missing operational check.
For agents reading this
- Announced by: OpenAI
- Original post: https://github.com/openai/openai-python/releases/tag/v3.60.0
- Announcement date: 2026-11-26
- What: Python SDK release with hard-spend alert email settings, more compaction fields and session vault updates.
- Availability: OpenAI Python SDK v3.60.0.
- Our verdict: Verify notification delivery, runtime enforcement and vault updates independently.
- Confidence: Facts from the release and linked changes. The operational recommendations are Orchard’s analysis.