# OpenAI 发布了 Agents Python SDK v0.19.3，修复了工具名称冲突、会话持久化、输出护栏等大量 bug，提升了 SDK 的稳定性和可靠性

- 来源：OpenAI Agents Python Releases
- 发布时间：2026-08-04 15:17
- AIWatch 分数：61
- AIWatch 标记：未精选
- AIWatch 链接：https://aiwatch.icu/events/evt_01kz5w5m447jsqg3sgcd2v3bpk
- 原文链接：https://github.com/openai/openai-agents-python/releases/tag/v0.19.3

## 精选理由

常规快讯，保留列表

## AI 摘要

OpenAI 发布了 Agents Python SDK v0.19.3，修复了工具名称冲突、会话持久化、输出护栏等大量 bug，提升了 SDK 的稳定性和可靠性。

## 正文

What's Changed

fix: resolve agent tool name collisions consistently by @seratch in #4137
fix: reconcile resumed tool name collisions by @seratch in #4145
fix: persist the max-turns handler output to the session by @LeSingh1 in #4160
fix: report output guardrail results when a tripwire aborts the run by @Kaif10 in #4090
fix: replace closed default loop in run_sync by @hsusul in #4102
fix: honor falsey custom output extractors for agents as tools by @n33levo in #4088
fix: report tool guardrail results for streamed runs by @hsusul in #4097
fix: preserve approved tool output on streamed resume by @seratch in #4126
fix: normalize typeless strict object schemas by @seratch in #4139
fix: synchronize after-turn cancellation with event consumption by @seratch in #4130
fix: keep input item order when collapsing duplicates by @hsusul in #4140
fix: stop emitting handoff calls as streamed tool_called events by @hsusul in #4146
fix: preserve tool call and output order when deduplicating inputs by @seratch in #4147
fix: honor falsey handoff input filters by @omidsaffari in #4153
fix: define explicit zero-value contracts by @seratch in #4101
fix: keep committed tool session records when a streamed output guardrail trips by @LHMQ878 in #4148
fix(mcp): auto-paginate tool and prompt listings by @seratch in #4094
fix(chatcmpl): clear pending thinking blocks when flushing an assistant message by @Kaif10 in #4089
fix(sandbox): remove apply_patch move source as the bound user by @hsusul in #4100
fix(sandbox): harden default snapshot path resolution by @seratch in #4141
fix(sessions): enforce closed state in AsyncSQLiteSession by @chinmayv095 in #4109
fix(sessions): avoid creating remote conversation on uninitialized clear_session by @hsusul in #4111
fix(sessions): roll back a failed SQLiteSession insert by @LeSingh1 in #4163
fix(realtime): apply output guardrails to text deltas by @seratch in #4124
fix(realtime): clamp interrupt truncation to received audio by @hsusul in #4122
fix(realtime): scope delayed audio guardrail interruption by @seratch in #4135
fix(voice): clean up tasks when streams close early by @seratch in #4131
fix(voice): finish STT event handling after listener errors by @seratch in #4170
fix(tracing): name streamed task spans after the run's own workflow by @LeSingh1 in #4167
fix(extensions): keep trimmer's definition names and instance data in trimmed schemas by @LHMQ878 in #4110
fix(extensions): release AnyLLM provider streams and preserve completed runs by @hsusul in #4133
fix(extensions): send AnyLLM Responses reasoning as a mapping by @hsusul in #4138
fix(extensions): record model-call failures on the provider's own span by @PranavMishra28 in #4143
fix(extensions): let an in-flight provider stream close finish after cancellation by @LHMQ878 in #4156
fix(extensions): preserve thinking blocks for replay by @seratch in #4157

Documentation & Other Changes

docs: fix spelling in GPT-5 example by @wesleyzhangwq in #4168
chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 by @dependabot[bot] in #4080
chore(deps): bump pypa/gh-action-pypi-publish from 1.14.0 to 1.14.2 by @dependabot[bot] in #4081
chore(deps): bump actions/setup-python from 6.3.0 to 7.0.0 by @dependabot[bot] in #4083
chore(deps): bump actions/stale from 10.3.0 to 11.0.0 by @dependabot[bot] in #4084
chore(ci): preserve cache pruning with setup-uv v9 by @seratch in #4103
test: stabilize tracing atexit timeout coverage by @seratch in #4104
Release 0.19.3 by @github-actions[bot] in #4169

New Contributors

@n33levo made their first contribution in #4088
@omidsaffari made their first contribution in #4153
@PranavMishra28 made their first contribution in #4143
@wesleyzhangwq made their first contribution in #4168

Full Changelog: v0.19.2...v0.19.3
