🔥 Hot Repo: Anthropic's Agent SDK Drops S3, Redis, Postgres in 48 Hours
Anthropic's official Python SDK for orchestrating Claude Code agents just landed full session persistence to S3, Redis, and Postgres — 10 releases in April alone, v0.1.65 dropped today.
By OMC Editorial on 2026-04-22
Anthropic's Python Agent SDK Drops S3, Redis, and Postgres in 48 Hours
Anthropic's official Python SDK for building agents on top of Claude Code delivered two notable releases in the past 48 hours, capping a month of aggressive development that added enterprise-grade session persistence, distributed tracing, and skills management to Python agent pipelines. The repo now sits at 6.5k GitHub stars and is shipping roughly one new version every two days.
What it is
anthropics/claude-agent-sdk-python is the programmatic surface for Anthropic's Agent SDK — the same runtime that powers Claude Code's subagents, Xcode's native Claude integration Xcode 26.3, February 2026, and the Claude plugin marketplace. A single pip install claude-agent-sdk gives developers:
- query: an async iterator for one-shot agent calls
- ClaudeSDKClient: stateful, bidirectional sessions with custom in-process MCP tools, Python hook callbacks, and fine-grained permission control
- Bundled Claude CLI: no separate install step required
python
import anyio
from claudeagentsdk import query
async def main:
async for msg in queryprompt="Refactor this function":
printmsg
anyio.runmain
What shipped this week
v0.1.64 April 20, 2026 introduced the biggest single feature since the SDK launched: a full SessionStore adapter layer, bringing Python to parity with the TypeScript SDK. The release includes:
- A five-method SessionStore protocol append, load, listsessions, delete, listsubkeys
- An InMemorySessionStore reference implementation for development
- Three copy-in reference storage adapters: S3 JSONL part files, mirrors the TypeScript S3 reference, Redis RPUSH/LRANGE lists with a sorted-set index, and Postgres asyncpg + JSONB rows
- Nine new async helper functions: listsessionsfromstore, forksessionviastore, getsessionmessagesfromstore, and six more
- A 13-contract conformance test harness at claudeagentsdk.testing.runsessionstoreconformance, so third-party adapter authors can verify