Topic 2 of 5 · 5 min read
Writing worker briefs with clear boundaries
Goal: Rewrite a vague worker instruction so it states the objective, the output format, the allowed tools and the stop condition.
A worker knows only what its brief says, so the brief must state the objective, the output format, the tools and sources it may use, and when to stop. The lead has read the whole conversation. The worker has read nothing.
Check yourself · 1 of 3
Why must a worker brief repeat context the lead already has?
Why it matters
A worker starts with an empty context. If the lead writes "look into the pricing", the worker has to guess which products, which regions, which date, and how long to keep going. Different guesses give reports that cannot be merged. Most multi-agent failures that look like "the model was wrong" are briefs that left a gap.
The five parts of a brief
- Objective. One question or one job, with the reason it is needed. "Find the monthly list price in USD of the Team plan of each tool, to fill column 3 of the comparison."
- Scope and boundaries. What is in, what is out, and what another worker is already covering. "Another worker covers enterprise pricing; skip it."
- Output format. A shape the lead can merge without rewriting: a JSON object with fixed keys, a table row, a diff, a list of claims each with a source URL. Ask for "unknown" rather than a guess.
- Tools and sources. Which tools to use, which sites or folders are allowed, and which are not. For code workers: which files they may edit and which commands they may run.
- Stop condition. A budget and a finish line: "At most 8 tool calls. Stop when you have the price for all five tools or have tried two sources for each."
Before and after
Weak brief:
Research the competitor pricing.
Better brief:
Objective: find the monthly list price in USD for the Team plan of Linear, Jira and Shortcut, for a comparison table.
Scope: public pricing pages only; ignore enterprise and annual discounts. Another worker covers features.
Tools: web search and page fetch. Do not use forums or review sites.
Output: JSON array of {"tool", "price_usd_per_user_month", "source_url", "checked_date"}. Use null if you cannot find a price.
Stop: after 8 tool calls, or when all three are filled. Report what you could not find.
What goes wrong
- Short brief, long guess. The worker fills gaps with the most likely guess and reports it as fact.
- Format left open. One worker returns prose, another a table, and the lead spends its tokens reformatting.
- No stop rule. The worker keeps searching, spends the budget and returns a long report of weak results.
- Hidden constraints. "Do not edit the tests" lives in the lead's head, so a coding worker edits the tests.
Examples
A coding worker brief
Objective: add input validation to POST /orders in api/orders.ts.
May edit: api/orders.ts and api/orders.test.ts only.
May run: npm test -- orders.
Do not touch: db/, any migration.
Output: a diff, plus one line per test you added.
Stop: when the orders tests pass, or after 3 failed attempts; then report the failing output.
Asking for evidence
A research brief ends with: "For every claim give the URL and one quoted sentence from the page. If no page states it, write not found." The lead can now check each claim in seconds and can see which ones were never supported.
Key points
- A worker sees only its brief, so every fact it needs must be written in it.
- State the objective as one question or job, with the reason it is needed.
- Name the output format so the lead can merge reports without rewriting them.
- List allowed tools, sources and files, and what another worker already covers.
- Give a stop condition: a budget of calls or time, and a finish line.
Common mistakes
- Passing the user's raw request to the worker as the whole brief.
- Leaving the output format open and receiving prose that must be re-parsed.
- Omitting a stop condition, so workers burn their budget on weak leads.
- Forgetting to tell a worker what another worker already covers.
Check yourself · 2 of 3
A worker was told only "summarize the incident reports" and returned a 2,000-word essay. Which brief line fixes the problem the lead has?
Check yourself · 3 of 3
Which stop condition is best for a research worker?
Practice items, not counted towards your mastery.
Start here
- How we built our multi-agent research system (Anthropic) (opens in a new tab)ArticleFree
A lead agent with parallel subagents in production: briefs, scaling rules, token cost (about 15x a chat) and lessons learned.
- Building effective agents (Anthropic) (opens in a new tab)ArticleFree
Describes the orchestrator-workers workflow and advises starting with the simplest design that works.
- Orchestrating multiple agents (OpenAI Agents SDK) (opens in a new tab)DocsFree
Compares orchestrating through an LLM with orchestrating through code, and shows handoffs and agents as tools.
More for this topic
- Subagents in the SDK (Claude Agent SDK docs) (opens in a new tab)DocsFree
Defining subagents with their own prompt and tools, and why their context stays separate from the lead.