openai-agents-sdk

Create and manage AI agents with OpenAI Agents SDK, Gemini, and OpenRouter.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/zeketx/AgentsSDK_OpenAI_Lab --skill openai-agents-sdk-zeketx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openai-agents-sdk
Source: https://github.com/zeketx/AgentsSDK_OpenAI_Lab/tree/main/skills/openai-agents-sdk
Command: npx skills add https://github.com/zeketx/AgentsSDK_OpenAI_Lab --skill openai-agents-sdk-zeketx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai-agents, asyncopenai, openrouter, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows you to create and manage AI agents using the OpenAI Agents SDK, integrating with Gemini and OpenRouter for model support and MCP server connections.

Core Features & Use Cases

  • Agent Creation: Build custom AI agents with various tools and model configurations.
  • Model Integration: Use Gemini directly via AsyncOpenAI or OpenRouter for non-OpenAI models.
  • MCP Server Connections: Connect to MCP servers for task operations and resources.
  • Use Case: Create an agent to handle customer inquiries, using Gemini for model support and MCP server tools to manage tasks.

Quick Start

/build-agent --model gemini-2.0-flash-exp --name customer-inquiry --description "Handle customer inquiries using Gemini."

Frequently Asked Questions about openai-agents-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build AI agents using the OpenAI Agents SDK with Gemini models?

To build AI agents with Gemini, use the /build-agent command and specify gemini-2.0-flash-exp as the model. This framework integrates Gemini directly via AsyncOpenAI to create custom agents with various tools and model configurations.

Can I connect AI agents to an MCP server for task management?

Yes, you can connect AI agents to an MCP server for task operations and resource access. The framework supports MCP server connections to enable agents to manage tasks and interact with external resources effectively.

Does the OpenAI Agents SDK support OpenRouter for non-OpenAI models?

Yes, the OpenAI Agents SDK supports OpenRouter for non-OpenAI models. You can integrate OpenRouter to route agent requests across multiple LLM providers, expanding the available model configurations for your custom agents.

What is the best way to create a customer inquiry agent using Gemini?

The best way to create a customer inquiry agent is using the /build-agent command with the model set to gemini-2.0-flash-exp and a specific description. This leverages Gemini via AsyncOpenAI to handle inquiries and manage tasks through MCP server tools.

Do I need AsyncOpenAI to configure AI agents with Gemini?

Yes, you need AsyncOpenAI to configure AI agents with Gemini. The framework uses AsyncOpenAI to directly integrate Gemini models, allowing you to build and manage custom agents with various tools and model configurations.