Prompt Buddy logoPrompt Buddy

openai · OpenAI Platform Docs

Agents Models and providers

Teaches how to architect model selection and provider configurations for AI agents, including strategies for per-agent, run-level, and process-wide model defaults and choosing between standard OpenAI paths and custom...

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Agents Models and providers

Teaches how to architect model selection and provider configurations for AI agents, including strategies for per-agent, run-level, and process-wide model defaults and choosing between standard OpenAI paths and custom...

When To Use

Use when you need to implement model fallback strategies, optimize agent workflows for latency and cost through explicit model selection, or configure custom providers and transport layers like WebSockets.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/agents-models-and-providers-workflow-guide.mdA guide explaining model selection, provider transport strategies, and feature support for building agents on the OpenAI platform.Questions about a guide explaining model selection, provider transport strategies, and feature support for building agents on the Ope...
examples/agents-models-and-providers-openai-agents-typescript-agent-runner.typescriptA TypeScript code example demonstrating how to instantiate Agent and Runner classes from the @openai/agents library to manage multiple agent models.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to instantiate Agent and Runner classes from the @openai/agents library t...
examples/agents-models-and-providers-openai-agents-python-agent-runner.pythonA Python script demonstrating how to initialize and run an Agent using the OpenAI agents framework.Exact payloads, commands, or snippets shown in A Python script demonstrating how to initialize and run an Agent using the OpenAI agents framework.

What This Skill Covers

  • Every SDK run eventually resolves a model and a transport. Most applications should keep that setup straightforward: choose models explicitly, use the standa...
  • Main sections: Start with explicit model selection, Choose the simplest default strategy, Providers and transport, Model settings, prompts, and feature support, Next steps.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.openai.com/api/docs/guides/agents/models.md