Writing & Ideas

Thoughts on AI engineering, LLM systems, and building software that scales.

A terminal screen in a dark server room displaying warning diagnostics and corrupted data streams
October 19, 2026

5 Things That Break When an AI Demo Goes to Production

Why AI demos fail in production: explore 5 critical failure modes in latency, noisy inputs, cost, hallucinations, and evals, plus practical …

AI Engineering LLMs AI Agents
A split architectural diagram comparing linear conversational chatbot flow with circular autonomous AI agent loops
October 19, 2026

Chatbot vs. Agent: The One-Line Test for Your Architecture

Chatbot vs agent: learn the one-line test to choose the right AI architecture, compare latency, costs, and failure modes, and avoid unnecessary …

AI Engineering AI Agents Chatbots
An AI engineer workstation with dual monitors displaying evaluation metrics, trace waterfalls, data pipelines, and audio waveforms
October 19, 2026

What an AI Engineer Actually Does All Day: 5 Workflows Behind the Prompts

An honest look at what an AI engineer does all day: data cleanup, evals, latency and cost tuning, guardrails, and talking to users to ship reliable …

AI Engineering LLMs AI Agents
Illustration of a compiled software block opening into glass layers and a graph of connected evidence nodes.
October 17, 2026

Reverse Engineer Anything (REA): Setup and Use Cases

Reverse Engineer Anything (REA) connects an AI coding agent to tools that inspect compiled software, packaged applications, and browser behavior. It …

MCP AI Agents AI Agent Tools
A person standing in darkness holding a lit flashlight, its beam cutting through the black
October 14, 2026

Tracing a Python API with OpenTelemetry

The report always sounds the same: “the app is slow sometimes.” Not on every request, not for every user, and not reproducible on demand — …

Python FastAPI Observability
An aerial view of a busy highway filled with traffic
October 12, 2026

Rate Limiting an API: Token Bucket, Sliding Window, and Redis

Most rate limiters in production aren’t wrong because someone picked the wrong algorithm — they’re wrong because someone picked an …

Python Redis API Design
Shipping containers stacked and lined up at a busy port
October 10, 2026

Small, Fast, Reproducible Python Docker Images

Most Python Docker images are bad in the same three ways at once: they’re huge, they rebuild from scratch on every code change because the …

Python Docker DevOps
A large warehouse interior with neatly organized rows of shelving and storage bins
October 8, 2026

Structured Outputs from LLMs That Don't Break in Production

The demo works every time: ask the model to return JSON matching a schema, json.loads() the response, move on. Then it ships, and three weeks in, …

LLM Pydantic Python
A clear glass jar filled with coins, illustrating savings
October 7, 2026

Cutting LLM Costs Without Shipping a Worse Agent

The instinctive move when an LLM bill gets uncomfortable is to swap the model for a cheaper one and call it done. Sometimes that’s genuinely …

LLM AI Agents Cost Optimization
A dark workshop filled with hand tools hanging on a pegboard and wood pieces on a workbench
October 5, 2026

Building an MCP Server in Python

Most MCP tutorials show you a “hello world” tool — one function, two arguments, a print statement — and stop right where the actual …

MCP Python AI Agent Tools
A pair of hands typing on a laptop keyboard at a desk
October 3, 2026

Human-in-the-Loop Agents with LangGraph

The pitch for autonomous agents is always “it handles the whole task end to end.” The reality of shipping one is that almost nobody …

LangGraph AI Agents Postgres
An abstract image of a network of interconnected dots
October 1, 2026

LangChain vs LangGraph: When You Actually Need a Graph

Ask a team why they moved from LangChain to LangGraph and you’ll usually get a shrug and “the agent kept doing weird stuff.” That …

LangGraph LangChain AI Agents