openai-agents
Build AI applications with OpenAI Agents SDK - text agents, voice agents, multi-agent handoffs, tools with Zod schemas, guardrails, and streaming. Prevents 11 documented errors. Use when: building agents with tools, voice agents with WebRTC, multi-agent workflows, or troubleshooting MaxTurnsExceededError, tool call failures, reasoning defaults, JSON output leaks.
npx skills add majiayu000/claude-skill-registry --skill openai-agents-brendadeeznuts1111-tier-1380-omega --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# OpenAI Agents SDK Build AI applications with text agents, voice agents (realtime), multi-agent workflows, tools, guardrails, and human-in-the-loop patterns. --- ## Quick Start ```bash npm install @openai/agents zod@4 # v0.4.0+ requires Zod 4 (breaking change) npm install @openai/agents-realtime # Voice agents export OPENAI_API_KEY="your-key" ``` **Breaking Change (v0.4.0)**: Zod 3 no longer supported. Upgrade to `zod@4`. **Runtimes**: Node.js 22+, Deno, Bun, Cloudflare Workers (experimental) --- ## Core Concepts **Agents**: LLMs with instructions + tools ```typescript import { Agent } from '@openai/agents'; const agent = new Agent({ name: 'Assistant', tools: [myTool], model: 'gpt-5-mini' }); ``` **Tools**: Functions with Zod schemas ```typescript import { tool } from '@openai/agents'; import { z } from 'zod'; const weatherTool = tool({ name: 'get_weather', parameters: z.object({ city: z.string() }), execute: async ({ city }) => `Weather in ${city}: sunny`, }); ``` **Handoffs**: Multi-agent delegation ```typescript const triageAgent = Agent.create({ handoffs: [specialist1, specialist2] }); ``` **Guardrails**: Input/output validation ```typescript const agent = new Agent({ inputGua
- Quick Start
- Core Concepts
- Text Agents
- Multi-Agent Handoffs
- Guardrails
- Human-in-the-Loop
- Realtime Voice Agents
- Framework Integration
- Error Handling (11+ Errors Prevented)
- 1. Zod Schema Type Errors
- 2. MCP Tracing Errors
- 3. MaxTurnsExceededError
- 4. ToolCallError
- 5. Schema Mismatch
npm install @openai/agents zod@4 # v0.4.0+ requires Zod 4 (breaking change) npm install @openai/agents-realtime # Voice agents export OPENAI_API_KEY="your-key"
What does the openai-agents skill do?
Build AI applications with OpenAI Agents SDK - text agents, voice agents, multi-agent handoffs, tools with Zod schemas, guardrails, and streaming. Prevents 11 documented errors. Use when: building agents with tools, voice agents with WebRTC, multi-agent workflows, or troubleshooting MaxTurnsExceededError, tool call failures, reasoning defaults, JSON output leaks.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill openai-agents-brendadeeznuts1111-tier-1380-omega --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
