Building Agentic Systems
Diagram-led posts on agents that hold up in production, Claude and MCP in practice, RAG and evals, and the forward-deployed engineer interview. Each one links into the guide section that teaches the idea in full.
- Agent engineering10 min
Agent Payments Explained: ACP vs AP2 vs x402 vs UCP
ACP (OpenAI, Stripe) and UCP (Google) standardise agent checkout, AP2 proves user consent with signed mandates, and x402 and card-network programs settle payment. The three layers, dated status for each, and the idempotency, consent, limits and audit you still build.
- Agent engineering11 min
Background Coding Agents: Run Agents in Parallel Without PR Overload
Background coding agents run a scoped task in their own cloud sandbox and return a PR. Fan out only independent, testable tasks; isolate files, machine and network; put the rules in hooks and required checks; and plan for review time and cost that grow with every agent.
- Claude & MCP14 min
MCP Went Stateless: What Spec 2026-07-28 Changes and How to Migrate
MCP 2026-07-28 removed the initialize handshake, Mcp-Session-Id and server-to-client requests. Here is what broke on the wire, which SDKs speak the new revision, the deprecation clocks, and a ten-step checklist to migrate servers and clients without stranding either era.
- Claude & MCP11 min
Which Claude Model? Haiku 5.5 vs Sonnet 5.5 vs Opus 5.5 vs Fable 5.2
Start agents on Opus 5.5 ($4/$20), route high-volume steps to Haiku 5.5 ($0.10/$0.50), use Sonnet 5.5 ($2/$10) for speed and Fable 5.2 ($8/$40) when Opus falls short. Prices, cache multipliers, the Haiku 100K step and a worked routing bill.
Updated - Agent engineering9 min
Why Most AI Agent Pilots Never Reach Production (and How to Ship)
Agent pilots stall on missing pieces, not on the model: no owner, no eval set, no production data access, no security sign-off, no cost bound, no rollback. The data from Gartner and McKinsey, and the six gates, with the artifact each one needs, from the FDE's seat.
- FDE & interviews8 min
The Last Mile Is Hiring — Become a Forward Deployed Engineer Now
The bottleneck moved from the model to the distance between a model that works and a company that can use it. Why that distance is widest right now, what agents took from the job and what they left, and the five questions that expose a bad version of the role.
Updated - RAG & evals12 min
LLM Evaluation Metrics That Actually Matter
The LLM eval metrics that matter come in pairs: success with cost per resolved task, recall@k before answer quality, a judge validated with Cohen’s kappa, pass^k for agents. With working RAGAS 0.4.3 code and the sample sizes that make a score mean something.
Updated - FDE & interviews10 min
AI System Design Interview — A Support Agent, Designed Out Loud
One AI system design problem, a support agent, worked end to end: restate, ask the trust boundary first, derive the bill ($3.9K a month after caching and routing) and the escalation queue, then the architecture, the four places you will be pushed, and the failure modes to name first.
Updated - Claude & MCP11 min
Claude API Tutorial: Tools, Thinking, Streaming and Caching
The Claude API is one Messages endpoint: tools, thinking, caching and structured output are fields on it. Current models and prices (Opus 5.5, Sonnet 5.5, Haiku 5.5), what now returns a 400, one tool call on the wire, and how to prove caching works.
Updated - Agent engineering9 min
How to Prevent Prompt Injection: A Defence Checklist
You cannot filter prompt injection away. Count the legs (untrusted input, sensitive access, outward action), cut one, gate actions in code from arguments and taint, close image and link exits, pin MCP tool descriptions and never forward tokens. A 13-item checklist.
Updated - Claude & MCP9 min
Build an MCP Server in Python: From One Function to Deployable
Install mcp 2.x, decorate a function with MCPServer, and type hints become the tool schema. MCP 2026-07-28 has no handshake or session, so the real work is descriptions, errors the model can act on, auth on the server and idempotent writes. All code tested on mcp 2.3.0.
Updated - RAG & evals11 min
RAG Chunking Strategies — Which One, and How to Tell Yours Is Wrong
Cut on the document’s structure first, then size each chunk to the embedding model’s window (start near 512 tokens, 10–15% overlap), and pick a chunker by recall@k on real questions. Semantic chunking costs about 4× the embedding tokens and often wins nothing.
Updated - FDE & interviews8 min
What Is a Forward Deployed Engineer? The Role, the Work, the Trap
A forward deployed engineer ships production software inside a customer's environment and is measured on whether it gets used. How it differs from sales engineering, solutions architecture and consulting, what the first six weeks look like, and the instinct that sinks a deployment.
Updated - FDE & interviews14 min
60 LLM & AI Agent Interview Questions (With Answers)
Sixty LLM and AI agent interview questions with the short spoken answer for each, current to October 2026: fundamentals, tradeoffs, memory, tool design and MCP, cost, evaluation, security, and the thirteen curveballs that decide most offers.
Updated - Agent engineering9 min
LangChain vs LlamaIndex vs LangGraph — Which One, and When
LlamaIndex is a data layer, LangChain an integration layer, LangGraph a control layer, and LangChain 1.x agents run on LangGraph. A decision tree, current versions (LangChain 1.4, LangGraph 1.2, LlamaIndex 0.14), runnable code for each scenario and the stack where they combine.
Updated - RAG & evals12 min
RAG vs Fine-Tuning — A Decision Framework (and When to Do Neither)
Retrieval fixes missing facts; fine-tuning fixes missing habits. Paste the right passage into the prompt: if the answer turns right, you need RAG. Fine-tune only a narrow, high-volume task a prompt failed, after the break-even math, and on Claude you cannot fine-tune at all.
Updated - Agent engineering9 min
Graph Engineering — Designing What the Agent Is Allowed to Do Next
Graph engineering designs an agent's control flow as an explicit graph: nodes do the work, edges decide what runs next, one state object threads through both. The four patterns that cover most production graphs, checkpointing and its idempotency trap, a worked refund agent, when not to use one.
Updated - FDE & interviews8 min
The Forward Deployed Engineer Interview — What They Actually Ask
An FDE interview tests whether you can be trusted alone with a customer: find the decision before you design, then own the result in production. The round modes as reported, a worked opening for a bank's 4M-PDF ask, and the failure that ends most cases early.
Updated - FDE & interviews7 min
Does the AI Engineer Interview Still Have a LeetCode Round?
Usually yes: one coding round, weighted toward data-structure design, not hard dynamic programming. Its length and AI rule vary by employer, so confirm both. Eight free LeetCode problems that rehearse real AI-system parts, and the follow-ups that decide the round.
Updated - Agent engineering10 min
Context Engineering — Managing the Model's Working Memory
Context engineering is deciding what enters each request as an agent works: stable parts first for the cache, then one move per growing part (select, compress, write, isolate). Worked numbers on Sonnet 5.5, and why current Claude models compact on the server instead of rewriting turns.
Updated - Agent engineering9 min
Loop Engineering: Design the Loop That Prompts the Agent
Loop engineering is building the outer loop around an agent: a trigger, state it reads and rewrites, an independent checker and a hand-off to a human. The parts, Claude Code's /loop, /goal and scheduled tasks, and what a loop costs per month.
Updated - Claude & MCP10 min
Skills vs Subagents vs MCP — A Decision Tree
Skills package knowledge, subagents package work that needs a clean context window, MCP servers package access to outside systems. A three-question decision tree, what each costs the main window, worked scenarios, and current facts: the Agent Skills standard and stateless MCP.
Updated - Agent engineering9 min
Harness Engineering: Building the System Around a Coding Agent
Harness engineering is designing what an agent knows, can touch, may not do, checks and remembers. The five parts, Claude Code's settings levels and permission rules, which primitive fits which job, and a starter project harness.
Updated - Claude & MCP9 min
Claude Code Hooks: Events, Exit Codes and Three Worked Examples
Claude Code hooks run your command at a fixed point in the agent loop: before a tool call, after it, when Claude tries to stop. Exit 2 blocks and tells Claude why. The current events, the settings.json shape, the exit-code contract and three hooks worth copying.
Updated