Guide for Anthropic Python/TypeScript SDK usage including messages API, streaming, prompt caching, batches, token counting, and error handling. Use when the user is building with the Anthropic API, setting up Claude SDK, calling messages endpoints, implementing streaming, or troubleshooting API errors.
Receba novas skills de DevOps e Infra toda segunda
1 email curto, só com as skills novas de DevOps e Infra. 4 minutos de leitura, sem spam, cancela com 1 clique.
Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.
Ler descrição completaRecolher descrição
Anthropic SDK Guide
Comprehensive reference for building with the Anthropic Python and TypeScript SDKs. Covers initialization, messages API, streaming, prompt caching, batches, and error handling.
When to Use
User is setting up Anthropic SDK (Python or TypeScript)
User is calling the Messages API or needs streaming responses
User wants prompt caching, batch processing, or token counting
User is debugging API errors or rate limits
User asks about Claude model IDs or API configura
[Description truncada. Veja o README completo no GitHub.]