Agent skill · AI & Agents

openai-agents

Expert guidance for building AI agents with the OpenAI Agents SDK, from simple single-agent systems to complex multi-agent workflows. Use when working with: (1) Creating AI agents with tools and structured outputs, (2) Multi-agent orchestration with handoffs or manager patterns, (3) Agent guardrails and validation, (4) Conversation history with sessions, (5) Tracing and debugging agent workflows, (6) Tool integration and context management, (7) Production-ready agent systems. Supports async Python with comprehensive examples and patterns.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill openai-agents-psqasim-personal-ai-employee --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 13 KB
Bundled scripts: none
Path: skills/agent/openai-agents-psqasim-personal-ai-employee/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# OpenAI Agents SDK Build AI agent systems from simple single-agent tools to complex multi-agent orchestrations using the official OpenAI Agents SDK. ## Installation and Setup Install the SDK: ```bash pip install openai-agents ``` Set your API key: ```bash export OPENAI_API_KEY=sk-... ``` All agent workflows are asynchronous. Use `asyncio.run()` or `await` in async contexts: ```python import asyncio from agents import Agent, Runner async def main(): agent = Agent(name="Assistant", instructions="Be helpful") result = await Runner.run(agent, "Hello!") print(result.final_output) if __name__ == "__main__": asyncio.run(main()) ``` ## Agent Development Workflow Follow this progression based on complexity: **1. Single Agent** → Start here for straightforward tasks (Q&A, analysis, generation) **2. Agent with Tools** → Add when agents need to fetch data or perform actions **3. Agent with Structured Output** → Use when you need validated, typed responses **4. Multi-Agent System** → Scale when tasks require specialization or orchestration ## Quick Start: Single Agent Create a basic agent with custom instructions: ```python from agents import Agent, Runner import asyncio agent = Agent( name="M

What's inside
Steps it walks through
  1. Installation and Setup
  2. Agent Development Workflow
  3. Quick Start: Single Agent
  4. Adding Tools to Agents
  5. Structured Output with Pydantic
  6. Multi-Agent Systems
  7. Pattern 1: Manager/Orchestrator (Agents as Tools)
  8. Pattern 2: Peer Handoffs
  9. Guardrails for Safety and Validation
  10. Session Management for Conversation Memory
  11. Context Management
  12. Error Handling
  13. Tracing and Debugging
  14. Reference Documentation
Ships with 1 file
  • metadata.json
Commands it runs
pip install openai-agents
export OPENAI_API_KEY=sk-...
export OPENAI_AGENTS_DISABLE_TRACING=1
More from claude-skill-registry
All skills →
About this skill
What does the openai-agents skill do?

Expert guidance for building AI agents with the OpenAI Agents SDK, from simple single-agent systems to complex multi-agent workflows. Use when working with: (1) Creating AI agents with tools and structured outputs, (2) Multi-agent orchestration with handoffs or manager patterns, (3) Agent guardrails and validation, (4) Conversation history with sessions, (5) Tracing and debugging agent workflows, (6) Tool integration and context management, (7) Production-ready agent systems. Supports async Python with comprehensive examples and patterns.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill openai-agents-psqasim-personal-ai-employee --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.

Keep going