The Four Ways to Build
The four paths onto the Claude Developer Platform, separated by two questions: who supplies the harness, and who supplies the deployment.

The 2x2
Anthropic's platform offers four distinct ways to build an agent. They stop being confusing the moment you sort them by the harness (the agent loop) and the deployment (the infrastructure it runs on). Details below are drawn from platform.claude.com/docs and code.claude.com/docs; verify against the live docs, beta surfaces drift.
| Path | You write | Harness | Deployment |
|---|---|---|---|
| Messages API, manual loop | the tool-use loop itself | you | you |
| Messages API + Tool Runner | just your tool functions | the SDK | you |
| Claude Agent SDK | a prompt plus options | the SDK (the Claude Code harness as a library) | you |
| Managed Agents (beta) | an agent config | Anthropic | Anthropic |
Three of the four leave deployment to the builder. Managed Agents is the only path where Anthropic supplies both halves: hosted sandbox, durable sessions, Vaults for secrets, Scheduled Deployments, capacity.
One confusion worth killing early: Tool Runner is not the Agent SDK. Tool Runner is a helper inside the regular Anthropic SDK that loops over tools you define. The Agent SDK is Claude Code packaged as a library, with built-in file, shell, and web tools. Both are harness-only.
Choosing between them
- One well-scoped call (classify, extract, summarize): just the Messages API. Do not build an agent. This is Anthropic's own standing advice; Building effective agents (December 2024) urges "finding the simplest solution possible, and only increasing complexity when needed."
- Custom tools, API-first, you want the loop: Messages API with Tool Runner.
- Fast local iteration, or production on infrastructure you want to control: Agent SDK, plus your own sandbox, session store, and isolation.
- Production without the infrastructure lift: Managed Agents.
What switching paths has done in practice
- OffDeal moved its M&A agent to the Agent SDK and reports eval accuracy rising from 25% to 85% overall, with the switch itself doing the first leg: "Just switching to the SDK moved our score on that eval from 25% to 60%." (source)
- Freedom Forever benchmarked the Agent SDK on web automation at a "97.5% success rate on complex web automation benchmarks where alternative frameworks hit 20–60%." (source)
- Pendo tried building its own agent infrastructure for about three months, then reached production on Managed Agents in "About three days." (source)
- Sentry shipped its Managed Agents integration "in weeks instead of months" with one engineer. (source)
The honest caveats
Managed Agents is beta and, at time of writing, not available through Bedrock or Vertex; confirm current status in the platform docs before committing an architecture to it. And sometimes the right tier is the lowest one: if a script or a single call solves the problem, every row above it is overhead. The wiki's Build on Claude tool walks a specific product through this exact decision.
Further Reading
- The Harness and The Deployment: the two axes of the 2x2.
- Agent Once, Session Every Run: the usage rule once you land on Managed Agents.
- The Tools: a paste-in file that applies this decision to your product.
- The Index: every published build, with the surface each one chose.