All Articles
Building a Real-Time AI Processing Pipeline with Claude API and Apache Kafka
Learn how to integrate Claude API into Apache Kafka event streams with production-grade patterns. Implement smart buffering, model routing, and Dead Letter Queues to run large-scale real-time AI analysis at low cost.
Building a GitHub PR Review Bot with Claude API — From Webhook Signature Verification to Structured Reviews with Tool Use
Build a production PR review bot with Claude API and GitHub Webhooks. Enforce structured scoring and security scanning via Tool Use, then handle the parts that bite in production — signature checks that pass only locally, 202 responses that hide failures, debouncing, and cost tracking.
Claude API with Go: Production— Anthropic Go SDK, Concurrency, Tool Use & Microservice Integration
A practical guide to using Claude API with Go in production. Covers streaming with goroutines, concurrent Tool Use, rate limiting with channels, Gin/Echo integration, graceful shutdown, and Kubernetes deployment with working code examples.
Claude API JSON Output Fails: 5 Root Causes and Fixes
Fix Claude API JSON parsing errors with these 5 common root causes: markdown code block wrapping, truncated output, injected commentary, Unicode escaping, and streaming parse failures. Includes copy-paste ready Python utility code.
Claude API × Kotlin Multiplatform — Building Production AI Features for iOS and Android
Integrating Claude API with Kotlin Multiplatform (KMP) to ship production-quality AI assistant features on iOS and Android. Stream termination, mid-stream error events, retry strategies, expect/actual alignment, and testing — written from an indie developer's production experience.
Building Enterprise AI Backends with Claude API and NestJS: Production
Integrating Claude API into NestJS with dependency injection, TypeORM persistence, SSE streaming, JWT auth, and Bull queues—including measured evidence of how a naive SSE client parser silently drops characters, and the fix.
Implementing Claude API SSE Streaming in Next.js App Router
Implement Server-Sent Events streaming from the Claude API in Next.js App Router — ReadableStream, a React hook, cross-chunk buffering, and the two silent failures that only show up in production.
Building Production Conversational AI with Claude API — Context Management, Long-Term Memory, and Safety Filters
Solve context explosion, memory loss, and safety risks in production chat systems with a three-layer memory architecture and integrated guardrails using Claude API
Testing Claude API Applications — Unit, Integration, and E2E Patterns That Hold Up Against Probabilistic Output
Solve the 'AI output changed and broke my tests' problem for good. Learn to combine mocks, semantic assertions, and snapshot testing into a practical test design pattern for Claude API applications.
Claude Managed Agents Sandbox Design: Running Autonomous Agents Safely in Production
A deep dive into the sandbox architecture of Claude Managed Agents, with production-ready security patterns and implementation code for running autonomous agents safely.
Intelligent Model Routing with Claude API — Auto-Selecting Sonnet 4.6 and Haiku 4.5 for Optimal Cost and Quality
Build an intelligent routing layer that automatically selects between Claude Sonnet 4.6 and Haiku 4.5 based on request complexity. Covers classifier design, circuit breakers, fallback chains, and cost monitoring for production deployments.
Running Claude's Message Batches Overnight — What the 50% Discount Actually Covers
What I learned running Claude API Message Batches for real: what the 50% discount covers, the custom_id character restriction, and designing around the 24-hour window and 29-day retention.