Current decision boundary
Open-source SDK plus provider usage
Verified 2026-07-27: the SDK is open source; OpenAI API model and tool pricing remains separate, and no free-SDK statement should be presented as zero agent cost.3
Provider-aligned agent runtime
An open-source agent runtime for tool loops, handoffs, sessions, guardrails, human approval, and tracing around model calls.
Choose OpenAI Agents SDK when an OpenAI-aligned application genuinely needs its runtime-managed turns, tools, approvals, sessions, or handoffs. Keep deterministic workflows for predictable processes and treat tracing as a separate sensitive-data decision.123
Whether a focused OpenAI-aligned agent runtime is justified instead of a direct Responses loop, deterministic workflow, or broader state graph.
The Agents SDK orchestrates model calls, tools, handoffs, sessions, guardrails, and traces. It does not supply business authorization, safe tools, durable infrastructure, evaluation quality, model usage, or data-policy compliance by itself.123
For: Teams aligned with OpenAI that have evidence for an agent loop and need its runtime primitives
The open-source SDK has no separate software fee. Model tokens, hosted tools, storage, tracing destination, sandboxing, application infrastructure, and operational work create total cost.3
Current decision boundary
Verified 2026-07-27: the SDK is open source; OpenAI API model and tool pricing remains separate, and no free-SDK statement should be presented as zero agent cost.3
OpenAI · Accessed Official
OpenAI · Accessed Official
OpenAI · Accessed Official
OpenAI · Accessed Official
LangChain · Accessed Official
LangChain · Accessed Official
LangChain · Accessed Official
CrewAI · Accessed Official
CrewAI · Accessed Official
CrewAI · Accessed Official
Mastra · Accessed Official
Mastra · Accessed Official
Mastra · Accessed Official