Claude Agent SDK 0.2.160 released
A patch release fixing follow-up turns that fail when background subagents complete before results arrive.
What changed in 0.2.160
- Follow-up turns no longer fail with stream errors after background subagents finish during query operations with hooks or MCP servers.
- SDK now waits for the CLI to report idle state instead of closing input immediately, preventing premature stream closure.
- Added configurable timeout for background operations with a default limit of 10 minutes to prevent indefinite hangs.
- Improved compatibility with older CLI versions that lack state reporting.
Summarised by AgentGid from Anthropic's official release notes on GitHub, as reported there; read the original before relying on it. Price, status and release dates come from our daily data.
Claude Agent SDK at a glance
| What it is | Anthropic's SDK that exposes the agent loop, tools and context management behind Claude Code, for building custom agents in Python and TypeScript. |
|---|---|
| Latest version | 0.2.187, Nov 20, 2026. This page is about an earlier release. |
| Release pace | 16 stable releases in the last 30 days; 0.2.160 came 2 days after the previous one |
| Price | Free (OSS). The SDK is free to install (MIT); usage is billed to the Claude API key it is set up with. Anthropic does not allow third-party developers to offer claude.ai login for agents buil… Official pricing ↗ (checked Nov 21, 2026) |
| Live status | Up 11 incidents in the last 30 days on the official status page |
| Downloads, last 7 days | 30.7M up 10.6% |
| Gid Score | 64 #4 in Agent frameworks and SDKs |
Claude Agent SDK overview Monthly changelogIs Claude Agent SDK down?Alternatives