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 Custom Autonomous Agent Loop with Claude Code SDK — Beyond the CLI
Understand the internals of the Claude Code SDK and build custom autonomous agent loops in Python and TypeScript. Covers tool permissions, error recovery, and streaming, plus the cost instrumentation and monthly model audits I rely on in real operation.
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.
Cowork × Python Data Analysis Automation: Build a Weekly Report Pipeline with pandas and Matplotlib
Learn how to combine Cowork's scheduled tasks with Python to fully automate your data analysis reports. From pandas aggregation to Matplotlib charts and Google Sheets integration — a complete, production-ready implementation guide.
Migrating from OpenAI to the Claude API: Code Conversion to Zero-Downtime Production Rollout (2026)
How to migrate from OpenAI GPT-4 to the Claude API: authentication, message-format conversion, streaming, tool use, error handling, and a zero-downtime phased rollout, all with full implementation code.
Production-Ready Stateful AI Agents with Claude API + LangGraph: Graph-Based Design, Persistence, and Human-in-the-Loop
A complete guide to building production-quality stateful AI agents with LangGraph and Claude API. Covers graph design, checkpoint persistence, human-in-the-loop, multi-agent coordination, error recovery, and observability.
Claude Code × Python FastAPI in Production — Architecture, pytest, and Docker Deployment
Building production-ready Python FastAPI servers with Claude Code as an AI pair programmer — Pydantic v2, pytest automation, Docker, and CI/CD, with working code at each step.
Generating 300K Token Long-Form Content with Claude API — The output-300k Beta Feature Explained
Learn how to use the output-300k-2026-03-24 beta header in Claude API to generate up to 300,000 tokens of content in a single request. Covers setup, supported models, streaming, cost calculation, and Python/TypeScript code examples.
Claude API Files API — Persist Documents and Slash API Costs
Learn how to use Claude API's Files API to persist documents and avoid re-uploading costs. Upload PDFs and long documents once, reuse them across multiple API requests with this practical implementation guide.
Build a PDF Analysis and Summarization App with Claude API — Vision plus Extended Thinking
Learn how to build a PDF analysis and summarization application using Claude API's Vision capabilities and Extended Thinking, with step-by-step Python implementation.
Building Automated Agentic Loops with Claude SDK Tool Runner
Learn how to use Claude SDK's Tool Runner and Tool Helpers to build automated tool-calling loops (agentic loops) with practical code examples in Python and TypeScript.
Claude API Token Counting Guide — How to Estimate Token Usage and Optimize Costs Before Sending Requests
Learn how to use the Claude API Token Counting endpoint to estimate token usage before sending messages. Covers cost management, context window optimization, and production implementation patterns.