Build a Stateful Agent with LangGraph and Trace It with Langfuse
A working LangGraph agent that keeps state across turns, calls real tools, and ships full traces to Langfuse. Real code, runnable end to end.
Thoughts on Cloud Computing, DevOps, and Software Engineering.
Sharing lessons learned from building scalable systems.
A working LangGraph agent that keeps state across turns, calls real tools, and ships full traces to Langfuse. Real code, runnable end to end.
Most MCP tutorials stop at one client, one server. Real agents need many. This guide builds a Python client that connects to two MCP servers in parallel, prefixes their tools to avoid collisions, and hands them to Claude as Anthropic-format tool definitions.
Use Anthropic's official Claude Agent SDK to build a Python agent with custom tools, in-process MCP servers, PreToolUse hooks, and streaming output. Real code, no hand-waving.
Run PostgreSQL in Docker with production-ready config. Covers initialization, persistent storage, automated backups with pg_dump, connection pooling, and performance tuning.
Step-by-step guide to installing the NGINX Ingress Controller on Kubernetes, configuring path-based routing, and setting up automatic TLS certificates with cert-manager.
A complete GitHub Actions workflow that builds a Docker image, caches layers between runs, and pushes to Docker Hub or GHCR. With copy-paste YAML and a comparison of cache strategies.
A hands-on guide to building a production-like local dev stack with Docker Compose. Covers service setup, volumes, health checks, environment variables, and hot reload with real working code.
Model Context Protocol is becoming the standard way to give LLMs access to tools and data. This guide walks you through building a real MCP server in Python, connecting it to Claude Code, and shipping it in under an hour.
A practical setup for a private, offline code reviewer. Pull a coding model in Ollama, wire it to VS Code through Continue, and review diffs without your code ever leaving the machine.
Build a TypeScript MCP server with the official SDK, expose it over streamable HTTP, add OAuth 2.1, test it with the MCP Inspector, and publish it to the official MCP Registry. Production-grade setup, no hand-waving.
A working RAG pipeline in 200 lines of Python: Postgres with pgvector, Voyage embeddings, Claude for generation, and an evaluation loop. Real commands, real costs, no hand-waving.
Run open-source LLMs on your own GPU box and get an OpenAI-compatible API in one command. Covers install, PagedAttention, OpenAI server, performance tuning, and production deployment.
A hands-on guide to Ollama: install, pull a model, run it from the CLI, call it from Python and Node, build a custom Modelfile, and know when to use it instead of vLLM or a hosted API.
Six practical techniques to shrink Docker images by 90%, cut deployment time, and reduce your attack surface. With copy-paste examples for Go, Node.js, and Python.
Best practices for building reliable deployment pipelines for engineering teams — from concept to production-grade pipeline.
Migration journey from monolith to microservices using Kubernetes and AWS. Lessons learned during the transition process.
Practical tutorial on using k6.io for load testing. Includes example scripts and result interpretation for production environments.
Complete guide to setting up monitoring for production infrastructure. From installation to creating meaningful dashboards.
A hands-on guide to orchestrating multiple AI agents in CrewAI. Set up a researcher, analyst, and writer agent, run them through sequential and hierarchical processes, and get a structured research report out the other end.
Learn the Model Context Protocol by building a real MCP server with the Python SDK. Tools, resources, prompts, transport modes, and testing with the MCP Inspector, all with copy-paste code.
A side-by-side guide to forcing LLMs to return valid JSON. Real code for all four major providers, the gotchas that break production agents, and a fallback strategy for local models that do not support tool calling.
Step-by-step tutorial to build a Model Context Protocol server in Node.js, expose tools, resources, and prompts, then connect it to Claude Desktop. Includes copy-paste code and the full TypeScript skeleton.
A hands-on walkthrough of running large language models on your own machine. Pull a model, hit the REST API, use the OpenAI-compatible endpoint, get structured output, and wire it all into a small RAG agent, all from one HTTP server.
A hands-on tour of the official MCP Inspector: launch it against npm, PyPI, or a local server, read the four tabs (Server, Resources, Prompts, Tools), and follow a workflow that catches the bugs you usually only find when a real agent connects.
Prompt caching is the cheapest performance win in LLM apps. Here is how Anthropic, OpenAI, and Google price it, when to use 5-min vs 1-hour TTL, the lookback gotcha that silently breaks your cache, and a copy-paste Python pattern for tool-heavy agents.
MCP turns tools, files, and APIs into a standard protocol any LLM host can consume. Build a working server in 15 minutes with the Python SDK, then connect it to Claude Desktop or the MCP Inspector.
Run a tool-using LLM agent entirely on your machine. No API keys, no rate limits, no data leaving your laptop. Step-by-step with Ollama, a real tool, and a Python loop you can extend.
A hands-on walkthrough of the Model Context Protocol: build a stdio MCP server in ~30 lines with FastMCP, expose filesystem and git tools, debug it with the MCP Inspector, and connect it to Claude Code or Cursor.
Build a real triage agent with the OpenAI Agents SDK: tools, handoffs to specialists, input guardrails that trip on out-of-scope requests, and automatic traces to platform.openai.com. Real code, copy-paste.