Skip to content

Releases: openai/openai-agents-python

v0.6.8

19 Jan 01:40
e449a2d

Choose a tag to compare

What's Changed

  • Enhance exception handling in MCP server initialization and cleanup by @habema in #2268
  • Bump LiteLLM to fix Vertex AI function calling with no-param tools by @habema in #2329
  • Fix: Tool message ordering for Gemini models by @habema in #2331
  • fix: #2155 DeepSeek reasoning_content missing in tool call messages by @wahmd in #2328

Documents & Others

  • docs: add codex tool document section by @seratch in #2325
  • Update all translated document pages by @github-actions[bot] in #2326
  • Release 0.6.8 by @github-actions[bot] in #2332

New Contributors

Full Changelog: v0.6.7...v0.6.8

v0.6.7

16 Jan 22:36
8660857

Choose a tag to compare

What's Changed

Experimental: Codex Tool Support

Starting with this version, we have added a new experimental Codex extension (agents.extensions.experimental.codex). This extension allows you to use Codex as a tool within your agents. Since this module is still experimental, its behavior and implementation details may change in future releases.

If you run an agent with codex_tool() on a host where Codex is installed, the agent will use Codex as a tool to answer the question. The tool simply runs the Codex CLI as a subprocess, so all existing Codex configuration, skills, and capabilities are available without any additional setup.

See the example code and #2320 for more details.

Documents & Others

  • Update docs by @seratch in #2307
  • Update all translated document pages by @github-actions[bot] in #2312
  • Update all translated document pages by @github-actions[bot] in #2316
  • chore: update test coverage rules to exclude tests/* by @seratch in #2318
  • Release 0.6.7 by @github-actions[bot] in #2319

Full Changelog: v0.6.6...v0.6.7

v0.6.6

15 Jan 05:38
97e811b

Choose a tag to compare

What's Changed

Documents & Others

  • Add regression tests as prep for HITL changes by @seratch in #2267
  • Add verify-changes skill to this project by @seratch in #2271
  • docs: align contributor guide and skills with JS updates by @seratch in #2286
  • docs: add PR draft guidance skill by @seratch in #2288
  • Add runner script for examples and refresh sample outputs by @seratch in #2289
  • docs: add ExecPlan guidance and template by @seratch in #2298
  • Update examples by @seratch in #2300
  • feat: add examples auto-run skill and refresh example scripts by @seratch in #2303
  • Add two more agent skills by @seratch in #2304
  • misc: add docs-sync skill by @seratch in #2306
  • chore: add release workflows and review prompt by @seratch in #2309
  • chore: add release PR labeling and milestone fallback by @seratch in #2311
  • Release 0.6.6 by @github-actions[bot] in #2310

New Contributors

Full Changelog: v0.6.5...v0.6.6

v0.6.5

06 Jan 15:32
ace9f11

Choose a tag to compare

What's Changed

  • Add per-run tracing API key support by @rm-openai in #2260
  • Add AgentHookContext with turn_input for agent hooks by @ihower in #2213
  • feat: Add tool guardrails to function_tool decorator args (ref #2218) by @seratch in #2227
  • Add realtime audio mapping support and SIP session payload tests by @seratch in #2225
  • fix: #2204 Convert tool execution exception to runtime error by @aligokalppeker in #2243
  • fix: handle output_text type in realtime text mode by @sbera77 in #2235
  • fix: #2222 Streaming is blocking and cannot be cancelled by @seratch in #2226
  • fix: Improve tracing shutdown safety by @seratch in #2229
  • Gemini 3 Pro support and cross-model conversation compatibility by @ihower in #2158
  • Preserve non-text tool outputs in LiteLLM and chatcmpl converters by @ihower in #2214
  • Add explicit content=None to assistant tool-call messages in Chat Completions converter by @ihower in #2238
  • v0.6.5 by @seratch in #2263

Documents

  • docs: Add document updates for #2169 changes by @seratch in #2170
  • Fix README.md typo in uv installation instructions by @zachparent-oai in #2210
  • docs: fix code typo in for loop by @aniketmaurya in #2209
  • Make example prompt consistent with Quick-start context by @zhaoyanthu in #2215
  • Update all translated document pages by @github-actions[bot] in #2207
  • Update all translated document pages by @github-actions[bot] in #2212
  • Update all translated document pages by @github-actions[bot] in #2219
  • Update all translated document pages by @github-actions[bot] in #2262

New Contributors

Full Changelog: v0.6.4...v0.6.5

v0.6.4

19 Dec 06:42
15bae27

Choose a tag to compare

What's Changed

Documents

  • Print called tool's name in examples/basic/stream_items.py by @habema in #2174
  • docs: Upgrading to GPT-5.2 by @cguo-oai in #2188
  • Update all translated document pages by @github-actions[bot] in #2189
  • docs: Resolve code snippet issues within a narrow window size by @seratch in #2197

New Contributors

Full Changelog: v0.6.3...v0.6.4

v0.6.3

11 Dec 18:07
8e1fd7a

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.2...v0.6.3

v0.6.2

04 Dec 22:36
9fcc68f

Choose a tag to compare

What's Changed

  • fix: allow static tool filtering without agent and run_context in MCPServer by @sevakva in #2108
  • Fix as_tool returning blank string on early tool termination by @ihower in #2112
  • docs: clarify handoff() docs, callable not supported by @ihower in #2116
  • Fix: usage from earlier stream chunks when later chunks have none by @ihower in #2126
  • Fix #2130 streaming hang when session.add_items raises an exception by @ihower in #2131
  • fix: save conversation to session before handoff for non-streaming path by @mjschock in #2128
  • docs: add community session implementations section by @knowsuchagency in #2139
  • Update all translated document pages by @github-actions[bot] in #2142
  • fix(usage): Normalize None token detail objects on Usage initialization by @codefromthecrypt in #2141
  • Enable previous_response_id chaining for internal calls on the first turn by @ihower in #2117
  • fix(litellm): preserve reasoning.summary when passing to LiteLLM by @Chesars in #2144
  • Update all translated document pages by @github-actions[bot] in #2147
  • Allow user to send None values to Realtime API by @Sean-Der in #2152
  • v0.6.2 by @rm-openai in #2153

New Contributors

Full Changelog: v0.6.1...v0.6.2

v0.6.1

20 Nov 01:16
9787117

Choose a tag to compare

What's Changed

  • fix: invalid model setting when passing prompt to Agent by @seratch in #1852
  • docs: document input guardrail execution modes by @rvv-karma in #2084
  • Update all translated document pages by @github-actions[bot] in #2104
  • fix: #2097 fix the default settings for SIP realtime runner by @seratch in #2105
  • version 0.6.1 by @seratch in #2106

Full Changelog: v0.6.0...v0.6.1

v0.6.0

18 Nov 19:06
c6569cb

Choose a tag to compare

Key changes

Handoff behavior has a breaking change in this version. Specifically, the message history is now collapsed into a single message when handing off to a new agent. We have verified and evaluated this behavior and think it works better, but recommend testing with your agents before upgrading to v0.6.0 in production.

What's Changed

New Contributors

Full Changelog: v0.5.1...v0.6.0

v0.5.1

13 Nov 17:59
6a5d9ce

Choose a tag to compare

Key update is support for new tools from the GPT-5.1 launch: shell and apply_patch.

What's Changed

Full Changelog: v0.5.0...v0.5.1