openai-agents-setup
Initialize and configure OpenAI Agents SDK for building AI-powered chatbots. Uses NATIVE MCP integration via MCPServerStreamableHttp - no @function_tool wrappers needed! Use when setting up AI agents for Phase 3 chatbot implementation.
npx skills add majiayu000/claude-skill-registry --skill openai-agents-setup --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# OpenAI Agents SDK Setup with Gemini + Native MCP Integration Quick reference for initializing OpenAI Agents SDK with **Gemini models** (gemini-2.5-flash) using **native MCP integration** for the Todo AI Chatbot Phase 3. **CRITICAL INSIGHT**: The OpenAI Agents SDK has **native MCP support** via `MCPServerStreamableHttp`. We do NOT need `@function_tool` wrappers! The agent connects directly to the MCP server and discovers tools automatically. **Reference Repository**: https://github.com/panaversity/learn-agentic-ai --- ## Architecture Overview ``` +-------------------------------------------------------------+ | FastAPI Backend | +-------------------------------------------------------------+ | +---------------+ +-----------------------------+ | | | Chat Endpoint |---->| OpenAI Agents SDK | | | | /api/chat | | (Agent + Gemini Model) | | | +---------------+ +-------------+---------------+ | | | | | MCPServerStreamableHttp | | (Native MCP Integration!) | | | | +--------------------------------------+----------------------+ | +--------------v---------------+ | FastMCP Server | | (Task Tools: add, list, etc.)| | -> Database Operations | +------------------------------+ ``` **Key Insigh
- Architecture Overview
- Project Structure
- Installation
- Core Setup Files
- 1. Gemini Configuration (config.py)
- 2. Agent Definition (todoagent.py)
- 3. Runner with Native MCP (runner.py) - KEY FILE
- 4. Chat Endpoint Usage
- OLD vs NEW Approach
- OLD (Deprecated) - Function Tool Wrappers
- NEW (Recommended) - Native MCP Integration
- Quick Start
- 1. Start MCP Server First
- 2. Test Agent with Native MCP
cd backend uv add openai-agents httpx uv run python -m src.mcp_server.server Running on http://localhost:8001
What does the openai-agents-setup skill do?
Initialize and configure OpenAI Agents SDK for building AI-powered chatbots. Uses NATIVE MCP integration via MCPServerStreamableHttp - no @function_tool wrappers needed! Use when setting up AI agents for Phase 3 chatbot implementation.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill openai-agents-setup --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.
