“adk-2-0”
Distributed Graph Execution: Running Nodes Across Independent Workers
What ADK 2.0 graph workflows actually guarantee about distributed execution today, what you must build yourself, and a candid Cloud Run architecture sketch with limits and caveats.
Document Processing Pipeline: Parsing, Chunking, Extracting, and Storing via Graph
Build a parse → chunk → extract → validate → store document pipeline as an ADK 2.0 graph, with structured contracts between stages, bounded retry for flaky extraction, and scaling notes.
Building an Automated Incident Triage Workflow with ADK 2.0 Graphs
An end-to-end ADK 2.0 graph tutorial that ingests an alert, enriches it with tools, runs LLM severity analysis, and conditionally pages, logs, or auto-resolves — with deterministic routing for on-call safety.
Comparing ADK 2.0 Workflows with LangGraph and Temporal: Architectural Matrix
A fair architectural comparison of ADK 2.0 graph workflows, LangGraph, and Temporal across execution model, state, durability, HITL, visualization, and language support.
Graph Execution Cycles: Designing Bounded Cyclic Graphs and Retry Loops
Build review-retry cycles as back-edges in ADK graph workflows, guarantee termination with attempt counters, and know when a dynamic workflow while loop is the better tool.
RetryConfig in Graph Nodes: Per-Node Retry Policies and Exponential Jitter
Attach RetryConfig and timeout to ADK graph nodes for per-attempt recovery — max_attempts, exponential backoff with jitter, retryable exceptions, and when retries hurt.
Setting Workflow-Level Concurrency Limits with max_concurrency
Bound parallel node execution in ADK with the Workflow max_concurrency field and node-level max_parallel_workers, and see how limits interact with retries and rate limits.
Defining Input, Output, and State Schemas with Pydantic for Workflows
Use Pydantic BaseModel input_schema and output_schema on ADK agents and workflow nodes to enforce typed data contracts between steps, and learn when a schema beats session state.
Managing Workflow State: Scoped Node Updates and Immutable State Deltas
How ADK workflow state really works — Event(state=...) writes, ctx.state, key prefixes, committed deltas, and how to avoid the mutation bugs that parallel branches create.
Streaming Graph Progress: Emitting Node Progress Events to Frontend Clients
Learn how to yield user-facing progress events from ADK 2.0 graph nodes, stream them from the Runner to clients over SSE or websockets, and keep node output separate from what the user sees.
Dynamic Edge Computation: Computing Target Nodes at Runtime
When static conditional edges are not enough, compute target nodes at runtime with dynamic workflows, ctx.run_node, and Event(route=...) routing — and know which tool to choose.
Sub-Workflows: Nesting Workflows Inside Parent Workflow Graphs
Compose a Workflow as a node inside a parent graph, define the data contract across the boundary, and decide when to nest, flatten, or hand off to a dynamic or collaborative orchestrator.
Workflow Timeouts and Cancellation Semantics for Long-Running Tasks
Configure per-node timeouts and retry policies in ADK graph workflows, understand what NodeTimeoutError does to a run, and learn how cancellation propagates through a running invocation.
Resuming Interrupted Workflows: rerun_on_resume and Idempotency Guarantees
Understand re-entry vs handoff semantics with rerun_on_resume, how ADK checkpoints completed child nodes, and how to write node bodies that stay correct across crash and human-input resumes.
Visualizing Workflow Graphs: Exporting Topologies to Mermaid and Graphviz
Inspect ADK workflow graphs in the developer Web UI and Visual Builder, then generate Mermaid flowcharts and Graphviz DOT from your edge declarations for docs and code review.
Best Practices for Designing Clean, Maintainable, and Auditable Agent Graphs
A practical guide to designing ADK graph workflows that stay readable and reviewable: single-purpose nodes, typed boundaries, deterministic/LLM separation, isolated tests, and an audit trail from events and state deltas.
Error Handling and Dead Letter Queues in ADK Workflows
Catch node failures in ADK graph workflows with RetryConfig and timeouts, then build a dead-letter branch that records the error payload for replay and alerting.
Memory Footprint Optimization in Complex Large-Scale Workflow Graphs
How to keep per-invocation memory low in ADK graph workflows: pass data along edges instead of state, offload big payloads to artifacts, prune temp keys, and compact a growing event history.