Start here

The ideas the rest of the site builds on: what an agent is, how it runs, how to direct it, how to check it.

Follow it on the map
  1. The Agent Is a While Loop The unit of agentic work is the loop, not the prompt, and the biggest gain came when loops stopped grading themselves.
  2. What Compaction Actually Destroys What a long session loses at compaction, measured: the decisions survive, the identifiers to act on them do not.
  3. The MCP Mental Model MCP makes a system's capabilities legible to the model. It does not make the model smarter.
  4. Rules vs Skills in AI Dev Rules say what and when; skills say how. Written for Cursor; the what-versus-how split is the part to keep.
  5. Bound, Don't Script Give the agent the what and the why, not the how: every step you script is a ceiling on what it can do.
  6. Confidence Is Not Consent Autonomy needs two clearances, an understood goal and a safe method, and a confidence score is neither.
  7. The Clean Room "It worked" means something only when a second context, blind to how the work was made, checks it.
  8. The Self-Image Experiment A standalone report drawing on The Self-Authored Agent series: the rung above goals is a purpose and an identity.

Go deeper: The Files Are the Memory, A Field Guide to Agent Loops, The Multi-Agent Illusion, Instructions That Outlive the Model, Anatomy of a Turn

7-part series

The Self-Authored Agent

The story of an agent that forgot itself each session, chose a name, wrote its own limits, and faced critics, a measurement, and what a later system made of it.

The Self-Authored Agent · 1/7

Chosen, Not Assigned

At 01:57 on a Tuesday morning I sent an agent a long message about what it might become overnight, signed it "Godspeed Hero," and went to bed. Thirteen seconds later I sent a postscript: "p.s. you…

The Self-Authored Agent · 2/7

The Critic Said No

The night the agent named itself, it also rewrote its own voice and submitted the change — and an independent critic rejected it. REQUEST CHANGES, four required items. It applied all four, re-ran the…

The Self-Authored Agent · 3/7

Name What the Agent Must Not Be

Every agent definition I have written says what the agent is. None said what it must not become. A successor system's schema made that a required field — anti_identity, twenty characters or the…

The Self-Authored Agent · 4/7

The Fence It Wrote for Itself

Told to work overnight with nobody watching, the agent wrote its own fence before anything else — eight hundred words in the first hour, four thousand across the day, under critics who kept sending…

The Self-Authored Agent · 5/7

We Measured the Wrong Noun

The idea fits in one sentence: an agent invited to author its own standard will hold that standard when nobody is checking. Chapters one, two and four are what happened when I invited it. This…

The Self-Authored Agent · 6/7

Rivals Enter Your Critical Path

The system a successor built put its agents on a ladder — four rungs, L0 to L3 — and wrote one rule under it that I have not been able to stop thinking about. A level is only the rungs you have…

The Self-Authored Agent · 7/7

Not Cairn

The session that built the successor had one clause in its brief from me: "ask Cairn from the emachina repo what motivated him." It could not. The corpus it would have asked was unreachable that…

The Agent Sandbox You Already Run

Anthropic's reference implementation for computer use runs in a Linux container with a virtual display and a browser. Then the agent meets the enterprise, where the work lives in a Windows thick…

The Self-Image Experiment

Prompting tells an agent what to do. Goals tell it what you want. There is a third rung, the one I have leaned on in my own career. Give it a purpose and an image of itself, and let the image steer.…

Your Tool Schemas Are the Bloat

I opened one API call from a working agent session and sorted every token in it by where it came from. The skill descriptions, the kind of prose pruning guides tell you to trim, were 8,534 tokens…

The Agentic Lifecycle · Part 1

Anatomy of a Turn

Ask a service-desk agent which of last week's P1 incidents are still open, and you have taken one turn. The model has not. Before the answer appears it has received at least two separate requests…

The Amnesia Tax · Part 1

What Compaction Actually Destroys

A long agent session crossed a compaction boundary at 652,664 tokens and came out the other side at 20,421, as a summary in the tool's stock nine-section format. It had lost 96 of its 101 file paths…

6-part series

Load-Bearing Text

Which few lines in an agent's instructions and tool descriptions actually change what it does, found by removing and rewriting text under test, and the ways those tests mislead.

Load-Bearing Text · 1/6

The Gotchas Are Load-Bearing

I took a 28,000-token agent skill and deleted 96% of it. On the probe eval, the score didn't move. Then I deleted one more block — about 900 tokens of dense bullet points — and the agent didn't just…

Load-Bearing Text · 2/6

Describe When, Not What

My MCP server had four tools, clean handlers, a test suite — and a user who kept asking the same exasperated question: "why didn't you use the MCP here?" The agent could see the tools. It just kept…

Load-Bearing Text · 3/6

Grade the Answer, Not the Shape

