OpenAI released version 0.18.3 of the openai-agents-python SDK, introducing configurable task and turn tracing spans and adding response usage tracking to the session context.

  • feat: make task and turn tracing spans configurable
  • feat(realtime): track response usage in session context
  • fix(memory): serialize OpenAI conversation session initialization
  • fix(models): raise UserError for conflicting provider args instead of assert
  • fix(handoffs): preserve user messages containing history wrappers
  • fix(computer): isolate provider instances across concurrent runs
  • fix(sandbox): avoid redundant E2B workspace root creation
  • fix: preserve streamed session input across model retries
  • fix: prevent stale prepared-item identity reuse
  • fix: AdvancedSQLiteSession clear_session and pop_item metadata leaks
  • fix: parse Google docstrings missing the blank line before a section
  • fix: bound $ref expansion in strict JSON schema conversion
  • fix: redact non-tool trace error details

This release improves debugging capabilities through configurable tracing and resolves several stability issues related to concurrency, session management, and input preservation.