Agents SDK
Use this skill to turn an idea or repo into a focused Agents SDK implementation.
Before You Build
- Use
openai-docsto inspect current Agents SDK guidance. - If the work will call the OpenAI API, use
openai-platform-api-keybefore building, running, testing, or debugging the API-backed path. - Inspect the repo's existing language, package manager, entrypoints, and testing style before choosing a structure.
Workflow
- Define the agent contract:
- goal
- user input
- expected output
- tools
- approval or escalation boundaries
- Prefer the smallest runnable implementation first.
- Use tools deliberately and keep side effects narrow.
- Add evals when the user asks for reliability, comparison, or regression coverage.
- Provide a local run command and a concrete smoke result when implementation is requested.
Guidance
- Prefer Python unless the repo or user already points to TypeScript.
- Start with one agent before introducing handoffs or orchestration.
- Keep prompts, tools, tests, and deployment artifacts clearly separated.
- Use
openai-docsagain when current SDK behavior or product guidance is central to the answer.