A Team Makes Lunch
You are hungry. You want a real lunch — not just crackers from a box. You want a sandwich, some fruit, a drink, and maybe a small treat. That is actually four different things to figure out and prepare! Today we are going to follow a team of AI agents as they work together to plan and make that perfect lunch. Every agent has a job. Every agent talks to the others. And together they finish something that would take one agent much longer to do alone. Let us go step by step!
Meet the Lunch Team
The lunch team has five agents. Agent Leader is the coordinator. It reads the goal — a full lunch for one child — and figures out all the pieces. Then it assigns each piece to the right specialist. Agent Sandwich decides what kind of sandwich to make, picks the bread, filling, and toppings, and writes out the sandwich instructions. Agent Fruit checks what fruit is available and picks the best combination — maybe apple slices and some grapes — and writes the prep steps. Agent Drink figures out the best drink to go with the meal. Maybe water with a slice of lemon, or a small glass of milk. Agent Check reviews the whole lunch plan at the end to make sure it is healthy, balanced, and makes sense together. If something is off, it flags it for Agent Leader to fix.
A team of specialist agents works like a kitchen team. Each agent handles its own part of the meal, and together they create something complete and delicious that would take one agent much longer to do alone.
Here is how it all unfolds. Agent Leader reads the goal: plan a healthy, balanced lunch. It decides: I need a sandwich plan, a fruit plan, a drink plan, and a final check. It sends assignments to the three specialist agents and tells Agent Check to wait. Agent Sandwich, Agent Fruit, and Agent Drink all work at the same time. They do not need each other to finish first — each one can work independently on its own part. Agent Sandwich returns: turkey and cheese on whole-grain bread, with lettuce and a little mustard. Agent Fruit returns: half an apple sliced thin, plus ten grapes. Agent Drink returns: a small glass of cold water with one lemon slice. Agent Leader now has all three pieces. It bundles them into one lunch plan and hands everything to Agent Check. Agent Check reads the whole plan. Protein? Yes — turkey and cheese. Fruit? Yes — apple and grapes. Vegetable? Hmm — only lettuce on the sandwich. Agent Check flags this: suggest adding cucumber slices. Agent Leader receives the flag, adds cucumber slices to the fruit section, and delivers the final plan. Lunch is ready to make!
Flashcards — click each card to reveal the answer
Match each lunch team agent to its specific job.
Terms
Definitions
Drag terms onto their definitions, or click a term then click a definition to match.
A restaurant kitchen works exactly like this. A head chef is the leader. Cooks specialize in hot food, cold food, desserts, and drinks. A food checker makes sure every plate is right before it leaves the kitchen. The agent lunch team is modeled on a real kitchen!
Why did Agent Leader wait to give the finished plan to Agent Check?
What did Agent Check find wrong with the first version of the lunch plan?
Plan Your Own Agent Lunch Team!
- Your challenge: use an agent team to plan a snack for your whole class.
- On paper, design your team. You need at least: one leader agent, two or three specialist agents for different parts of the snack, and one checker agent.
- For each agent, write its name and its exact job.
- Now actually run your team — YOU play every role! Write the output from each specialist, then write what the checker finds, then write the final snack plan.
- Was the plan better because you checked it at the end? What would have happened if there were no checker agent?