OpenAI API (Cursor)
Canonical source
.claude/skills/openai-api/SKILL.md lists platform.openai.com and openai.github.io/openai-agents-python references and implementation patterns.
In Cursor
- Read the canonical skill for the surface you need (
agentsvschat). - Fetch current OpenAI docs (model list, API reference) before relying on model IDs or parameters.
- OpenAI REST + Agents SDK entry:
src/lib/ai/clients/openai.ts(openaiClient,createAgent,createRunner, re-exportsrun,tool,fileSearchTool).