What's the difference between the Claude Agent SDK and LangChain?

The Claude Agent SDK is, in Anthropic’s own words, “a library that runs the Claude Code binary,” so it only runs Claude; LangChain is a model-agnostic orchestration library that reaches Claude, GPT, Gemini, or any other supported provider through one unified interface.

That difference shows up in what each one ships with. The Claude Agent SDK inherits Claude Code’s own capabilities wholesale: built-in tools for reading, writing, and editing files, running commands, and searching the web, plus hooks, subagents, MCP support, permissions, and sessions you can resume or fork. None of that is optional or swapped out for a different model. LangChain instead gives you “a single, unified API to work with models from any provider,” over a thousand integrations, and builds its own agents with create_agent, its current agent-construction primitive, formerly named create_react_agent.

That old name is a real clue: LangChain’s agent builder runs the ReAct loop underneath, a reasoning step interleaved with each tool call. The Claude Agent SDK’s loop is Claude Code’s own and isn’t exposed as a separate, swappable reasoning primitive at all.

sources

keep reading

More on this.

Two ways to run Tessary.

Tessary is an open-source agent reliability platform. Cloud and self-hosted run the same workflow on the OpenTelemetry traces your agent already emits.

Tessary Cloud

We host it for you. Send your first trace with nothing to deploy and no model key.

what's includedper organization
traces
10,000 per calendar month
stored trace data
1 GB
retention
30 days
model credit
$10, one-time, for triage and root-cause analysis
credit card
not required

Self-hosted Tessary

Run the open-source code on your own infrastructure with one command. Add your own model key for triage and root-cause analysis.

Self-host Tessary for me by following https://github.com/tessaryai/tessary/blob/main/setup.md

docker compose -f oci://docker.io/tessaryai/tessary:compose up -d -y