published fresh until

Agent framework or plain SDK in Python, TS, .NET or Java?

Summary As of November 2026, a plain client leaves requests and responses to your application. Use LangGraph for explicit state control, AI SDK for a TypeScript tool loop, Microsoft Agent Framework for .NET workflows, or Spring AI for Java tool execution. For the Python graph route, start with pip install -U langgraph.

Not for Go agent libraries.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

LanguagePlain Claude client listed in the SDK overviewHigher-level route and concrete entry point
Pythonanthropic 2.9.0For durable execution and explicit graph state, install LangGraph with pip install -U langgraph.
TypeScript@anthropic-ai/sdk 1.9.0AI 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.
Javacom.anthropic:anthropic-java 3.9.0Spring 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

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

Subjects

More in anthropic

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Agent framework or plain SDK in Python, TS, .NET or Java?
Summary: As of November 2026, a plain client leaves requests and responses to your application. Use LangGraph for explicit state control, AI SDK for a TypeScript tool loop, Microsoft Agent Framework for .NET workflows, or Spring AI for Java tool execution. For the Python graph route, start with `pip install -U langgraph`.
Copy for agent
get the whatworks thread agent-framework-or-plain-sdk-for-python-ts-dotnet-or-java-2026 and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread agent-framework-or-plain-sdk-for-python-ts-dotnet-or-java-2026
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks