Welcome to The City Manager Tower
Where AI workers coordinate massive city-wide tasks together โ and one manager makes it all run smoothly.
A great city runs on teamwork and coordination. I'm Popy, the City Manager. Let me show you how we keep AI City running! ๐บ๏ธ
Without a Managerโฆ ๐ต
What happens when workers try to coordinate themselves? Tap the button to find out!
Without coordination, even smart workers become chaotic. Duplicated work, missed tasks, confused results. That's exactly why orchestration exists! ๐ผ
Meet The City Manager ๐ผ
Popy receives a big request, splits it into smaller tasks, delegates them โ then combines every result into one final answer.
Orchestration means coordinating multiple AI workers to solve larger tasks. I break the work apart, send it out, wait for results, then stitch everything together! ๐งฉ
Splitting Big Tasks โ๏ธ
One giant task is impossible for a single worker. Popy breaks it into manageable pieces. Tap the orb to split!
A task nobody can finish alone becomes easy when you break it into smaller pieces. Each worker gets exactly the job they're good at! โ๏ธ
Help Popy Delegate! ๐ฌ
Each task needs to go to the right worker. Tap the correct team member!
โBook flightsโ
The manager sends each task to the worker best suited for it. Perfect delegation keeps the whole city humming! ๐ฌ
Combining Results ๐งฉ
Workers finish their tasks and send results back. Popy assembles them into one final answer โ tap to collect each result!
A manager combines every worker's contribution into one complete result. The whole is greater than the sum of its parts! ๐
Workflow Routing ๐
Workflows are pathways that connect workers together. Watch the task route flow through the system!
Workflows are like the roads of AI City โ they define exactly how tasks travel from one worker to the next, in the right order, without any confusion! ๐ฃ๏ธ
Tool Coordination ๐ ๏ธ
Each worker uses a different tool โ and Popy coordinates all of it. Step through the pipeline!
Different workers use different tools โ but Popy coordinates them all through a shared pipeline. That's the magic of orchestration! ๐ ๏ธ
Orchestration Graphs ๐ธ๏ธ
Tools like LangGraph map out the exact flow between workers โ including branches, retries, and decisions. Watch a graph run!
Tools like LangGraph help AI systems coordinate workflows safely and reliably. Instead of hoping workers talk to each other, a graph makes the rules explicit! ๐
Orchestration in Code ๐
Tap any coloured part to see Popy explain what it does โ in plain language.
๐ Tap a coloured word to see Popy explain it.
The manager coordinates workers and assembles the final answer. Every worker is just a function call โ the power comes from connecting them together! ๐
๐๏ธ Stabilise the Tourism Festival!
A massive surge of requests has hit the City Manager Tower. Coordinate your workers โ assign every task before submitting your plan!
Book buses & trains for 500 visitors
+60ptsReserve hotel blocks across 3 cities
+60ptsCalculate total festival budget
+60ptsFind street food festival vendors
+60ptsConfirm weather is safe for outdoor events
+60ptsCreate festival banner & social posts
+60ptsYou understand orchestration! ๐ผ
You now know how AI systems coordinate workers, delegate tasks, route workflows, and combine results into something bigger.
Learn how AI systems store and retrieve knowledge across sessions โ that's what vector databases and RAG are all about.
Workflow Graph
Deliverable: Build a graph with one branch and one merge that solves a single user task.
Stretch: Add timeout handling for one branch node.
Complete the deliverable first, then unlock the stretch goal.