Skip to content

openai-agents-python

v0.15.2 Feature

This release adds 1 notable feature for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agents ai harness llm openai python

Summary

AI summary

Fixed multiple bugs related to conversation item ID replay, tool trace redaction, response stream handling, session suffix matching, and disabled function tools.

Full changelog

What's Changed

  • feat: add context management model setting by @seratch in https://github.com/openai/openai-agents-python/pull/3128
  • fix: #3123 avoid replaying assistant conversation item IDs for OpenAIConversationsSession by @seratch in https://github.com/openai/openai-agents-python/pull/3127
  • fix: redact function tool trace span errors by @Aphroq in https://github.com/openai/openai-agents-python/pull/3111
  • fix: redact MCP invalid JSON errors when tool logging is disabled by @Aphroq in https://github.com/openai/openai-agents-python/pull/3088
  • fix: reject failed responses stream terminals by @Aphroq in https://github.com/openai/openai-agents-python/pull/3107
  • fix: only rewind matching session suffixes by @Aphroq in https://github.com/openai/openai-agents-python/pull/3090
  • fix: reject string-like shell commands by @Aphroq in https://github.com/openai/openai-agents-python/pull/3092
  • fix: filter custom_tool_call types in remove_all_tools handoff filter by @Quratulain-bilal in https://github.com/openai/openai-agents-python/pull/3095
  • fix: make ToolContext hashable to match RunContextWrapper by @ioleksiuk in https://github.com/openai/openai-agents-python/pull/3097
  • fix: block disabled function tools before execution by @Aphroq in https://github.com/openai/openai-agents-python/pull/3118
  • fix: isolate merged MCP tool metadata by @felmonon in https://github.com/openai/openai-agents-python/pull/3114

Documentation & Other Changes

  • docs: updates for #3080 by @seratch in https://github.com/openai/openai-agents-python/pull/3081
  • docs: update translated document pages by @github-actions[bot] in https://github.com/openai/openai-agents-python/pull/3084
  • test: improve coverage and organize test layout by @seratch in https://github.com/openai/openai-agents-python/pull/3085
  • test: cover realtime tool timeout behaviors in realtime session by @Aphroq in https://github.com/openai/openai-agents-python/pull/3076
  • test: add realtime tool output serialization edge cases by @Aphroq in https://github.com/openai/openai-agents-python/pull/3077
  • test: cover on_handoff, on_tool_start, on_tool_end on RunHooks by @Quratulain-bilal in https://github.com/openai/openai-agents-python/pull/3098
  • test: cover real Handoff object branch in visualization by @Quratulain-bilal in https://github.com/openai/openai-agents-python/pull/3100
  • test: add direct unit tests for _tool_identity helpers by @Quratulain-bilal in https://github.com/openai/openai-agents-python/pull/3101
  • test: add direct unit tests for _mcp_tool_metadata helpers by @Quratulain-bilal in https://github.com/openai/openai-agents-python/pull/3102
  • Release 0.15.2 by @github-actions[bot] in https://github.com/openai/openai-agents-python/pull/3099

New Contributors

  • @ioleksiuk made their first contribution in https://github.com/openai/openai-agents-python/pull/3097

Full Changelog: https://github.com/openai/openai-agents-python/compare/v0.15.1...v0.15.2

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track openai-agents-python

Get notified when new releases ship.

Sign up free

About openai-agents-python

A lightweight, powerful framework for multi-agent workflows

All releases →

Beta — feedback welcome: [email protected]