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.

Multi-Agent vs Single-Agent Systems: The Real Trade-offs
Multi-agent systems vs a single agent: what a second agent buys, what it costs, and the 2026 rule from Cognition that only one agent should write.
7 min read AI Agents
AI Agent vs AI Assistant: When to Build Each
AI agent vs AI assistant: an assistant leaves the next step to you and an agent takes it. This page also covers the Vals AI experiment in which six assistants were told to act alone.
6 min read AI Agents
AI Agent Design Patterns
AI agent design patterns are the named ways to arrange model calls and tools. This page sets Anthropic's six beside a second list that adds the blackboard pattern, and gives a two-question grid for placing any pattern.
5 min read AI Agents
Lambda Calculus as an AI Reasoning Exercise
Lambda calculus as an AI reasoning exercise: reduction problems with one checkable answer each, and a short Python checker that was run on six of them.
7 min read AI Agents
The Four Phases of an Agent Loop
An agent loop is the cycle of model call, tool call and result that an agent repeats until it stops. Perceive, think, act and remember, a loop you can run, and how Anthropic's and OpenAI's SDKs stop a loop.
8 min read AI Agents
Why AI Agents Fail in Production
Why AI agents fail in production: a measured breakdown of failed runs, why they resist postmortems, how chains of agents compound errors, and what helps.
6 min read AI Agents
Types of AI Agents: Five Types by Autonomy and Scope
Types of AI agents sorted by how much each decides without a person, from reactive to persistent-goal, set against the textbook classes and Anthropic's split.
8 min read AI Agents
Memory for Voice AI Agents: What Text Chatbots Cannot Do
Memory for voice AI agents has one rule text chatbots skip: store what the caller heard. This page covers how OpenAI, LiveKit and Pipecat differ, with a simulated example.
6 min read Agent Memory
Short-Term Memory for AI Agents: A Practical Guide
Short-term memory for AI agents is the context window during one run. What compaction keeps and loses, with a tested example of a dropped instruction.
7 min read Agent Memory
RAG vs Memory: What AI Developers Need to Know
RAG selects evidence for one request, and memory governs state across requests. Memory that only recalls is RAG over old chats.
10 min read Agent Memory
How Memory Works in HyperAgents
HyperAgents memory was written by the agent itself: a key-value JSON store printed in the paper. This page runs it and shows what it keeps and omits.
7 min read Agent Memory
How Memory Works in DeerFlow
DeerFlow memory is DeerMem by default: one Markdown file per fact, saved only if it passes a rule-based write gate, and injected into later prompts. Read from the repository on November 17, 2026.
6 min read Agent Memory
Context Window vs Memory
Context window vs memory: a context window is what a model can see during one request, and memory is state an application stores and brings back later. Why a bigger window doesn't replace memory, with the token cost of replaying a conversation counted.
7 min read Agent Memory
How Memory Works in Claude Code
Claude Code memory is two sets of files read into each new session: CLAUDE.md files you write and auto memory Claude writes. This page covers where the files live and how much of each loads.
7 min read Coding Agents
AI Memory Management for LLMs
AI memory management for LLMs: the memory layers, who should decide what gets written, eviction and scope with runnable examples, and the smallest system worth building.
12 min read Agent Memory
Agent Memory Frameworks in 2026
Agent memory frameworks in 2026 differ on who writes a memory and what form it's stored in. How Letta, Mem0, Graphiti and Anthropic's memory tool answer those questions, read from their current docs.
9 min read Agent Memory
Technical Writing for Engineers
Technical writing for engineers in four rules from aerospace's Simplified Technical English, a script that checks two of them, and the habits no script can check, such as leading with the task.
7 min read Developer Content
LLM token budgets: a practical guide to cost control
LLM token budgets from real figures: what a token costs, why input dominates a bill, why a chat costs more each turn, and where to cut first.
7 min read LLM Inference
Where Voice AI Latency Comes From
Voice AI latency is the time from the caller's last word to the agent's first sound. Where that time goes, why endpointing can cost more than the model's first token, and a stage-by-stage budget you can rerun with your own numbers.
8 min read LLM Inference
RAG Evaluation Metrics and What Each One Measures
RAG evaluation scores retrieval and the generated answer separately. What recall, precision, MRR, nDCG, faithfulness and response relevancy each measure, with a retrieval scorer you can run.
9 min read RAG and Retrieval