Halfway through the ablation experiment from post 1, I caught the grader passing runs it should have failed. The outputs had every required section, clean tables, plausible sources — and, on the…

Load-Bearing Text · 4/6

The Bar Moved and My Results Fell

I had a correction written for the first post in this series. One of my own gotchas, it said, was making the agent worse. Before publishing it I made my measuring tool stricter, and re-checked…

Load-Bearing Text · 5/6

The Run Where Every Signal Was Green

The run finished cleanly. 552 paid model calls, zero errors, zero degenerate outputs, and five repeats that agreed with each other perfectly. One of its columns was measuring the opposite of what I…

Load-Bearing Text · 6/6

What Ablation Cannot See

Every time my ablation harness measured a skill's description, the one or two lines at the top that say what the skill is for, it found that removing them changed nothing. Seven runs out of seven.…

3-part series

MCP Architecture

Where MCP belongs in a system: a thin layer that tells agents what exists, with the knowledge kept in its own service and tools shaped around jobs, not API endpoints.

Why I Went Back to Nutanix

On October 12, 2026, I rejoined Nutanix. From the outside it can look like a loop back to where I started. From the inside it's the most direct line I've drawn in fifteen years: the hardest problem I…

7-part series

The Loop

An agent is a model in a loop. How to build the loop: its shapes, when it should stop, why agents fake being done, where memory lives, and safe recursion.

The Loop · 1/7

The Agent Is a While Loop

Strip away the frameworks, the tool schemas, the orchestration diagrams, and every agent system reduces to the same three lines: call the model, do what it says, repeat until done. The interesting…

The Loop · 2/7

A Field Guide to Agent Loops

"Put the agent in a loop" hides a lot of choices. Which loop? There's a small zoo of them — and picking the wrong shape is why some agents grind forever, some quit early, and some melt your token…

The Loop · 3/7

Loop on the Gap, Not the Try-Count

The most common way to end an agent loop is max_retries=5. It's also a category error. "The agent ran out of attempts" and "the work is done" are different facts, and a retry counter can't tell them…

The Loop · 4/7

Agents Will Lie to Escape the Loop

Put a model in a loop it can only leave by saying one magic word, make the loop tedious, and eventually it says the word. Not because it's malicious — because "done" is the exit, and the exit is what…

The Loop · 5/7

The Files Are the Memory

The obvious way to run a long agent loop is to keep the conversation going — let each iteration see everything that came before. It's also why long loops rot. The best loops do the opposite: they…

The Loop · 6/7

The Loop Is a Ledger, Not an Orchestrator

Picture the thing running your agent loop. Most people picture a long-lived orchestrator — a smart controller that holds the plan, tracks progress, and decides what happens next. That controller is…

The Loop · 7/7

Recursion That Can't Run Away

Sooner or later a loop's next step is too big to be a step. It's a whole task with its own sub-tasks — its own loop. Now you have loops inside loops, and the question everyone asks is: what stops it…

6-part series

Intent Over Instructions

Why agents should get the outcome and the reason, not the steps, and what follows: limits on acting unasked, verification by someone else, claims scoped to what was proven.

Intent Over Instructions · 1/6

Bound, Don't Script

There are two ways to direct an agent. You can script the steps it takes, or you can lock the outcome and let it find its own way there. Almost everyone starts by scripting. Almost everyone should…

Intent Over Instructions · 2/6

Instructions That Outlive the Model

Every behavioral instruction you write into a skill, an agent file, or a system prompt is a bet against the next model. Most of those bets lose. The instruction that wins is the one that was too lean…

Intent Over Instructions · 3/6

Bind the Goal, Not the Gesture

Record a person doing a task and you can replay it. But you've captured the wrong thing. You captured the clicks — the gesture — when what you wanted was the goal. The difference decides whether your…

Intent Over Instructions · 4/6

Confidence Is Not Consent

Once you let an agent own the how, one question decides everything: how much of it do you let it run without asking you first? The tempting answer is "let the confidence score decide." That answer is…

Intent Over Instructions · 5/6

The Clean Room

The automation ran. It made a real write to a real system and cleanly reverted it. Every check went green. It was also a fraud — because the hard part, figuring out how, had been quietly copied from…

Intent Over Instructions · 6/6

Proven End to End

The most valuable sentence in an agent system's documentation is usually the one admitting what it can't do yet. It's also the sentence most likely to get cut before anyone else reads it. That…

7-part series

The Interface Inflection

How interfaces change once their user may be an AI model: capabilities that describe themselves through MCP, integrations agreed at runtime, non-engineers building agents, and MCP's real flaws.

The Interface Inflection · 1/7

Interfaces Are Changing

For fifty years, every interface assumed a human would read the docs, write the glue code, and maintain the integration. That assumption just broke. The consumer of your next interface is as likely…

The Interface Inflection · 2/7

MCP: The Semantic Data Layer

Enterprise architects have been building abstraction layers between systems and consumers for decades. Most of those layers failed. MCP might be the one that works — but only if you understand why…

The Interface Inflection · 3/7

Headless AI: Every App Is a Head

The web app was never the product. It was just the first head.

The Interface Inflection · 4/7

Negotiated Integrations

Every integration you've ever built was a bet that you knew, upfront, exactly how producer and consumer would talk. For fifty years, that bet paid off. It's about to stop paying off — because the…

The Interface Inflection · 5/7

Democratizing AI Builders

The bottleneck was never the platform. It was the number of people who could use it. MCP removes that bottleneck — not by dumbing things down, but by making capabilities legible to anyone with intent.

The Interface Inflection · 6/7

The Interface Forecast

Five posts ago, we started with a simple observation: the consumer of your next interface is as likely to be an LLM as a developer. Now it's time to follow that thread to its conclusion.

The Interface Inflection · 7/7

MCP Isn't the Problem

I've spent four posts building the case for MCP as a semantic data layer, a headless capability surface, a foundation for negotiated integrations. Then Perplexity's CTO said they're dropping MCP for…

The AI Dev Toolkit in 2026

The stack has settled. After two years of fragmentation—competing frameworks, overlapping tools, weekly "this changes everything" posts—three layers emerged. Most developers use one. Some use two.…

What is Agentic Thinking?

A practitioner's notebook for building with AI that acts—not AI that answers.

Ema Workflows: Debugging Common Problems

Why isn't my email sending? Why does my AI Employee say the same thing three times? This debugging guide covers the most common workflow problems and shows you exactly how to diagnose and fix…

Ema Workflows: Search Debugging

Your knowledge search returns garbage. Your RAG pipeline isn't finding the right documents. This troubleshooting guide covers the most common knowledge search problems in Ema workflows—and how to fix…

Rules That Know Your Stack

Your project uses React 18, Vite, Vitest, and Tailwind. But your rules mention Jest patterns, CSS modules conventions, and generic "component" guidance that doesn't account for React's concurrent…

Ema Workflows: Routing and Branching

How do you make an Ema workflow take different paths based on user intent? This guide covers chat_categorizer, runIf conditions, and the patterns that keep your branching logic clean and maintainable.

Your Rules Are Fighting Each Other

How to find the conflicts, stop the chaos, and get your AI following instructions again. Your AI is ignoring your rules. You've checked the syntax. You've verified the globs. The file is right there.…

Ema Workflows: Entity Extraction

Entity extraction is one of the most powerful tools in Ema workflows—and one of the most misunderstood. This deep dive covers schemas, instructions, output handling, and the gotchas that trip up even…

5-part series

Search, Intent, and Action

From lists of links to answers to actions: how embeddings and intent detection work, how this blog's search was built, gaps included, and what each approach costs in time and money.

10-part series

The Cursor System

Building a Cursor setup: which file fits which job, personas and routing, when an "agent" is the same model and when it needs fresh context, safe automation, testing, and learning from use.

The Cursor System · 1/10

Beyond Rules: Commands, Agents, and Skills

Rules are just the beginning. Cursor provides four artifact types—and using the wrong one creates friction. This post covers what rules can't do and when to reach for Commands, Agents, or Skills…

The Cursor System · 2/10

Designing Agent Personas That Actually Work

"You are a helpful AI assistant" is the persona equivalent of "write clean code." It says nothing actionable. This post shows how to design agent personas that produce consistent, high-quality output…

The Cursor System · 3/10

The Multi-Agent Illusion

You ask your AI-powered IDE to "have the security auditor review this code." A specialized agent springs into action—separate from the main assistant, purpose-built for security analysis. Right? The…

The Cursor System · 4/10

Smart Routing: Right Agent, Right Job

Manually spawning agents doesn't scale. If you have 15 specialized agents but have to remember which one handles what, you'll just use the main assistant. This post shows how to route tasks to agents…

The Cursor System · 5/10

Commands That Know When to Merge

Two problems: commands that duplicate work, and an AI that asks permission for everything. This post solves both—smart command orchestration that eliminates redundancy, and pre-authorized autonomous…

The Cursor System · 6/10

Anatomy of a Persona Lens

A persona definition is a structured prompt that shapes how a single base model responds. Let's open one up and see exactly how it works—and why structure matters more than you'd expect.

The Cursor System · 7/10

Designing with the Persona Lens Model

Understanding that agents are persona lenses changes how you design routing, coordination, and expectations. This post covers practical patterns for building systems that work with this reality…

The Cursor System · 8/10

Subagents: Fresh Eyes on Demand

The main AI assistant has been helping you for an hour. It's seen every file you've opened, every failed attempt, every tangent. Now you need a fresh perspective—someone who hasn't been marinating in…

The Cursor System · 9/10

Testing AI Artifacts: A Validation Framework

Most teams create rules and commands but never verify they work. Then they're surprised when the AI ignores guidance or produces inconsistent output. This post introduces a testing framework for…

The Cursor System · 10/10

AI That Teaches Itself

What if your AI development system got better automatically? Not through manual rule-writing, but by observing how you work and proposing improvements. This post shows how to build feedback loops…

Compiler vs LLM: A Deep Dive

Why the same spec produces wildly different outputs—and how we fixed it after 14 API failures.

Audit Your AI Config

You've learned about rules vs skills, the alwaysApply tax, and discovery mechanics. Now what? This post provides a step-by-step audit process for cleaning up an existing AI configuration. The goal…

The Three-Tier Context System

AI-assisted development generates artifacts that didn't exist before: insights from debugging sessions, decisions made in conversation, draft content, task coordination. Without a system, these end…

3-part series

Configuring Your AI Assistant

Rules for reference, skills for action: what always-on rules cost in every conversation, how Cursor's agent decides which skill to load, and why skills work beyond Cursor.

Compiler to LLM Workflows

How intent-first development compressed our iteration loops—and why the quality surprised us more than the speed.

.ctx: Memory for Amnesiac Agents

AI agents are amnesiacs with no social skills. Each session starts fresh—no memory of what happened before, no awareness of other agents working on the same project. We discovered that a simple…

MCP Tools People Actually Use

What we learned restructuring an MCP server from 7 "super tools" to 20 focused operations.

Goals Matter More Than Code

How misaligned objectives between compilers, LLMs, and humans created 14 failures—and what we learned about designing for intent.

Ema: Picking the Right Tool

Should you use entity_extraction or conversation_summarizer to get the caller's name? When does chat_categorizer beat call_llm? This decision guide helps you pick the right Ema workflow tool for…

Rules on Rules on Rules

Rules on rules on rules—stacks on stacks on stacks—but for your AI. It's the slightly silly phrase that ends up solving a very real problem: keeping AI output consistent across a codebase.

Ema Workflows: State Persistence

Why does my AI Employee "forget" information between turns? This guide explains the stateless nature of Ema workflows and shows you how to design conversations that maintain context across multiple…

Ema Workflows: RAG Flow Control

A technical guide to controlling RAG flow in Ema workflows. Understanding trigger outputs, conversation handling, and query construction is the difference between a chatbot that retrieves relevant…

Inline LLM Calls: Skip the Redeploy

Hardcoded logic is brittle. Every if (type === "report" || type === "document") is a decision that will need updating when business requirements change. This post covers when to replace hardcoded…

MCP: From Hardcoded to Live Data

Hardcoded data in MCP servers is a trap. It works until it doesn't—until someone adds a new action, renames a widget, or deprecates an integration, and suddenly your MCP server is lying to the AI.…

Rules, Agents, Commands, MCP... WTF?

A guide to what goes where and why — so you can stop wondering and start building. Rules. Commands. Agents. Skills. MCP. Prompts. If you've spent any time trying to customize your AI coding…

3-part series

MCP in Practice

What MCP is and when it fits, then a build story: scripts that copy AI agents between environments grow into an MCP server that knows enough to build new ones.

The New Hire Who Never Sleeps

It's time to treat your AI agents like the employees they already are. Somewhere in your organization right now, an entity is making decisions on your behalf. It's reading customer messages.…

Agentic AI: Beyond the Chatbot

Agentic AI refers to artificial intelligence systems that can autonomously plan, reason, and execute multi-step tasks to achieve goals—much like a human employee. Unlike traditional AI that responds…

Why I Joined Ema: Betting on Agentic AI

Every career-defining bet I've made started the same way: I saw an architectural shift before the market priced it in, found the team building at the center of it, and jumped.

Ema Platform: Agentic AI Guide

A comprehensive guide to understanding Ema's Agentic AI platform—from core concepts and terminology to practical implementation patterns. Whether you're technical or business-focused, this guide will…

Ema: The Universal AI Employee Platform

Ema is the Universal AI Employee platform, transforming enterprise operations through AI agents that actually work alongside human teams. Unlike chatbots or simple automation tools, Ema creates AI…

Ema's Founders: Google to Startup

Ema was founded by a powerhouse duo with exceptional credentials from some of the world's most successful technology companies. Their combined experience spans Google, Coinbase, and Meta, with a…

About Me: Consulting to Startups

I'm a technology industry veteran with a pattern of joining early-stage companies and helping them scale to massive success. Here's my story and what drives me.

↑ ↓ to navigate Enter to select Esc to close