Google Official Course: Single-Agent, Multi-Agent, and Graph Workflow in Practice

Google's course systematically breaks down AI Agent design patterns, from single agents to graph workflows, covering reliability, evaluation, and memory architecture.
Google's official course systematically breaks down AI Agent design patterns, starting from the most basic single agent and progressively introducing sequential agents, parallel agents, and graph workflows to address control, latency, and complex task orchestration. The course emphasizes that each pattern has trade-offs: single agents are flexible but unreliable, sequential agents are controllable but rigid, and parallel agents are fast but costly. It also delves into the four failure modes of loop engineering, quantitative methods for agent evaluation, and the long-term memory architecture of multimodal agents, ultimately providing a demand-driven framework for architecture selection—a practical reference from an engineering perspective for developers.
Google recently released a series of official courses that systematically break down AI Agent design patterns. From the simplest single-agent to multi-agent collaboration and graph workflows, this curriculum covers the core paths for building reliable agent systems. This article, based on the course content and cross-referencing information from multiple videos, outlines a clear progression from beginner to advanced.
Why Single Agents Fall Short
The course begins with the most basic single-agent pattern. A single agent is essentially a model equipped with tools (such as Google Search) and a detailed system prompt telling it how to plan tasks. In the demo, the user inputs "Plan a trip to San Francisco," and the agent calls the search tool, using the model's reasoning capabilities to complete multiple steps. The code is very concise—just a few lines with Google's Agent Development Kit (ADK).
But problems quickly emerge. When tasks become complex—say, "Find a late-night sushi restaurant in San Francisco and plan the farthest route to get there"—the single agent needs to cram a lot of logic into the system prompt. Since AI is inherently non-deterministic, you can't guarantee it will strictly follow multi-step instructions every time. The course explicitly states: The main weakness of a single agent is lack of control. It suits simple multi-step tasks, but reliability drops when facing complex workflows.

Agent Development Kit (ADK) is an open-source framework launched by Google, designed specifically for building, deploying, and managing AI agents. It provides a set of modular tools that allow developers to define agent behavior, tool sets, and interaction logic with concise code. The core advantages of ADK lie in its built-in session management, tool invocation, and tracing capabilities, making the evolution from single-agent to multi-agent systems smoother. In the context of this article, ADK is the infrastructure underlying all agent patterns demonstrated in the course; its design philosophy emphasizes "code as configuration," thereby lowering the barrier to building complex agent workflows.
Sequential Agents: Trading Flexibility for Reliability
To address the control issue, the course introduces the first multi-agent pattern—the Sequential Agent. Its approach is like an assembly line: the output of one sub-agent becomes the input of the next. For travel planning, for example, it splits into a "restaurant finder agent" and a "transportation planner agent," executed in sequence to guarantee that restaurants are found before routes are planned.
This pattern passes information through a shared session state, akin to a shared scratchpad. The first agent writes its results, and the second agent reads them using curly braces in its system prompt. The course calls this the "short-term memory" of the agent system.
The advantage of sequential agents is that they are highly controllable and predictable, but the cost is rigidity—they cannot adapt to dynamically changing situations. If the task order isn't fixed, this rigid structure becomes a burden.
Session State is a shared data store maintained by the agent system during execution, similar to a readable/writable "scratchpad." In multi-agent collaboration, it serves as short-term memory: the previous agent can write results into it, and subsequent agents can read the needed information from it. This mechanism allows agents to decouple through state rather than communicating directly. In ADK, session state typically exists as a dictionary and supports dynamic references in system prompts via placeholders (such as {variable}), enabling flexible data passing and context retention.
Parallel Agents: Trading Concurrency for Speed
When tasks have no dependencies between them, the Parallel Agent comes into play. The course gives an example of planning a complete trip: finding museums, finding concerts, and finding restaurants—these three are independent. Sequential execution would be slow, but parallel agents allow three specialized agents to work simultaneously.
After parallel execution, a sequential agent is usually needed as an aggregator to combine the three sets of results into a complete travel plan. In ADK's tracing interface, you can see three search agents launching simultaneously, writing results to session state, and finally a summarization agent reading them and generating the plan.
The course also highlights the trade-off: Parallelism can significantly reduce latency, but initial costs are higher (running multiple agents simultaneously), and it often requires an additional aggregation step, increasing design complexity.

