openai-agents-js is the JavaScript/TypeScript version of the OpenAI Agents SDK, designed to give developers a lightweight but powerful framework for building agentic workflows, voice agents, and tool-augmented LLM systems in JS/TS environments. The SDK is provider-agnostic, meaning while it’s deeply compatible with OpenAI’s APIs, you can also adapt it to use other backends or extension layers. At its core, it introduces primitives like Agents, Tools, Guardrails, and Handoffs, letting you define structured multi-agent systems in a modular way. The repo includes examples showing how to build agents that call local functions, chain between agents, validate input/output, stream responses, and interact in real time (e.g. voice agents via WebRTC). ...