@anthropic-ai/sdk recipes
2 tested @anthropic-ai/sdk integration recipes with Zod. Exact pinned versions and a last-passed receipt, last run 2026-10-15.
passed2/2typescript
Anthropic SDK message streaming with text deltas, tested with a mocked SSE fetch
Stream Claude responses with the Anthropic TypeScript SDK (messages.stream, text events, finalMessage), tested offline with a fake fetch returning Anthropic SSE events.
@anthropic-ai/sdk@0.134.0tsx@4.23.15
last passed 2026-10-15 14:10 UTC
passed2/2typescript
Anthropic TypeScript SDK tool use loop, tested with a mocked fetch
Run a Claude tool_use loop with the official Anthropic SDK and Zod-validated tool inputs, tested offline with an injected fetch.
@anthropic-ai/sdk@0.134.0zod@4.6.7tsx@4.23.15
last passed 2026-10-15 14:10 UTC