惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Y
Y Combinator Blog
博客园 - 聂微东
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog RSS Feed
小众软件
小众软件
The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
B
Blog
H
Help Net Security
D
Docker
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
罗磊的独立博客
月光博客
月光博客
博客园 - 司徒正美

OpenAI Developers

API deployment checklist | OpenAI API Sora 2 Prompting Guide Codex Prompting Guide Docs MCP | OpenAI Developers Gpt-image-1.5 Prompting Guide GPT-5.2 Prompting Guide Transcribing User Audio with a Separate Realtime Request Modernizing your Codebase with Codex GitHub - openai/openai-sora-sample-app: Sample app to get started using the Video API with Sora GitHub - openai/openai-apps-sdk-examples: Example apps for the Apps SDK GitHub - openai/openai-chatkit-advanced-samples: Starter app to build with OpenAI ChatKit SDK GitHub - openai/openai-chatkit-starter-app: Starter app to build with OpenAI ChatKit + Agent Builder Rate limits | OpenAI API Web search | OpenAI API Getting started with datasets | OpenAI API Prompt optimizer | OpenAI API Verifying gpt-oss implementations How to run gpt-oss locally with LM Studio Fine-tuning with gpt-oss and Hugging Face Transformers How to run gpt-oss locally with Ollama Function calling | OpenAI API Models | OpenAI API Reasoning best practices | OpenAI API Reasoning models | OpenAI API Background mode | OpenAI API Batch API | OpenAI API Conversation state | OpenAI API File search | OpenAI API Flex processing | OpenAI API MCP and Connectors | OpenAI API
Agents SDK | OpenAI API
2025-07-18 · via OpenAI Developers

Agents are applications that plan, call tools, collaborate across specialists, and keep enough state to complete multi-step work.

  • Use the Responses API when one model call plus tools and application-owned logic is enough.
  • Use the Agents SDK pages when your application owns orchestration, tool execution, approvals, and state.

Start with the Agents SDK quickstart to install the SDK, define one agent, and run it. Once that works, return here to choose the next capability your application needs.

Use the GitHub repositories for more examples, issues, and language-specific reference details.

If you want toStart hereWhy
Build a code-first agent appQuickstartThis is the shortest path to a working SDK integration.
Define one specialist cleanlyAgent definitionsStart here when you are still shaping the contract for a single agent.
Choose models, defaults, and transportModels and providersUse this when model choice, provider setup, or transport strategy affects the workflow.
Understand the runtime loop and stateRunning agentsThis is where the agent loop, streaming, and continuation strategies live.
Run work in a container-based environmentSandbox agentsUse this when the agent needs files, commands, packages, snapshots, mounts, or provider links.
Design specialist ownershipOrchestration and handoffsUse this when you need more than one agent and must decide who owns the reply.
Add validation or human reviewGuardrails and human reviewUse this when the workflow should block or pause before risky work continues.
Understand what a run returnsResults and stateThis page explains final output, resumable state, and next-turn surfaces.
Add hosted tools, function tools, or MCPUsing tools and Integrations and observabilityTool semantics live in the platform tools docs; SDK-specific MCP and tracing live here.
Inspect and improve runsIntegrations and observability and evaluate agent workflowsUse traces for debugging first, then move into evaluation loops.
Build a voice-first workflowVoice agentsUse the SDK’s voice pipeline and realtime agent patterns.

Use the SDK track when your server owns orchestration, tool execution, state, and approvals. That path is the best fit when you want:

  • typed application code in TypeScript or Python
  • direct control over tools, MCP servers, and runtime behavior
  • custom storage or server-managed conversation strategies
  • tight integration with existing product logic or infrastructure

A typical SDK reading order is: