← Registry
Agent Official

OpenAI Agents SDK (JS/TS)

JavaScript/TypeScript framework for building multi-agent and voice agent workflows with handoffs, guardrails, and tracing.

Install

npm install @openai/agents zod
$

The TypeScript counterpart to the Python Agents SDK, for building multi-agent workflows on Node.js 22+, Deno, or Bun. It offers the same primitives - agents with tools and handoffs, configurable guardrails, automatic session history, and tracing - plus Realtime Agents for voice applications. Choose it when your agent stack lives in JavaScript/TypeScript or you need full-featured voice agents.