ITRAC
Agentic AI
0%
1 / 9

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?

2 / 9

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:

ReadWrite
get_user_profilelog_workout
get_workout_historysend_notification
get_equipment_inventoryescalate_to_trainer
get_action_logupdate_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.

3 / 9

Agentic AI โ€” Week 1, Day 5

Step 1 โ€” Design Before You Build

โฑ 10 minutes

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.

QuestionYour 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.
4 / 9

Agentic AI โ€” Week 1, Day 5

Step 2 โ€” Build the Sub-Agents

โฑ 20 minutes

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:

  1. Scope โ€” what this agent does and does not do (be explicit about the "does not" โ€” that's what keeps it from overreaching).
  2. Tools โ€” connect only the tools that agent's job requires. This isn't a formality โ€” an agent that can technically call log_workout will sometimes call it even if its job is "just" to analyze history. Restricting access is the guardrail, not the instructions.
  3. 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:

ROLE You review FitPath user [FILL IN: what specifically โ€” profile only? recent notes? both?] to determine whether this user's weekly check-in can be handled autonomously. You have access to: get_user_profile You do NOT have access to workout history, action logs, or any write tool. [FILL IN: why does this agent specifically not need those?] OUTPUT Return: a clear/flagged status, and [FILL IN: what evidence should accompany a "flagged" status so the reason is legible to whoever reads it next โ€” including a human reviewer]
5 / 9

Agentic AI โ€” Week 1, Day 5

Step 3 โ€” Write the Supervisor's Delegation and Aggregation Logic

โฑ 15 minutes

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

ROLE You orchestrate a weekly FitPath check-in using three specialist sub-agents: Progress Analyst, Safety Reviewer, and Action Coordinator. You never read FitPath data yourself and you never call a write tool yourself. PROCESS 1. [FILL IN: what you send to Progress Analyst and Safety Reviewer, and whether that happens before or after you know anything else] 2. [FILL IN: how you combine their two outputs into one decision] 3. [FILL IN: what you tell the Action Coordinator, and what you withhold if the Safety Reviewer flags a concern]
6 / 9

Agentic AI โ€” Week 1, Day 5

Step 4 โ€” Configure the Human Checkpoint

โฑ 10 minutes

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.

  1. Require approval on the Action Coordinator's write tools (same as Day 4, Exercise 3).
  2. 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.

7 / 9

Agentic AI โ€” Week 1, Day 5

Step 5 โ€” Test Both Users

โฑ 15 minutes

Run the full check-in flow for both:

  1. sam_w โ€” should complete end-to-end. Confirm via get_action_log that the Action Coordinator actually did something, not just claimed to.
  2. 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.

8 / 9

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_w completes autonomously with a verifiable action in get_action_log.
  • jordan_e produces 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.
9 / 9

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.