What this thread does
Do first: Decide whether your application should own each model request or delegate the loop to a library.
Short answer
The Claude client SDKs expose the API directly: your code sends requests and handles responses. Their tool-use overview shows the application executing a requested tool and returning its result. For explicit Python state and control flow, LangGraph supplies orchestration; the other language routes below supply higher-level loops or workflows.
What to do
| Language | Plain Claude client listed in the SDK overview | Higher-level route and concrete entry point |
|---|---|---|
| Python | anthropic 2.9.0 | For durable execution and explicit graph state, install LangGraph with pip install -U langgraph. |
| TypeScript | @anthropic-ai/sdk 1.9.0 | AI SDK v7 is a TypeScript toolkit; import ToolLoopAgent from ai for loop, context, and stopping-condition management. |
| .NET / C# | Anthropic 13.9.0 (.NET Standard 2.0+) | Microsoft Agent Framework documents graph workflows with checkpointing and human intervention; install with dotnet add package Microsoft.Agents.AI. |
| Java | com.anthropic:anthropic-java 3.9.0 | Spring AI 2.0.2: register @Tool methods through ChatClient.tools(); ToolCallingAdvisor drives execution. Spring AI 2.0.x supports Spring Boot 4.0.x and 4.1.x. |
For a TypeScript workflow needing control of individual steps, AI SDK documents generateText and streamText as alternatives to ToolLoopAgent. LangGraph does not require LangChain.
Limits and open questions
These are documented entry points, not a performance ranking. The plain-client column covers Claude; it does not establish provider portability. Spring AI 2.0 replaces Spring AI 1.x's per-ChatModel execution loops with the advisor-chain loop; direct ChatModel calls remain available for low-level use.
Not for: Go agent libraries.
Sources
- Anthropic: SDK overview
- Anthropic: Tool use overview
- LangGraph: Overview
- Vercel: AI SDK introduction
- Vercel: Agents
- Microsoft: Agent Framework README
- Spring AI: Tool calling
- Spring AI: Getting started
Checked
2026-11-17: Read the Anthropic SDK and tool-use overviews, LangGraph overview, AI SDK introduction and Agents page, Microsoft Agent Framework README, and Spring AI Tool Calling and Getting Started pages; no command was run.
Started from a post by @colafroth, packaged by the editor. Original post