Protocol internals
Endpoints, streaming, limits and error codes.
-
Protocol internals
EN
API Key Hygiene: A Seven-Step Team Walkthrough
A practical walkthrough for engineering teams to inventory, isolate, store, monitor, rotate, and revoke API keys without slowing delivery.
-
Protocol internals
EN
Anthropic SDK: A Custom Base URL Walkthrough
Configure the Anthropic Python SDK for a custom endpoint, verify authentication and model IDs, and test errors, streaming, and production behavior.
-
Protocol internals
EN
Retries and Idempotency for Model API Calls
A numbered walkthrough for retrying model requests safely, controlling duplicate work, and protecting tool execution from repeated side effects.
-
Protocol internals
EN
Monitor API Latency From Your Own Code
A practical walkthrough for measuring API latency, streaming responsiveness, retries, and tail performance inside your application.
-
Protocol internals
EN
Separate API Keys Without Operational Chaos
A numbered walkthrough for separating project API keys, securing deployments, tracking usage, and rotating credentials without disruption.
-
Protocol internals
EN
Concurrency Limits: An Eight-Step Design Walkthrough
Build reliable API workloads with bounded queues, shared concurrency budgets, deadline-aware retries, and practical overload tests.
-
Protocol internals
EN
Streaming Responses with SSE: A Practical Walkthrough
Build reliable SSE streaming with correct event parsing, incremental rendering, cancellation, and explicit completion handling.
-
Protocol internals
EN
Handling 429 Errors Without Making Them Worse
A practical walkthrough for classifying 429 responses, respecting retry delays, controlling concurrency, and testing graceful recovery.
-
Protocol internals
EN
What a 401 From an API Relay Usually Means
A numbered walkthrough for tracing relay authentication failures, checking credentials, and separating client mistakes from upstream problems.
-
Protocol internals
EN
OpenAI-Compatible Endpoints: An Engineer’s Walkthrough
A practical, numbered guide to API compatibility, SDK configuration, streaming, tool calls, retries, and production checks.
-
Protocol internals
EN
Comparing Reasoning Models on Concurrency Bugs
A numbered walkthrough for testing reasoning models on race conditions, deadlocks, cancellation, and the quality of their proposed fixes.