AI Agents in Production — Day 3: Error Handling & Resilience
Agents fail. Handle it gracefully. Implement retry with exponential backoff, circuit breakers, fallback chains, and graceful degradation — so your agent survives production chaos.
2517 words
|
13 minutes
AI Agents in Production — Day 4: A/B Testing Prompts & Configs
Ship changes to your agent without breaking production. Implement prompt versioning, gradual rollouts, A/B experiments, and automated evaluation pipelines with weight-based traffic splitting.
2792 words
|
14 minutes
AI Agents in Production — Day 2: Caching Strategies
Stop paying for the same LLM call twice. Implement semantic caching, tool result caching, session-aware TTLs, and cache invalidation for AI agents — with Redis and embeddings.
2866 words
|
14 minutes
AI Agents in Production — Day 1: Observability & Telemetry
Stop running agents in the dark. Implement structured observability for AI agents — trace every tool call, track token costs, detect infinite loops, and build a real-time monitoring dashboard.
2555 words
|
13 minutes
Building an MCP Server from Scratch — Day 5: Testing, Publishing & Ecosystem
Test your MCP server with automated tests, publish it to npm/GitHub, register on community directories, and explore the broader MCP ecosystem of clients, tools, and best practices.
2459 words
|
12 minutes
Building an MCP Server from Scratch — Day 4: Authentication & Production Hardening
Secure your MCP server for production. API key authentication, Express middleware, rate limiting, CORS policies, environment validation, graceful shutdown, and Docker security hardening.
2587 words
|
13 minutes
Building an MCP Server from Scratch — Day 3: SSE Transport & Remote Deployment with Docker
Take your MCP server from localhost to remote. Full SSE transport implementation with Express.js, Docker multi-stage build, environment configuration, health checks, MCP Inspector over SSE, and connecting Claude Desktop remotely.
2848 words
|
14 minutes
Building an MCP Server from Scratch — Day 2: Resources, Prompts & Advanced Tools
Add Resources and Prompts to your MCP server. Expose issue comments as readable content, create reusable prompt templates, add advanced tools with pagination and streaming, and test all three capabilities together with MCP Inspector.
3029 words
|
15 minutes