ReleaseOpenAIOpenAIpublished Feb 11, 2026seen Jun 26

openai/openai-agents-js v0.4.7

openai/openai-agents-js

Open original ↗

Captured source

source ↗
published Feb 11, 2026seen Jun 26captured 4whttp 200method plain

v0.4.7

Repository: openai/openai-agents-js

Tag: v0.4.7

Published: 2026-02-11T20:24:39Z

Prerelease: no

Release notes:

Key Changes

Hosted container tool + Skills

This release includes the hosted shell runtime tool along with its native skills support. Developers now can pass a container-based shell runtime with skills this way:

import { Agent } from '@openai/agents';

const agent = new Agent({
name: 'Container Shell Agent',
model: 'gpt-5.2',
instructions: 'Use the available container to answer user requests.',
tools: [
shellTool({
environment: {
type: 'container_auto',
skills: [{type: 'skill_reference', skillId: "skill_698bbe879adc81918725cbc69dcae7960bc5613dadaed377", version: "1"}],
},
}),
],
});

Check the following examples for more details:

  • https://github.com/openai/openai-agents-js/blob/main/examples/tools/container-shell-inline-skill.ts
  • https://github.com/openai/openai-agents-js/blob/main/examples/tools/container-shell-skill-ref.ts

References:

  • Hosted shell: https://developers.openai.com/api/docs/guides/tools-shell#hosted-runtime-details
  • Skills API: https://developers.openai.com/api/docs/guides/tools-skills
  • Skills Cookbook: https://developers.openai.com/cookbook/examples/skills_in_api

What's Changed

  • feat: support shell tool environment + skills by @seratch in https://github.com/openai/openai-agents-js/pull/950
  • fix(agents-extensions): #945 map AI SDK cacheRead usage to cached_tokens by @seratch in https://github.com/openai/openai-agents-js/pull/946
  • fix(agents-openai): omit named tool_choice when prompt supplies tools by @seratch in https://github.com/openai/openai-agents-js/pull/951
  • fix(agents-core): preserve legacy ShellTool typing and strict shell pending statuses by @seratch in https://github.com/openai/openai-agents-js/pull/952

Documents & Other Changes

  • docs: clarify Codex run-context threading guidance and examples by @seratch in https://github.com/openai/openai-agents-js/pull/942
  • docs: update translated document pages by @github-actions[bot] in https://github.com/openai/openai-agents-js/pull/943
  • chore: upgrade pnpm to 10.29.2 by @seratch in https://github.com/openai/openai-agents-js/pull/948
  • chore: update versions by @github-actions[bot] in https://github.com/openai/openai-agents-js/pull/947

Full Changelog: https://github.com/openai/openai-agents-js/compare/v0.4.6...v0.4.7