OpenAI Agents SDK JavaScript Workflow Toolkit
A source-backed guide to the OpenAI Agents SDK for JavaScript and TypeScript. It covers agent orchestration, tools, handoffs, tracing, and the practical install path.
Installation
Use the upstream install or setup path that matches your environment:
- npm install @openai/agents zod
Requirements and caveats from upstream:
- Looking for the Python version? Check out OpenAI Agents SDK Python.
- Node.js 22 or later
Basic usage or getting-started notes:
bash
Run your first Sandbox Agent
Sandbox Agents are in beta. A sandbox agent can inspect files, run commands, apply patches, and carry workspace state across longer tasks.
Extracted from upstream docs: https://raw.githubusercontent.com/openai/openai-agents-js/HEAD/README.md