Skip to content

Python SDK guide for building agents with handoffs, function tools, guardrails, sessions, streaming, and tracing.

CCM score
62 of 100
skills.sh installs
2.5K
GitHub stars
74
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers agent construction, Runner execution (run, run_sync, run_streamed), and multi-agent handoffs versus as_tool() delegation
  • Includes reference notes on providers, tools, structured output, streaming, guardrails, sessions, tracing, and sandboxed execution
  • Requires resolving the installed package version and matching source before implementing an API, since static examples may drift
  • Designed for Python projects using OpenAI or Azure OpenAI through the native client or LiteLLM, not the TypeScript SDK

Install

$ npx -y skills add laguagu/claude-code-nextjs-skills --skill openai-agents-sdk -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

OpenAI Agents SDK for Python

Use this skill for openai-agents / agents, not the TypeScript SDK. Resolve the installed package and its provider integrations before implementing an API. Current SDK documentation and a matching source tag take precedence over static examples.

Choose a model from the current OpenAI model catalog and model-selection guide. Check the selected model's tools, reasoning settings and provider availability; an SDK fallback or a demo ID is not a permanent recommendation.

The wheel ships no docs. Offline, read the installed source: the version from importlib.metadata.version("openai-agents"), public exports in agents/__init__.py, docstrings and types in the package directory (python -c "import agents; print(agents.__file__)"). The documentation source is docs/ at repository tag v<version>.

Core shape

Details

Repository
github.com/laguagu/claude-code-nextjs-skills
Categories
AI Agents & LLM Apps, Python
First seen
Jun 3, 2026

More from laguagu/claude-code-nextjs-skills

All 4

Similar to Openai Agents Sdk

More AI Agents & LLM Apps