Use this skill when building AI applications with the OpenAI Agents SDK for JavaScript/TypeScript. The skill covers both text-based agents and realtime voice agents (via @openai/agents-realtime), including multi-agent workflows (handoffs), tools defined with Zod schemas, input/output guardrails, structured outputs, streaming, human-in-the-loop patterns, and framework integrations for Cloudflare Workers, Next.js, and React. It prevents 9+ common errors including Zod schema type errors, MCP tracing failures, infinite loops, tool call failures, and schema mismatches. The skill includes comprehensive templates for all agent types, error handling patterns, and debugging strategies. Keywords: OpenAI Agents SDK, @openai/agents, @openai/agents-realtime, openai agents javascript, openai agents typescript, text agents, voice agents, realtime agents, multi-agent workflows, agent handoffs, agent tools, zod schemas agents, structured outputs agents, agent streaming, agent guardrails, input guardrails, output guardrails, human-in-the-loop, cloudflare workers agents, nextjs openai agents, react openai agents, hono agents, agent debugging, Zod schema type error, MCP tracing failure, agent infinite loop, tool call failures, schema mismatch agents
Complete production-ready skill for building AI applications with OpenAI Agents SDK (JavaScript/TypeScript).
This skill auto-triggers when you mention:
Core Concepts:
Features:
Frameworks:
Patterns:
Errors:
Use Cases:
17 Production Templates:
5 Comprehensive Guides:
# Install
npm install @openai/agents zod@3
# Set API key
export OPENAI_API_KEY="your-key"
# Create agent
import { Agent, run } from '@openai/agents';
const agent = new Agent({
name: 'Assistant',
instructions: 'You are helpful.',
});
const result = await run(agent, 'Hello!');
console.log(result.finalOutput);
✅ Use when:
❌ Don't use when:
This skill has been tested in production environments and includes:
Skill Version: 1.0.0 SDK Version: 0.2.1 License: MIT Author: Jeremy Dawes (Jezweb)
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer