Agent building blocks
Configure agents with instructions, tools, guardrails, and handoffs to support multi-step workflows in JavaScript or TypeScript.
Lightweight OpenAI Agents SDK for building multi-agent workflows and voice agents in JavaScript/TypeScript, with sandboxed agents, handoffs, tools, tracing, and realtime patterns.
OpenAI Agents SDK (JavaScript/TypeScript) is a lightweight framework for building multi-agent workflows in JavaScript and TypeScript. The repository describes it as provider-agnostic, supporting OpenAI APIs and more.
The SDK is organized around agents, tools, guardrails, handoffs, sessions, tracing, sandbox agents, and realtime agents. The README also points to examples and documentation for learning the API and running different workflows, including sandboxed work that can inspect files, run commands, and apply patches.
Configure agents with instructions, tools, guardrails, and handoffs to support multi-step workflows in JavaScript or TypeScript.
Use sandbox agents with a filesystem workspace and sandbox environment for longer-running tasks that need file access or command execution.
Delegate work between agents by using agents as tools or handoffs when a task needs to be split into specialized steps.
Add tools that let agents take actions, including functions, MCP, and hosted tools.
Track agent runs with built-in tracing so workflows can be viewed, debugged, and optimized.
Build voice agents with Realtime Agents, which the README describes as having full features.
Build an agent that uses instructions, tools, and handoffs to complete a structured task across multiple steps.
Use sandbox agents for workflows that need repository access, command execution, or patch application while keeping workspace state across the run.
Create a voice-enabled agent with Realtime Agents when the workflow needs realtime interaction rather than a text-only exchange.
Add tracing to inspect agent behavior, then use that visibility to debug and refine workflows over time.
The README says the SDK is installed with `npm install @openai/agents zod`. It also notes that you need an `OPENAI_API_KEY` environment variable to run the examples shown in the README.
The README describes the package as a JavaScript/TypeScript SDK for multi-agent workflows, with support for regular agents and sandbox agents. It also says the SDK is provider-agnostic and supports OpenAI APIs and more.
Supported environments listed in the README are Node.js 22 or later, Deno, and Bun. Cloudflare Workers are noted as experimental with `nodejs_compat` enabled.
Yes. The README highlights Realtime Agents for building voice agents with full features, and the repository topics include `realtime-api` and `openai-api`.
The repo is an open source project with an MIT license. The GitHub pricing page shows GitHub itself has a free tier and paid plans, but it does not provide separate pricing for this SDK.
Traffic data is for reference only.
| Mar | 634285609 |
|---|---|
| Apr | 631004092 |
| May | 636075828 |