Agentic AI · Module 6Lesson 2

Study explanation · Lesson 02 · 12 min

Design the agent before you open Make

An Agent Build Brief fixes the goal, the four tools, the order they must run in and the stop rule before any tool exists. Then four tool contracts name every input and output, so a second person can check the build.

Listen to this lesson

Hear the lesson read aloud, with each sentence highlighted as you go.

Narrated by an AI voice.

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.

The governed agent’s required order · Module 6 prompt library pp. 4, 9-12
  1. TriggerWatch New RowsOne new weekly update in the Governed Weekly Updates Sheet.
  2. The agentDraftA plain-text summary, and a calendar proposal or NONE.
  3. Scenario tool 1Audit Executive Brief Against SourcePASS, NEEDS CORRECTION or NEEDS HUMAN. At most three calls.
  4. Scenario tool 2Check Governance Before ActionOnce per proposed action: Allowed or Needs Approval.
  5. 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.

The four tool contracts · Prompt library pp. 4-5
ToolKindReceivesReturns or decides
Audit Executive Brief Against SourceScenario tool, checksoriginal_weekly_update, executive_summary_text, proposed_calendar_eventaudit_status (PASS, NEEDS CORRECTION or NEEDS HUMAN) and audit_report
Check Governance Before ActionScenario tool, checksoriginal_weekly_update, proposed_action_type, proposed_action_details, audit_reportgovernance_decision (Allowed or Needs Approval) and reason
Create Final Executive SummaryModule tool, actsA fixed connection and a manually locked folderThe agent decides only the Name and Content of one new Google Doc
Create Approved Calendar EventModule tool, actsA fixed connection and a manually locked calendarThe 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.

Study explanation based on the supplied Module 6 prompt library for Agentic AI in Practice. The lecture notes, readings and recording were not supplied, so nothing here is attributed to a lecture. Open the source notes above for page-level traceability.

Your study checkpoint

Ready to continue?

Mark the lesson complete once you have read it and tried its idea on something real.

Next · Lesson 3