Give your agents a job
Learn when a fixed workflow is enough and when bounded agent judgment earns its place.
- Distinguish a predictable workflow from a model-directed agent.
- Write a bounded agent job with inputs, permissions, and a stop condition.
- Define observable evidence for one AI-assisted development task.
Bring with you Curiosity about game development; no engine or AI API experience required.
Start with the job, not the technology
An AI workflow follows a path you designed: receive input, run known steps, validate, stop. An agent is allowed to choose at least one meaningful next action while pursuing a goal. That freedom can help when the route is hard to specify, but it also creates more ways to wander, overspend, or change the wrong thing.
The useful question is not “Can an agent do this?” It is “Where does judgment improve the result enough to justify uncertainty?” A formatter, file copier, or schema checker should remain ordinary code. Reviewing a design, choosing which test to run next, or locating a likely integration fault may benefit from bounded model judgment. Anthropic's agent guidance similarly recommends starting with the simplest workable pattern and adding autonomy only when it pays for itself.
The Signal Garden job
Signal Garden is our running project: a short top-down exploration game. The player finds power cells, repairs three relay towers, then returns to the beacon. The base game must work offline.
Imagine asking an assistant to “help design the game.” That is not a job; it has no boundary or finish line. Give it a smaller role:
| Job field | Signal Garden value |
|---|---|
| Goal | Find the riskiest ambiguity in the current player loop |
| Inputs | One-page brief, map sketch, five-minute target duration |
| May do | Ask questions, compare routes, propose a paper test |
| May not do | Add mechanics, edit files, choose the final design |
| Output | One risk, evidence, and one cheap test |
| Stop | After one recommendation or when required context is missing |
The human owns scope. The agent can inspect and recommend, but it cannot quietly turn a small exploration game into a crafting RPG.
Build a visible loop
A trustworthy job produces evidence at every turn:
- Observe: read only the supplied brief and constraints.
- Decide: select one risk worth testing.
- Act: write a test proposal, not production code.
- Check: verify that the proposal respects the five-minute loop and offline requirement.
- Stop or escalate: return the result, or name the missing decision.
This loop matters more than an impressive prompt. If a run fails, you should be able to see whether the input was incomplete, the decision was weak, or the output violated a boundary. Later lessons will automate parts of this loop; for now, keep it readable.
Failure modes and tradeoffs
The first failure is scope drift: the agent optimizes for an exciting answer instead of your game. The second is false delegation: a human decision, such as the intended audience or emotional tone, is disguised as an agent task. The third is invisible success: the output sounds sensible but has no testable consequence.
Autonomy also has a carrying cost. More tool access requires more authorization checks. More steps require retry and cost ceilings. More memory requires rules for what becomes authoritative. If a two-step workflow solves the task, using an agent is not more advanced; it is merely harder to inspect.
Build task: write the job card
Create design-review-job.md. Include the six fields from the table, then add two examples: one acceptable action and one action that must escalate to you. Run the job twice using the same brief. Do not ask whether the prose is good. Compare whether both runs identify a risk grounded in the supplied design.
Use this prompt with any AI collaborator:
You are the design-review agent for Signal Garden, a five-minute top-down game.
Read only the brief I provide. Identify one ambiguity that could prevent the loop
“find cells → repair three towers → return to beacon” from being understandable.
You may propose one paper test. Do not add mechanics or edit the design.
Return: RISK, EVIDENCE FROM BRIEF, TEST, and NEEDS-HUMAN-DECISION.
Stop after one result. If evidence is missing, say what is missing instead of guessing.
Completion evidence
You are done when the job card names inputs, permissions, prohibitions, output shape, and a stop condition; both trial runs remain inside those boundaries; and a reader can tell why the selected task needs judgment. Keep the two outputs, including a weak one. Evaluation starts with cases, trials, and explicit graders rather than a single pleasing response, a distinction developed in Anthropic's evaluation guide.
A one-page job card for a Signal Garden design-review agent.
Which task most clearly benefits from an agent rather than a fixed workflow?
Go a little deeper.
Primary sources behind this chapter. Signal Garden is our original teaching example.
AnthropicBuilding effective agentsAnthropicDemystifying evals for AI agents