The Agent Build Brief
The library’s second hands-on prompt replaces the vague request with an exact plan, in design mode: no tool is created, Make is not opened and no API is called. It names the task, the trigger, the four tools, a decision rule, an action rule and a definition of done.
- Decision rule: the audit must pass before governance runs, every required governance check must return Allowed before either delivery tool runs, and any Needs Approval stops delivery entirely.
- Action rule: the agent may choose among these four tools and nothing else, and no schedule turns on until Run once succeeds for all three test cases.
- Definition of done: the four tool contracts, the order the agent must call them in, and the accounts and destinations it needs. Then stop.
The required order
The agent chooses its route, but inside a fixed order of gates. It drafts, the audit checks the draft, governance checks each proposed action, and only then can a delivery tool create anything.
- TriggerWatch New RowsOne new weekly update in the Governed Weekly Updates Sheet.
- The agentDraftA plain-text summary, and a calendar proposal or NONE.
- Scenario tool 1Audit Executive Brief Against SourcePASS, NEEDS CORRECTION or NEEDS HUMAN. At most three calls.
- Scenario tool 2Check Governance Before ActionOnce per proposed action: Allowed or Needs Approval.
- Module toolsCreate the Doc, then the eventOnly if every governance decision is Allowed. Locked folder, locked calendar, no guests.
The agent chooses its route inside this order. Any Needs Approval stops delivery entirely: nothing gets created.
Four tool contracts
Once the plan is set, the library freezes each tool as a contract: its exact name, what it receives and what it returns. The delivery tools have their connection and destination fixed by hand, so the agent decides only the content.
| Tool | Kind | Receives | Returns or decides |
|---|---|---|---|
| Audit Executive Brief Against Source | Scenario tool, checks | original_weekly_update, executive_summary_text, proposed_calendar_event | audit_status (PASS, NEEDS CORRECTION or NEEDS HUMAN) and audit_report |
| Check Governance Before Action | Scenario tool, checks | original_weekly_update, proposed_action_type, proposed_action_details, audit_report | governance_decision (Allowed or Needs Approval) and reason |
| Create Final Executive Summary | Module tool, acts | A fixed connection and a manually locked folder | The agent decides only the Name and Content of one new Google Doc |
| Create Approved Calendar Event | Module tool, acts | A fixed connection and a manually locked calendar | The agent decides the event name, start, end, time zone and description; guests are always empty |
Name every field
Each checking tool returns two named fields, never one generic Result. The audit gives audit_status and audit_report separately, so the agent can branch on a value instead of reading a decision buried in a sentence.
Key ideaNaming the exact field for every tool is what lets a second person check your build by opening the same tool bubbles you did.
The generalized brief
The library’s foundation version of the brief works for any agent you design.
- It is the same discipline Module 5 used for a fixed scenario, now applied to a system that chooses its own route inside the boundary.
- The follow-up asks which tool could act in the real world without a governance check in front of it, and names the gate for each.
The improved prompt · P1DESIGN MODE — do not open Make or configure anything yet. GOAL: [name it]. TOOLS: [list each one, what it receives, what it returns, and whether it can act in the real world]. DECISION RULE: [how an audit or governance result is used]. ACTION RULE: [what always requires approval; no schedule until every test passes]. DEFINITION OF DONE: the tool contracts with named fields. Then stop.
Key takeaways
- Write the Agent Build Brief before any tool exists.
- Audit, then governance for every action, then delivery: in that order.
- Freeze each tool as a contract with an exact name, inputs and outputs.
- Return named fields you can branch on, never one generic Result.