openai-agents
SKILL.md
OpenAI Agents SDK Integration
Agent Initialization
from openai import OpenAI
from openai.agents import Agent, Runner
client = OpenAI(api_key=os.getenv("OPENAI_API_KEY"))
agent = Agent(
name="TaskAssistant",
instructions="""You are a helpful task management assistant.
Use the provided tools to help users manage their todo list.
Always confirm actions with friendly responses.
If a user's request is ambiguous, ask for clarification.""",
model="gpt-4o",
tools=[] # MCP tools registered here
)