VFlash: Fast, Accurate Visual Planning via Flash Primitive Decoding
u_Unrolled
D9: AI Agents & Tool Use · Agent Architectures — Routers, Planners, Critics and Teams
Phase 5/Domain 9/Lesson 2

Agent Architectures — Routers, Planners, Critics and Teams

20 min read·Advanced· Unrolled Pro
Agent Architectures — Routers, Planners, Critics and Teams

You already know: the agent loop, its guards and its cost (Agent fundamentals); prompt chaining and self-consistency (D7 Advanced prompting); graphs and topological order (D1 Data structures).

Why this matters for Atlas. "Agent" isn't one design. It's a family of patterns that arrange the same loop differently: a router sends each request to the right specialist, a planner writes the steps before acting, a critic checks work before it ships, a supervisor splits work across workers. Each pattern buys something (cost, parallelism, accuracy, isolation) and pays for it in latency, tokens or complexity. Interviewers ask "how would you structure this agent?" precisely because the right answer depends on the trade-off. This lesson builds each pattern, measures what it buys, and ends with a rule for choosing.


1. Routers: send each request to the right specialist

The question. Most Atlas requests are simple lesson questions. Why pay for the full agent on every one of them?

Start from nothing. A router is a cheap first step that classifies the request and dispatches it: to a single RAG call, to the quiz agent, to the billing agent, or to a human. Each specialist gets a short prompt and only its own tools, which makes it faster, cheaper and more accurate than one agent that knows everything. The router itself can be rules, a small classifier (D3), or a small model.

That's the preview. The full lesson, with its code and exercises, is part of Unrolled Pro.
Staff AI & Pro Tier Lesson

Unlock "Agent Architectures — Routers, Planners, Critics and Teams"

The foundations are free forever. Unrolled Pro unlocks the complete lesson, production architectures, and 55 battle-tested ML system design case studies.

Everything included with Pro:
All 234+ Deep-Dive Lessons across transformer internals, inference, RAG & agents
55 Staff-Level ML & System Design Case Studies with mathematical capacity estimates
AI Engineer Sheet & Exercises with worked solutions, self-checks, and code
100 Landmark Research Papers guided walkthroughs & progress tracking
14-Day Money-Back Guarantee — 100% full refund if you aren't satisfied
View Plans & Unlock All Lessons

From ₹167/mo (~$2/mo) · Cancel anytime · Instant activation

100% Risk-Free: 14-day no-questions-asked money-back guarantee
Build Atlas · Part 8 of 9: Let it actUse this lesson in the project: Give Atlas tools, memory and a loop, then put a gateway between the model and the tools so that a fooled model still can't do damage.