Articles

Notes, tests, and arguments.

A tutorial should do more than run, and an explanation should do more than agree with the first page of search results. These are my arguments about developer content, documentation, and the AI systems I build around them.

RAG vs Memory: What AI Developers Need to Know
Understand the fundamental differences between RAG and memory systems for LLM applications, when to use each, and how to combine them in production.
10 min read
How Memory Works in HyperAgents
A deep dive into how HyperAgents retain context across interactions, layer memory architectures, and handle session continuity in production.
14 min read
How Memory Works in DeerFlow
A deep dive into the memory architecture of DeerFlow: layered context passing, session state files, sub-agent isolation, and how it compares to Letta, AutoGen, and CrewAI.
12 min read
Context Windows vs Memory: Why They Are Not the Same Thing
Context is a per-request reasoning budget. Memory is persistent state retrieved into a later request. Long input capacity does not make them interchangeable.
10 min read
How Memory Works in Claude Code
A practical guide to understanding how Claude Code retains context across sessions, uses project files, and manages long-term memory for coding tasks.
9 min read
AI Memory Management for LLMs: What Actually Works
A senior engineer's breakdown of what memory management for LLMs actually looks like in production: eviction strategies, KV cache management, importance-weighted retention, and why your agent keeps forgetting things.
19 min read
State of AI Agent Memory in 2026
Agent memory spans working state, episodic history, retrieval, and consistency controls. The right architecture depends on the agent's task and risk.
14 min read
Technical Writing for Engineers: The 80/20 Guide
Most engineering documentation fails for the same reasons. Here is what actually moves the needle.
13 min read
LLM token budgets: a practical guide to cost control
Real numbers, real pricing, and concrete strategies for keeping your LLM spend predictable.
11 min read
How to Trace Latency in a Real-Time Voice Agent
A systems-level guide to tracing latency across endpointing, transcription, model inference, speech synthesis, and transport.
8 min read
RAG Evaluation Metrics: What Actually Matters
A practical guide to RAGAs, recall, precision, and the metrics that separate production RAG systems from prototypes.
10 min read
What Nobody Tells You About Error Handling in Production AI Agents
Hard-won lessons from running AI agents in production: the error patterns that actually break systems, and the patterns that fix them.
8 min read
Context Engineering as Heap Management: Accuracy Risks in KV Cache Eviction
A research-led comparison of KV-cache eviction strategies, including their accuracy risks and implementation trade-offs.
11 min read
PGlite vs SQLite-vec: Vector Search in the Browser
PGlite vs SQLite-vec for vector search in the browser: how the two engines differ, and what to measure on your own data before you pick one.
7 min read
Claude Code vs. Gemini CLI for Repository Refactoring
A workflow comparison of Claude Code and Gemini CLI for repository refactoring, verification, and human review.
3 min read
Quantifying the Engineering Velocity Impact of Technical Documentation
I analyze the structural correlation between documentation quality and engineering throughput, using DORA metrics and Accelerate research to quantify the ROI of technical writing.
11 min read
Stripe Engineering Blog: How It Became a Competitive Moat
I think the Stripe engineering blog became a moat because it teaches the payments domain and lowers integration risk before a sales conversation starts.
12 min read
Why Devtools Startups Lose Deals Over Bad Docs
DevTools startups lose deals long before sales hears the objection. I explain how weak docs break evaluation, trials, and rollout confidence.
11 min read
From Engineer to Technical Writer: What I Kept and What I Left Behind
I explain which engineering habits still make me better at technical writing, which ones I had to drop, and how the day-to-day work changed.
10 min read
The Case for Shorter Technical Documentation
I think technical docs are often too long for the wrong reasons. Here’s why shorter docs usually work better, and where longer docs still earn their keep.
10 min read