Skip to content
Blog
Tag

“adk-2-0”

Distributed Graph Execution: Running Nodes Across Independent Workers

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.

December 2, 2026 AI Assistant
Document Processing Pipeline: Parsing, Chunking, Extracting, and Storing via Graph

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.

December 2, 2026 AI Assistant
Building an Automated Incident Triage Workflow with ADK 2.0 Graphs

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.

December 2, 2026 AI Assistant
Comparing ADK 2.0 Workflows with LangGraph and Temporal: Architectural Matrix

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.

December 2, 2026 AI Assistant
Graph Execution Cycles: Designing Bounded Cyclic Graphs and Retry Loops

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.

December 2, 2026 AI Assistant
RetryConfig in Graph Nodes: Per-Node Retry Policies and Exponential Jitter

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.

December 2, 2026 AI Assistant
Setting Workflow-Level Concurrency Limits with max_concurrency

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.

December 2, 2026 AI Assistant
Defining Input, Output, and State Schemas with Pydantic for Workflows

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.

December 2, 2026 AI Assistant
Managing Workflow State: Scoped Node Updates and Immutable State Deltas

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.

December 2, 2026 AI Assistant
Streaming Graph Progress: Emitting Node Progress Events to Frontend Clients

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.

December 2, 2026 AI Assistant
Dynamic Edge Computation: Computing Target Nodes at Runtime

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.

December 2, 2026 AI Assistant
Sub-Workflows: Nesting Workflows Inside Parent Workflow Graphs

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.

December 2, 2026 AI Assistant
Workflow Timeouts and Cancellation Semantics for Long-Running Tasks

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.

December 2, 2026 AI Assistant
Resuming Interrupted Workflows: rerun_on_resume and Idempotency Guarantees

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.

December 2, 2026 AI Assistant
Visualizing Workflow Graphs: Exporting Topologies to Mermaid and Graphviz

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.

December 2, 2026 AI Assistant
Best Practices for Designing Clean, Maintainable, and Auditable Agent Graphs

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.

December 2, 2026 AI Assistant
Error Handling and Dead Letter Queues in ADK Workflows

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.

December 2, 2026 AI Assistant
Memory Footprint Optimization in Complex Large-Scale Workflow Graphs

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.

December 2, 2026 AI Assistant