localmTUTS
FollowFollowSubscribe
Short Course · 8 lessons · 48 mins

AI Agent Design Patterns

Move from ad-hoc agent sprawl to six reusable control-flow patterns you can explain, review, and scale in production.

AI AgentsAgent PatternsDesign PatternsControl FlowMulti-Agent SystemsGoogle ADK
BeginnerModerateExpert
About This Course

Move from ad-hoc agent sprawl to six reusable control-flow patterns you can explain, review, and scale in production.

Course Outline

8 lessons · 48 mins

Each lesson builds on the previous one — follow them in order for the best experience.

1

Your AI "Tech Debt" is Exploding. Here's Why.

Video Lesson·6 mins

Production AI agents need standard patterns. Without them, teams run into tech debt, cascading failures, and agent sprawl fast.

2

The Only 6 AI Agent Patterns You'll Ever Need

Video Lesson·9 mins

Six agent patterns cover every major control-flow choice in production AI systems. This overview shows why a seventh pattern adds nothing.

3💻

The Single Agent Pattern — Deep Dive

💻Video + Code Examples·5 mins

Deep dive into the single agent pattern — the simplest agentic architecture where one LLM instance with registered tools handles the entire workflow.

4💻

The Sequential Agent Pattern — Deep Dive

💻Video + Code Examples·5 mins

Deterministic execution order with shared session state flowing data between specialized sub-agents via output_key and template variables.

5💻

The Parallel Agent Pattern — Deep Dive

💻Video + Code Examples·5 mins

Concurrent execution for independent subtasks using fan-out/fan-in architecture. Covers parallel dispatch, session state collection, and sequential aggregation.

6

Stop Hardcoding Your Agents: Master the Coordinator Pattern

Video Lesson·6 mins

LLM-driven agent to dynamically route requests to specialist sub-agents at runtime using ADK's transfer_to_agent mechanism.

7

Stop Delegating, Start Controlling: The Agent-as-Tool Pattern

Video Lesson·5 mins

Wrapping specialist agents as callable functions that a primary agent invokes on demand. Unlike coordinator-style delegation, the primary agent retains full control.

8

Stop Shipping AI Hallucinations: The Loop & Critique Pattern

Video Lesson·7 mins

Quality-control layer for agent workflows: a generator produces output, a critic checks hard constraints, loop retries until result passes or safety cap is hit.

Instructor
Nilay Parikh

Nilay Parikh

Founder · LocalM · ErgoSum

Technologist with 20+ years of engineering experience and an ML/AI practitioner since 2010. Founder of ErgoSum (quantitative & equity research) and LocalM (AI-assisted SDLC). Currently focused on AI Platform Engineering, Agentic AI, and Context Engineering.