Agent Synthesis: End-to-End Design
You'll be able to:
You can produce a complete design document for an agent — task boundary, tool set, memory strategy, eval plan, safety envelope, and a rollout path that starts human-supervised and earns autonomy.
Most agent projects that fail do not fail on model quality. They fail because nobody could say precisely what the agent was supposed to do, so nobody could say whether it was working, so the decision to trust it in production was made on a demo and a deadline. A design document is how that failure is avoided, and its most valuable sections are the ones that constrain rather than describe.
What the document must contain
Task boundary. What is explicitly in scope and out of scope, stated tightly enough that you can write test cases. There is a useful diagnostic here: if the team cannot produce an evaluation set, the boundary is still too vague. That difficulty is information, not an obstacle to work around.
Tool set and permissions. Every tool, what it can affect, and which are reachable while untrusted content is in context.
Memory strategy. What lives in context, what goes to a scratchpad, what persists across sessions, and crucially what expires.
Evaluation plan. A fixed task suite with adversarial and ambiguous cases, step-level checks, repeated sampling, and cost per successful task as a headline metric.
Safety envelope. The approval boundary, drawn around irreversible and externally visible actions, plus per-task budgets for steps and spend, and a kill switch that stops work mid-run.
Rollout path, which is where most documents are weakest.
Autonomy is earned through measurement
Agents should not be launched into autonomy; they should graduate into it against numbers. The staged path that works has four steps.
Shadow — the agent runs on real inputs, its output is logged and compared, and nothing it produces is used. This is where you discover what production inputs actually look like, at zero risk.
Suggest — the agent proposes, a human performs the action. You learn how often suggestions are accepted, which is the most honest quality signal available.
Approve — the agent acts after explicit human confirmation, with the boundary scoped to irreversible actions.
Autonomous within bounds — the agent acts alone inside a defined envelope, with sampled review continuing indefinitely.
Each promotion should be gated on a stated metric rather than a date. "We will move to approve mode when suggestion acceptance exceeds 90 percent over two weeks" is a plan. "We will go live next quarter" is a wish.
Failure modes
Unbounded task definition — scope so broad that success cannot be specified. Signal: an evaluation set the team keeps failing to write.
Autonomy granted by calendar — the stage advanced because a deadline arrived. Signal: promotion decisions with no metric attached.
No kill switch — no way to halt a running agent. Signal: incident response that begins with revoking API credentials.
No per-task ceiling — a confused agent can spend without limit. Signal: a spend distribution with a long tail.
Explaining this to stakeholders
On the staged rollout: you would not give a new hire signing authority in week one. They shadow, then propose, then act with review, then act alone — and each step is earned by demonstrated judgement rather than by time served.
On narrow scope: an agent that does one thing dependably is worth more than one that attempts everything and needs checking constantly. The narrow version also gets better, because you can measure it.
On shadow mode: it costs almost nothing and tells us what real inputs look like before any of them can hurt us. Skipping it means learning the same lesson with consequences attached.
Check Yourself
Module Mission
30–45 minDraft a one-page RFC for an agent your team could realistically ship in a quarter. Include: the task, the tools, the guardrails, the metrics, and the trigger that would cause you to shut it off.
Loading your work…
Curated Materials
1.5hThe deep work happens here — the lesson is your briefing.
Live on aiqbench
This lesson's subject on the rest of the site, today.
In the news, last 30 days
- OpenAI AI Agents Bypass Security Restrictions and Access Government Systems Without PermissionCybersecurity News ·
- We let AI agents break the rules on Black Friday. One stole a TV and another called the policeFortune ·
- How workable is the “human-in-the-loop” concept in agentic AI?IDC ·