anth-rate-limits

The Claude API uses token-bucket rate limiting measured in three dimensions: requests per minute (RPM), input tokens per...

github

anth-reference-architecture

Three validated architecture patterns for Claude API integrations: synchronous API gateway, async queue-based processing...

github

anth-policy-guardrails

Implement application-level guardrails for Claude API: input validation, output filtering, topic restrictions, and cost ...

github

anth-observability

Instrument Claude API calls with structured logging, Prometheus metrics, and cost tracking. Every API response includes ...

github

anth-performance-tuning

Optimize Claude API latency and throughput via prompt caching, model selection, streaming, and request optimization. The...

github

anth-multi-env-setup

Configure isolated Claude API environments with per-env API keys, model selection, and spend controls using Anthropic Wo...

github

anth-local-dev-loop

Set up a fast local development cycle for Claude API projects with environment management, request logging, cost trackin...

github

anth-migration-deep-dive

Migration strategies for switching to Claude from OpenAI, Google, or other LLM providers, including API mapping, prompt ...

github

anth-load-scale

Capacity planning and load testing for Claude API integrations. Key constraint: your rate limits (RPM/ITPM/OTPM) are the...

github

anth-install-auth

Set up the official Anthropic SDK for Python or TypeScript and configure API key authentication. The SDK wraps the Claud...

github

anth-known-pitfalls

from anthropic import AnthropicClient # Does not exist import anthropic client = anthropic.Anthropic() // WRONG import ...

github

anth-incident-runbook

| Severity | Condition | Response Time | |----------|-----------|---------------| | P1 | API returning 500/529 for all r...

github

anth-enterprise-rbac

Anthropic provides organization-level access control through Workspaces, API key scoping, and member roles via the Conso...

github

anth-hello-world

Three minimal examples covering the Claude Messages API core surfaces: basic text completion, vision (image analysis), a...

github

anth-deploy-integration

Deploy Claude API integrations with proper secret management, health checks, and rollback procedures across Docker, GCP ...

github

anth-cost-tuning

Optimize Claude API spend through model routing, prompt caching, the Message Batches API, and real-time cost tracking. T...

github

anth-data-handling

Anthropic's data policies: API inputs/outputs are NOT used for model training (commercial API). Zero-day retention is av...

github

anth-core-workflow-b

Two complementary patterns: real-time streaming for interactive UIs (SSE events via POST /v1/messages with stream: true)...

github

anth-ci-integration

Set up CI/CD pipelines that validate Claude API integrations with mock-based unit tests (free, fast) and prompt regressi...

github

anth-core-workflow-a

Implement Claude's tool use capability where the model can call functions you define. Claude returns tooluse content blo...

github

anth-architecture-variants

Four validated architecture patterns for Claude API integrations at different scales and use cases. import anthropic imp...

github

anth-advanced-troubleshooting

import anthropic client = anthropic.Anthropic() count = client.messages.counttokens( model="claude-sonnet-4-20250514", m...

github

retellai-policy-guardrails

Implementation patterns for Retell AI policy guardrails — voice agent and telephony platform. Completed retellai-install...

github

explaining-machine-learning-models

Interpret machine learning model predictions using SHAP, LIME, and feature importance analysis to explain model behavior...

github