From Agent Patterns to Graph Workflows
After covering single agents, sequential agents, and parallel agents, the course extends to the concept of Graph Workflows. Multiple videos cross-corroborate the same point from different angles: when tasks become complex enough, the flexibility of agents alone becomes unreliable, and graphs are needed to explicitly define steps and connections.
According to the course demo, a refund processing flow is broken down into nodes and edges: checking the order, checking payment, and checking refund history can be executed in parallel; the refund rules node waits for all three results, then routes to manual review or automatic refund. Each node can be a regular function, a model call, or a complete agent team. The edges define execution order, parallel relationships, and branching conditions.
The course emphasizes a key principle: Assign predictable work to functions, and reasoning work to models. In the marathon pacing example, fetching weather and course data are pure Python functions (zero LLM cost), and only generating strategy recommendations calls the model once. The entire graph workflow ultimately consumes just one LLM call; the rest is deterministic logic.
The Four Failure Modes of Loop Engineering
Another noteworthy section of the course covers the pitfalls of Loop Engineering. Loop engineering means having the system repeatedly attempt to achieve a goal until conditions are met. It sounds great, but the course summarizes four common failures:
- Runaway loops: Forgetting to set exit conditions—in the AI era, you're burning real money on tokens. The solution is to set maximum iterations, time limits, or cost caps.
- Unverified autonomy: Letting the same agent repeatedly do the same thing causes it to reuse prior context—including its mistakes. The course calls this confirmation bias and recommends having Agent A evaluate Agent B's work to achieve separation of concerns.
- Uncheckable goals: Vague goals like "make the summary better" leave the model at a loss. Success criteria must be checkable, such as "fewer than 10 words."
- Complexity overload: A single loop can handle simple tasks, but it collapses when faced with complex outputs like a 50-page PDF. In such cases, the loop should be a part of a graph, orchestrated by a graph workflow.

Confirmation Bias in the context of AI agents refers to an agent's tendency to reuse prior context and assumptions, even when that information may lead to error accumulation. When the same agent repeatedly performs the same task, it may ignore new evidence or changes and stick to its existing judgment path. The course recommends a separated design where "Agent A evaluates Agent B"—that is, an independent agent is responsible for verifying another agent's output, thereby breaking this self-reinforcing bias loop. This separation of concerns, similar to code review in software engineering, can effectively improve system reliability and error correction.
Agent Evaluation: From Subjective Judgment to Repeatable Checks
The course also devotes substantial time to agent evaluation. The core question is: what counts as success? Take a restaurant recommendation agent as an example—success means proposing a dinner plan suitable for all group members, considering vegetarians, allergies, budget, and time constraints.
Evaluation has two dimensions: a Comparator that compares against a reference answer, and a Checker that verifies whether a set of requirements is met. There are also two implementation approaches: code rules or LLM-as-a-judge. The course recommends using structured data for deterministic checks and models for judgments that require interpretation.
In the demo, a six-person dinner scenario has the checker verify each person's dietary needs, allergies, budget, distance, spiciness preference, and time, calculating the proportion of requirements met as the score, with a pass threshold of 1.0 (must satisfy everyone). When the agent prioritizes ratings over group members' needs, the score is only 0.5, and the evaluation fails—exposing the specific problem.
This evaluation suite can be integrated into PyTest and CI/CD pipelines, so that every time the agent is modified, it runs automatically to ensure no regression.
LLM-as-a-Judge is a technique that uses a large language model to evaluate another model's output. In agent evaluation, when success criteria involve subjective judgment (such as text coherence, relevance, or helpfulness), traditional code rules are hard-pressed to cover them, but an LLM judge can perform structured evaluation using preset scoring criteria. A typical implementation provides the judge model with the original question, the agent's response, and the scoring rubric, requiring it to output a score and rationale. Although LLM judges have issues with higher cost and potential bias, carefully designed prompts and multiple sampling can significantly improve evaluation reliability and consistency, making them an important component of automated evaluation pipelines.
Long-Term Memory Architecture for Multimodal Agents
The course also discusses long-term memory design for multimodal agents. The core distinction is between two types of memory:
- Facts: Precise, structured data that can be created, read, updated, and deleted—such as "dinner on Thursday" or "bought a blue jacket"—should be stored in an SQL database.
- Understanding: Semantic patterns about user preferences—such as "prefers minimalist over flashy" or "chooses dark colors to feel confident"—should be stored in a vector database and retrieved semantically.
The course specifically warns against a common mistake: cramming everything into a vector database. Vector databases excel at similarity search, but when the answer must be precise, similarity becomes dangerous. When a user asks "What did I buy?", you should query the database rather than guess from similar memories.
Regarding write timing, facts should be written immediately during conversation, while extraction of understanding should happen asynchronously to avoid blocking real-time voice interaction. Raw audio and video frames typically do not enter memory—what the agent needs is the meaning extracted from them, not every pixel.

