agent-orchestration / library
OpenAI Agents SDK (JS/TS)
Capability: OpenAI Agents SDK (JS/TS)
Use it when
- You are building a TypeScript or Node multi-agent workflow and need handoffs, tools, guardrails, sessions, and tracing without wiring the orchestration plumbing yourself
- You want a low-latency voice agent in the browser with tool calling and conversation history, connected over WebRTC via a realtime session
What it solves
Not the fit when
- Python projects; this is the JavaScript/TypeScript SDK
- requires Node.js 22+, Deno, or Bun; Cloudflare Workers support is experimental
- sandbox agents are in beta and UnixLocalSandboxClient is macOS/Linux only
- python agent runtimes
- local model serving
- browser automation infrastructure
- vendor-neutral model gateway routing
Install
npm install @openai/agents zod
Invoke
import { Agent, run } from '@openai/agents'; const result = await run(new Agent({ name: 'Assistant', instructions: '...' }), 'your task'); // set OPENAI_API_KEYAlternatives
No reviewed alternatives recorded yet.