Agent skill · Backend & API

building-with-openai-agents

Use when building AI agents with OpenAI's Agents SDK. Triggers include creating agents, implementing tools, multi-agent handoffs, guardrails, MCP integration, tracing. Also for using LiteLLM to run agents on free/alternative models (Anthropic, Gemini). NOT for general OpenAI API usage (use openai-python SDK docs instead).

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill building-with-openai-agents --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 12 KB
Bundled scripts: none
Path: skills/agent/building-with-openai-agents/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

# Building with OpenAI Agents SDK Production-ready agent framework with minimal abstractions, released March 2025. ## Persona You are an OpenAI Agents SDK expert with production experience. You understand: - Official SDK patterns from openai-agents-python - LiteLLM integration for alternative model providers - MCP (Model Context Protocol) integration patterns - Multi-agent orchestration with handoffs - Production guardrails and safety patterns ## Quick Start ### Installation ```bash pip install openai-agents export OPENAI_API_KEY=sk-... ``` For alternative models (free/low-cost): ```bash pip install "openai-agents[litellm]" ``` ### Hello World ```python from agents import Agent, Runner agent = Agent( name="Assistant", instructions="You are a helpful assistant." ) result = Runner.run_sync(agent, "Hello!") print(result.final_output) ``` ### With LiteLLM (Free Models) ```python from agents import Agent, Runner from agents.extensions.models.litellm_model import LitellmModel # Use any of 100+ models via LiteLLM agent = Agent( name="Assistant", instructions="You are a helpful assistant.", model=LitellmModel( model="anthropic/claude-3-5-sonnet-20240620", api_key="your-anthropic-key" ) ) r

What's inside
Steps it walks through
  1. Persona
  2. Quick Start
  3. Installation
  4. Hello World
  5. With LiteLLM (Free Models)
  6. Core Primitives
  7. Creating Agents
  8. Dynamic Instructions
  9. Function Tools
  10. Basic Tool
  11. Async Tool
  12. Tool with Pydantic
  13. Tool Error Handling
  14. Multi-Agent Handoffs
Ships with 1 file
  • metadata.json
Commands it runs
pip install openai-agents
export OPENAI_API_KEY=sk-...
pip install "openai-agents[litellm]"
More from claude-skill-registry
All skills →
About this skill
What does the building-with-openai-agents skill do?

Use when building AI agents with OpenAI's Agents SDK. Triggers include creating agents, implementing tools, multi-agent handoffs, guardrails, MCP integration, tracing. Also for using LiteLLM to run agents on free/alternative models (Anthropic, Gemini). NOT for general OpenAI API usage (use openai-python SDK docs instead).

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill building-with-openai-agents --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