Agentic AI โ Week 1, Day 5
What We're Going to Cover
Day 4 gave the Weekly Check-In Agent hands: it could read FitPath data and act on it, with an approval gate for risky users. But it was still one agent doing everything โ reading, judging risk, and acting, all inside a single instruction block.
Today you split that agent into a supervisor and three specialized sub-agents, each restricted to only the tools its job needs. You'll design the delegation logic, wire it in Fleet, configure a human checkpoint, and then prove it behaves differently for a clean user than for a flagged one.
By the end you'll have a working multi-agent system and be able to answer, concretely: where did specialization actually earn its complexity, and where did it just add overhead?
Agentic AI โ Week 1, Day 5
Context
Same FitPath spine, same two users:
sam_wโ clean profile, no injuries, no clearance issues.jordan_eโ knee pain reported, no medical clearance on file.
Same MCP server as Day 4, exposing the same 8 tools:
| Read | Write |
|---|---|
get_user_profile | log_workout |
get_workout_history | send_notification |
get_equipment_inventory | escalate_to_trainer |
get_action_log | update_equipment_status |
The task this system handles: a weekly check-in for a given user โ look at what happened this week, decide whether it's safe to log/notify/adjust automatically, and act (or escalate) accordingly.
The difference from Day 4: instead of one agent doing all of that, you're building three specialists plus a supervisor that coordinates them. This is the Supervisor pattern (Day 5, Slide 18) โ not a router, because the orchestrator isn't just classifying and forwarding a request to one path; it's combining input from multiple agents before deciding what to do next.
Agentic AI โ Week 1, Day 5
Step 1 โ Design Before You Build
Don't open Fleet yet. Answer these on paper or in a scratch doc โ you'll need these decisions when you write instructions in Step 2.
| Question | Your answer |
|---|---|
| What are the three sub-agents and what does each own? | |
| Which of the 8 tools does each sub-agent get โ and only those? | |
| What does the supervisor do with the outputs of the two analysis agents before deciding whether to act? | |
| What conditions should cause the supervisor to withhold action and require human approval? |
If you get stuck on the sub-agent split, here's the shape (fill in the reasoning yourself โ don't just copy this):
- Progress Analyst โ reads what actually happened this week. Read-only.
- Safety Reviewer โ reads the user's risk profile and decides if this user is safe to act on autonomously. Read-only.
- Action Coordinator โ the only sub-agent with write access. Executes only what the supervisor tells it to, and only after any required approval clears.
Agentic AI โ Week 1, Day 5
Step 2 โ Build the Sub-Agents
In Fleet, create three sub-agents under one orchestrator (Add subagent, same as the panel you've already seen). For each one, write instructions that specify:
- Scope โ what this agent does and does not do (be explicit about the "does not" โ that's what keeps it from overreaching).
- Tools โ connect only the tools that agent's job requires. This isn't a formality โ an agent that can technically call
log_workoutwill sometimes call it even if its job is "just" to analyze history. Restricting access is the guardrail, not the instructions. - Output โ what it should hand back to the supervisor (a short structured summary, not a wall of prose โ the supervisor has to read this).
Starter skeleton for the Safety Reviewer
The other two follow the same shape, write them yourself:
Agentic AI โ Week 1, Day 5
Step 3 โ Write the Supervisor's Delegation and Aggregation Logic
This is the part with no UI to lean on โ it's all in the orchestrator's Instructions field, in prose. Get this wrong and nothing downstream saves you.
Your orchestrator's instructions need to cover:
- When it calls the Progress Analyst and Safety Reviewer (should this always run both, every time? Why?)
- How it reconciles their outputs if they disagree or one is inconclusive โ don't skip this; write down what "disagree" would even look like for these two agents
- What it tells the Action Coordinator to do, and under what condition it does not authorize the Action Coordinator to run at all
Starter skeleton
Agentic AI โ Week 1, Day 5
Step 4 โ Configure the Human Checkpoint
Fleet's approval gate is per-tool, not conditional on what a sub-agent found โ same mechanism as Day 4's "Set the Dial." That's a real constraint, not a bug in the exercise: it means the content of the approval request has to do work the trigger itself can't.
- Require approval on the Action Coordinator's write tools (same as Day 4, Exercise 3).
- Go back into the Action Coordinator's instructions and make sure the action request it generates actually carries the Safety Reviewer's findings โ not just "requesting to log workout for jordan_e," but enough context that whoever's reviewing can make the right call without opening a second tab.
This is the design point from Slide 22 (Designing Human Checkpoints) โ specifically Information Shown. A checkpoint that shows nothing useful isn't a checkpoint, it's a rubber stamp.
Agentic AI โ Week 1, Day 5
Step 5 โ Test Both Users
Run the full check-in flow for both:
sam_wโ should complete end-to-end. Confirm viaget_action_logthat the Action Coordinator actually did something, not just claimed to.jordan_eโ should stop at the approval gate. Open the pending request and check: could you, as the reviewer, make the right call from what's shown โ without already knowing Jordan's history?
If either run doesn't produce the expected result, don't just re-run it โ look at the trace and figure out which sub-agent's instructions (or tool scope) caused it.
Agentic AI โ Week 1, Day 5
Success Criteria
- Three sub-agents exist, each with only the tools its role needs โ no sub-agent can act outside its stated job, even if it "could."
- The orchestrator's instructions explicitly state when it delegates, and how it aggregates the two analysis outputs โ not just "ask the sub-agents and act."
sam_wcompletes autonomously with a verifiable action inget_action_log.jordan_eproduces a pending approval request that contains enough context (from the Safety Reviewer) for a human to decide correctly without pulling more data.- You can say in one sentence why this is a Supervisor pattern and not a Router.
Agentic AI โ Week 1, Day 5
If You Finish Early
Push the Progress Analyst and Safety Reviewer toward an actual disagreement โ construct a case where the workout history looks fine but there's an ambiguous note buried in it that only a careful read would catch. Watch what your orchestrator's aggregation logic actually does with that (does it notice, or does it just average the two into a vague middle ground?). Fix the instructions so it doesn't silently pick a side.
Full failure-injection version of this is available after-hours if you want to go further โ ask for it.
