RepoJournal
Anthropic

@anthropics

Claude SDKs and developer tooling

Keep up with Anthropic in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: AI / ML Full archive →

The Wire · Showcase

CLAUDE AGENT SDK ADDS REAL-TIME SESSION MIRRORING

By RepoJournal · Filed · About Anthropic

The Python SDK now lets you flush session writes on-demand instead of batching them until turn-end, unblocking near-real-time transcript persistence for production agents.

Claude Agent SDK Python shipped an `eager` flush option [1] that bypasses the `TranscriptMirrorBatcher` buffering strategy and delivers `SessionStore.append()` calls immediately, trading adapter latency for observability. The default remains `batched` for backward compatibility, but any agent that needs to stream session state to external stores without waiting for the turn boundary can now opt in. This lands as the SDK continues maturing its session persistence story — critical for agents that need durable, near-real-time audit trails. On the runtime side, Tokio's stall detection handler [2] got a surgical fix: it was clobbering errno during signal handling, corrupting error state in interrupted threads. The fix saves and restores errno around the validation pipe syscalls, a reminder that signal safety remains unforgiving in async runtimes.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] feat(session_store): add session_store_flush option for eager mirroring ↗ anthropics/claude-agent-sdk-python
  2. [2] save errno in stall detection signal handler ↗ anthropics/tokio
  3. [3] feat(session_store): add session_store_flush option for eager mirroring (#905) anthropics/claude-agent-sdk-python

Quick answers

What shipped in Anthropic on May 4, 2026?
The Python SDK now lets you flush session writes on-demand instead of batching them until turn-end, unblocking near-real-time transcript persistence for production agents. In total, 3 commits and 2 pull requests landed.
Who contributed to Anthropic on May 4, 2026?
2 developers shipped this update, including lorenzojb and edwinsmith.
What were the notable Anthropic updates?
feat(session_store): add session_store_flush option for eager mirroring, save errno in stall detection signal handler, and feat(session_store): add session_store_flush option for eager mirroring (#905).

More from @anthropics

Daily updates, in your inbox

Follow Anthropic

Keep up with Anthropic in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?