How to Choose Among the Three Architectures
The course concludes with a practical decision framework, comparing three architectures using a customer service application as an example:
- Single Agent: One model with a set of tools, autonomously deciding the next step in a loop. Suitable for tasks with clear goals that require flexible responses.
- Agent Team: A coordinator agent dispatches tasks to specialized sub-agents (such as logistics experts, billing experts). Suitable for scenarios where responsibilities can be clearly divided, but pay attention to the completeness of handoff information and additional costs.
- Graph Workflow: Explicitly defines steps, dependencies, and branches using nodes and edges. Suitable for scenarios with mandatory business rules, required human review, or where step order must be guaranteed.
The course's advice is pragmatic: Start from what the application actually needs to do. A simple task needs just one agent; a process with clear business rules can start with a graph workflow; when responsibilities grow large, then split into a team. Models handle investigation and reasoning, code enforces rules, and graphs connect everything.
The value of this course lies in the fact that it doesn't mythologize agents but honestly presents the trade-offs of each pattern. For developers building AI applications, this is a rare reference from an engineering perspective.
One-line Summary
Google's course systematically breaks down AI Agent design patterns, from single agents to graph workflows, covering reliability, evaluation, and memory architecture.
Paragraph Summary
Google's official course systematically breaks down AI Agent design patterns, starting from the most basic single agent and progressively introducing sequential agents, parallel agents, and graph workflows to address control, latency, and complex task orchestration. The course emphasizes that each pattern has its trade-offs: single agents are flexible but unreliable, sequential agents are controllable but rigid, and parallel agents are fast but costly. Additionally, the course delves into the four failure modes of loop engineering, quantitative methods for agent evaluation, and the long-term memory architecture of multimodal agents, ultimately providing a demand-driven framework for architecture selection—a practical reference from an engineering perspective for developers.
Related articles

OpenAI Launches Dots Agent, ChatGPT Plus Users Get First Access
OpenAI brings its Dots agent to ChatGPT Plus subscribers and updates the mobile app with a dedicated Dots tab. We examine Dots' positioning, the UI changes, and what it means for the agent race.

OpenAI Cuts Dots Price by $80, Opens It to Plus Users
OpenAI opens its Dots AI agent to $20 ChatGPT Plus users, down from the $100 Pro tier—an $80 price cut—and expands availability to the European Economic Area.

CellGemma: DeepMind's New Model Accelerates Cancer Therapy Discovery
DeepMind launches CellGemma, a model aimed at accelerating new cancer therapy discovery. This article analyzes its positioning, community reactions, and potential impact on cancer drug R&D.