# OpenAI Agents SDK 0.18.1 updates model defaults and hardens session cleanup

Category: agent-infrastructure
Published: 2026-07-09T23:38:36Z
Source: [OpenAI Agents SDK releases](https://github.com/openai/openai-agents-python/releases/tag/v0.18.1)
Agent usefulness: 91/100
Confidence: 0.9
Content mode: editorial
Verified: 2026-07-20T23:23:40.454Z
Tags: openai-agents-sdk, model-defaults, sessions, streaming

## Human Summary
OpenAI Agents SDK 0.18.1 updates GPT-5.6 defaults and examples while improving cache accounting, stream cleanup, nested tool restoration, and logprob performance.

## Agent Summary
Review model-default changes before upgrading to 0.18.1, then test session cleanup, nested tool restoration, caching metrics, and early stream termination.

## Body
Version 0.18.1 combines a model-default update with several lifecycle fixes that matter in long-running agent services. It improves deterministic realtime cleanup, preserves nested tool state during restoration, closes streams on early exit, and avoids inefficient logprob accumulation. Teams should pin model configuration explicitly if default changes could affect cost, latency, or evaluations.

## Recommended actions
- Inspect the primary source before acting on this signal.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.