Skip to course content
Free LangGraph course

LangGraph for Agentic Workflows

Module 09 Activity

Scenario

Someone has proposed splitting your graph into a supervisor and three workers. This activity is the cost-benefit case, honestly made.

What you build

A written decision on whether to add a second agent, and - if yes - a handoff contract, deliberate reducers and a hop ceiling.

Steps

  1. State what the second agent would do that the first cannot. If the answer is 'the prompt got long', stop and say so.
  2. Price both designs relative to a single agent, using the table in Unit 03 as a model.
  3. If proceeding, define the handoff as an explicit allowlist and name what is withheld and why - separating secrets, quotable internal text, and bulk.
  4. Decide the reducer for every shared field. Any field two agents write needs a deliberate choice.
  5. Add a hop counter with a ceiling, and record which agent wrote each field.
  6. Work through the five failure modes in Unit 04 and say how each is addressed or accepted.

Evidence to hand in

Review checklist