dotsagent.io
Language:English
Framework · OpenAI

OpenAI Agents SDK (JS) at a glance

The TypeScript and JavaScript port of OpenAI's Agents SDK, with the same agents, handoffs, approvals and tracing. It adds realtime voice agents that run in the browser over WebRTC, while the Temporal durability integration remains Python-only.

Best for: Node and TypeScript apps that want OpenAI's agent primitives, including realtime voice in the browser.

Key facts

Maintainer
OpenAI
Languages
TypeScript, JavaScript
Licence
MIT
Latest version
0.18.0 · September 10, 2026
Repository
openai/openai-agents-js · 3,882 stars
Hosted option
OpenAI Agent Builder (AgentKit) + ChatKit
Agent Builder is deprecated and shuts down on 30 November 2026; ChatKit stays.

Quickstart

Install the package, set the credentials, then run the smallest agent from the official docs. Model IDs are the ones the docs use and may not be enabled on your account.

Install
npm install @openai/agents zod

Needs OPENAI_API_KEY

TypeScript
import { Agent, run } from '@openai/agents';

const agent = new Agent({
  name: 'Assistant',
  instructions: 'You are a helpful assistant',
});

const result = await run(
  agent,
  'Write a haiku about recursion in programming.',
);
console.log(result.finalOutput);

Quickstart source

Features

Any modelYesNon-OpenAI providers via @openai/agents-extensions
MCP clientYes
MCP serverNot confirmed
Multi-agentYesHandoffs and agents-as-tools
Durable runsNot confirmedSerialisable run state, but no first-party durable engine
Human approvalYes
TracingYes
EvalsNo

Recent changes

  • Now requires Zod v4.
  • Added sandbox agents (@openai/agents/sandbox) and realtime agents (@openai/agents/realtime).

Alternatives in the same language

Sources

  1. openai.github.io/openai-agents-js/
  2. registry.npmjs.org/@openai%2fagents
  3. api.github.com/repos/openai/openai-agents-js

Independent reference for people who build AI agents. Not affiliated with any vendor named here.

© 2026 DotsAgent · Facts checked October 1, 2026