All Articles
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.
Claude Code Stopped Mid-Task? A Practical Recovery Guide to Resume Work Safely
When Claude Code stops responding mid-task, the worst thing you can do is immediately retry. This guide walks you through a 5-step recovery process using git to confirm what was completed before resuming safely.
Gemma 4's Thinking Mode vs. Claude Extended Thinking: What's Actually Different
Gemma 4 introduced internal reasoning that generates 4,000+ tokens before answering. Here's how it compares to Claude Extended Thinking, what makes them different, and when to choose each.
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.
Claude Code Tool Permissions: Custom Allow/Deny Policies
Learn how to control Claude Code tool permissions with allowedTools, disallowedTools, and settings.json. Includes project-specific permission patterns for frontend, backend, and read-only review scenarios.
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.
Why Claude Forgets What You Said — And 5 Fixes That Actually Work
Claude losing track of your instructions mid-conversation? Learn why context windows cause this and 5 practical strategies to keep Claude on track in long chats.
Claude Code Sub-agent Patterns — Designing Autonomous Task Decomposition and Parallel Execution
Dissect Claude Code's internal Sub-agent architecture and learn concrete design patterns for task decomposition, parallel execution, and result merging in your own projects.
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.