Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 19, 2026

Bumps @openai/agents from 0.3.8 to 0.4.0.

Release notes

Sourced from @​openai/agents's releases.

v0.4.0

Key Changes

Drop Zod v3 support and require Zod v4 for schema-based tools and outputs

Starting with this version, we have dropped support for Zod v3 and now require Zod v4 for schema-based tools and outputs. Please use zod@4 instead of zod@3. If you use this SDK in vanilla JavaScript and do not rely on the TypeScript compiler, the SDK will still work with the Zod v3 runtime.

Make @​ai-sdk/provider an optional peer dependency to support v2 and v3 formats

The @ai-sdk/provider dependency was previously a required dependency of the openai/agents-extensions package, but it is now an optional peer dependency. This breaking change is primarily intended to support both v2 and v3 formats. In addition, changing how the dependency is loaded allows developers to use the latest major version without waiting for this SDK to migrate.

Update gpt-5.1/5.2 defaults and reasoning effort types

This change is more minor than the two above. We updated the default reasoning effort for gpt-5.1 and gpt-5.2 to "none". When you use gpt-5.1 or gpt-5.2, the default reasoning effort is now "none", which is better suited for interactive agent apps. If you intentionally relied on "low" effort (the default in v0.3), please explicitly pass your own ModelSettings with reasoning.effort="low".

What's Changed

Documents & Others

Full Changelog: openai/openai-agents-js@v0.3.9...v0.4.0

v0.3.9

What's Changed

Experimental: Codex Tool Support

Starting with this version, we have added a new experimental Codex extension (@openai/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 codexTool() 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 openai/openai-agents-js#862 for more details.

... (truncated)

Commits
  • 2d96044 chore: update versions (#869)
  • ce01d94 ci: optimize docs translation pipeline
  • 5d2a8e4 ci: make relase-pr-review stsabler
  • 4feaaae feat(agents-core): update gpt-5.1/5.2 defaults and reasoning effort types (#876)
  • 720a707 Update all translated document pages (#877)
  • 98e4765 ci: update translation job to check only document files
  • 674989e docs: update the default model document section to make it up-to-date
  • c547866 ci: add agents-as-tools to do-not-translate terms
  • 787712f ci: skip running tests for docs and other unrelated changes
  • ec0d1b3 Update all translated document pages (#875)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Continue Tasks

Status Task Actions
🔄 Running AIPex PR View

Powered by Continue

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jan 19, 2026
Bumps [@openai/agents](https://github.com/openai/openai-agents-js) from 0.3.8 to 0.4.0.
- [Release notes](https://github.com/openai/openai-agents-js/releases)
- [Commits](openai/openai-agents-js@v0.3.8...v0.4.0)

---
updated-dependencies:
- dependency-name: "@openai/agents"
  dependency-version: 0.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/openai/agents-0.4.0 branch from a372512 to ae99340 Compare January 19, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant