Essay · October 2026
Evals are the spec
When agents can build in hours, the hard part of product work moves from building to defining what correct looks like.
For most of my career, a requirements document was a translation layer. Product described the problem. Engineering turned it into software over weeks or months. Questions surfaced along the way, while they were still cheap to answer.
Agents changed the timing. A coding agent can build a working feature in an afternoon. An AI system can change its behavior with a new prompt or a new model.
Building got cheap. Ambiguity got expensive. An agent builds exactly what you under-specified, quickly and confidently.
Under-specification was always the problem
I learned this before agents. Years ago, I shipped a decision-support scorecard for radiologists without specifying how the score ranges were derived, or how to show that reasoning on screen. Engineering built what I asked for.
The first radiologist who used it told us we had made their life worse. They now had to work out why the AI recommended what it did.
The model was fine. The spec wasn't. Agents don't create that failure. They make it happen faster.
What I specify for an agent
PRDs don't go away. We still need the customer problem, the business case, and the workflow. But for an agent, a feature description isn't enough. I define five things:
- The job. The decision or task it supports, and for whom.
- Context and tools. What it can read, which tools it can call, and what it can change.
- Boundaries. What it must never do, and where a person has to decide.
- Behavior when things go wrong. Missing, contradictory, ambiguous, or urgent information: ask, abstain, or escalate. Never guess.
- Evaluation criteria. A labeled set of cases, the threshold to ship, and a clear definition of an error, including any conclusion the source doesn't support.
Deterministic scaffolding around a non-deterministic model
Anyone who has shipped agents has scars from the same failure mode: unbounded non-determinism. Long conversations drift. A small prompt change shifts behavior somewhere you weren't looking.
The answer isn't a better prompt. It's scaffolding. Let the model do what it's good at, like reading unstructured text, drafting, and conversing, and wrap it in deterministic checks: rules that decide what's due, validation of required fields, hard limits on what the agent can say or do, and routing that sends anything uncertain to a person.
The model brings flexibility. The scaffolding brings predictability. You need both.
An example from CareTogether
At CareTogether, Carey, our AI companion, holds check-in conversations with seniors, picks up changes that matter, and decides when to surface them to a caregiver or care team.
A traditional spec would describe the conversation and the information to collect. The agent also needs defined behavior. If a senior mentions skipping a medication, the system has to separate what was actually said from what a model might infer. It captures it, decides whether follow-up is needed, and routes it. If it's ambiguous or possibly urgent, it can't invent an answer or carry on as if nothing happened.
Those expectations become test scenarios:
- Did it capture the information?
- Did it classify the situation correctly?
- Did it escalate when it should have?
- Did it avoid unsupported conclusions?
- Did it keep an auditable record?
Every change to a prompt, a model, or the code runs against those scenarios before it ships. A second model reviews the output. Anything urgent goes to a person.
The eval set becomes the spec
Write requirements this way, and the eval set becomes the most precise statement of what the product should do.
- Write it before the build, with the clinicians or domain experts who know what correct looks like.
- Rerun it on every change to a model, prompt, tool, or workflow. It's the release gate, not a phase before launch.
- Scale the evidence to the risk. A low-risk change can ship behind a flag once tests pass. A change that touches a clinical decision needs broader evaluation, human review, or a staged rollout.
- Treat reviewers' decisions as your best data. When I ran clinical AI in production, the most useful signal was where the AI and the clinician disagreed, checked later against the eventual diagnosis. Every override is a labeled example.
A working prototype still matters. It shows the flow far better than a document or a set of static screens. But the prototype shows how it should feel. The eval set defines what it must get right.
What changes for product leaders
Product owns the intended behavior and the definition of success. Engineering owns how to build it reliably. We validate the result together.
In an agentic world, defining "done" precisely enough that both an agent and an engineer can check it is the job.