What Native Provider Agent Primitives Give You Over a Framework
Provider agent SDKs (OpenAI Agents SDK, Anthropic Messages tool loops, Google ADK) ship the loop, tools, and multi-agent hooks next to the model API.
Third-party frameworks (LangGraph, CrewAI, Microsoft Agent Framework, Pydantic AI) add broader orchestration, portability, and ecosystem glue.
This page clarifies what you actually buy when you stay native.
Native provider primitives optimize for the shortest honest path from model capability to a working agent on that provider's platform.
Insight: Choosing native vs framework shapes lock-in, multi-cloud cost, how much loop code you own, and how fast you adopt new model features.
Key Concepts:native agent SDK, provider coupling, handoffs, guardrails, hosted tools / MCP, thin loop vs control plane, escape hatch.
When to Use: You are mostly on one provider, need handoffs/guardrails/MCP quickly, or want official APIs that track Responses / Messages features first.
Limitations/Trade-offs: Portability suffers; graph checkpoints, multi-provider routing, and enterprise connectors often still need a framework or custom host.
Related Topics: OpenAI Agents SDK basics, Anthropic tool-use loops, Google ADK comparison, framework selection matrices.
A third-party framework usually sits above one or more model clients and owns orchestration semantics: graphs, crews, typed deps, checkpoints, or UI adapters.
Native path: Your app -> Provider Agents SDK -> Provider models + hosted toolsFramework path: Your app -> Framework control plane -> Model adapters -> Tools / state stores
Neither path is "framework-free."
Native SDKs are still frameworks; they are simply provider-aligned frameworks.
Is the OpenAI Agents SDK production-ready compared to LangGraph?
For tool loops, handoffs, guardrails, and MCP on OpenAI models, yes for many products. For durable multi-path graphs with checkpoint semantics, LangGraph (or another workflow engine) is often the better core. Verify maturity for your workload at build time.
Can I use OpenAI Agents SDK with non-OpenAI models?
The SDK is built around OpenAI's agent stack and models first. Some community or adapter paths exist for other endpoints, but treat multi-model support as secondary. If multi-provider routing is primary, prefer a framework or custom loop and keep tools portable.
How is this different from calling the Chat Completions API myself?
You can always write a while-loop over tool calls. The Agents SDK adds agent objects, runner semantics, handoff tools, guardrails, sessions, tracing hooks, and MCP integration so you do not rebuild those each project.
When should I start on native and plan to migrate later?
When the first product is single-provider, the loop is simple, and you enforce pure tools plus external schemas. Write an ADR that names the exit triggers (multi-cloud mandate, graph resume needs, etc.).
Do handoffs make multi-agent "solved"?
No. Handoffs transfer conversation control among specialists. You still design who owns the final answer, what history each agent sees, and how shared state is stored outside the transcript.
Are Anthropic tool-use primitives "less agentic" than OpenAI Agents SDK?
They are lower-level by design. Anthropic gives robust tool calling on Messages; you (or a thin library) own the agent loop. That can be an advantage when you want explicit control.
Where does Google ADK sit relative to OpenAI Agents SDK?
Both are provider-aligned agent toolkits. ADK emphasizes multi-language SDKs, Gemini/Vertex gravity, and multi-agent workflow patterns. OpenAI Agents SDK emphasizes Python-first Agents/Runner, handoffs, guardrails, and deep OpenAI platform integration. See the comparison cheatsheet in this section.
Should startups default to native SDKs?
Often yes for v1 if they already bet on one model vendor. Revisit when reliability needs (resume, complex HITL) or multi-model procurement force a control plane change.
What should never live only inside the SDK agent object?
Business invariants, authorization, durable customer state, and tool implementations that other services must call. Keep those in domain modules with tests independent of the runner.
How do I explain the choice to non-engineers?
Native SDK: faster path on the model platform you already pay for. Framework: better when the product is the workflow across many systems and models. Custom: when neither abstraction matches compliance or cost constraints.
Does using native primitives prevent using MCP?
No. OpenAI Agents SDK has first-class MCP transports and hosted MCP tools. MCP is a tool-connection standard; natives and frameworks can both speak it.
What is the highest-leverage portability investment on a native stack?
Pure tools with JSON-serializable inputs/outputs, versioned schemas, and prompts stored as data - not as irreproducible strings buried only in agent constructors.