Skip to content
Blog

Recent Blog Posts

Insights on AI Agents, Modern Web, and the Future of Engineering.

Extending the Runner Pipeline with Custom Middlewares and Hooks

Extending the Runner Pipeline with Custom Middlewares and Hooks

Extend the ADK Runner pipeline with agent callbacks and BasePlugin hooks: return-value semantics, precedence rules, error hooks, and registering plugins on the App object.

November 24, 2026 AI Assistant
Customizing Agent Output Serialization: From Markdown to Raw JSON

Customizing Agent Output Serialization: From Markdown to Raw JSON

Force structured agent output with output_schema and output_key, capture parsed values in session state, and reformat raw LLM text with after_model_callback and --jsonl.

November 24, 2026 AI Assistant
Handling Streaming Chunks and Partial Responses in ADK Runners

Handling Streaming Chunks and Partial Responses in ADK Runners

Partial events, token chunks, and final responses in ADK: how the Runner treats partial=True, how to accumulate text from run_async, and when state deltas get committed.

November 24, 2026 AI Assistant
The Event Object Explained: Parts, Actions, State Delta, and Metadata

The Event Object Explained: Parts, Actions, State Delta, and Metadata

A field-by-field tour of google.adk.events.Event: content parts, EventActions with state and artifact deltas, control signals, metadata, and is_final_response().

November 24, 2026 AI Assistant
Running ADK Headless: CLI Streaming and Non-Interactive Batch Modes

Running ADK Headless: CLI Streaming and Non-Interactive Batch Modes

Run Google ADK with no browser: adk run one-shot queries, --replay batch files, --jsonl output, CI timeouts, and token-level SSE through the adk api_server /run_sse endpoint.

November 24, 2026 AI Assistant
Exploring the ADK Developer Web UI: Local Inspection, Chat, and Graph Visualizer

Exploring the ADK Developer Web UI: Local Inspection, Chat, and Graph Visualizer

Start adk web, chat with your agent, inspect sessions, state, and events, and use the agent structure graph view — with ports, flags, storage defaults, and telemetry.

November 24, 2026 AI Assistant
Configuring Environment Variables and Secret Handling in ADK Projects

Configuring Environment Variables and Secret Handling in ADK Projects

A practical guide to .env variables in ADK and agents-cli projects: GEMINI_API_KEY vs GOOGLE_* Vertex settings, ADC auth, deploy-time secrets, and telemetry flags.

November 24, 2026 AI Assistant
ADK Versioning and Roadmap: Migrating from ADK 1.x to ADK 2.0

ADK Versioning and Roadmap: Migrating from ADK 1.x to ADK 2.0

ADK 2.0 GA dates, the Workflow Runtime breaking changes, and a concrete migration path from google-adk 1.x — event schema, BaseNode, retries, and version pinning.

November 24, 2026 AI Assistant
Managing Agent Identity and Persona Constraints in ADK

Managing Agent Identity and Persona Constraints in ADK

How ADK's LlmAgent name, description, instruction, and schema fields define agent identity, persona, and hard behavioral constraints — and where each boundary sits.

November 24, 2026 AI Assistant
Configuring System Instructions: Dynamic Prompt Templating with State Injection

Configuring System Instructions: Dynamic Prompt Templating with State Injection

Learn how ADK's LlmAgent instruction templating injects session state with {key} syntax, when to use {key?} and InstructionProvider, and how to update state safely.

November 24, 2026 AI Assistant
Building Non-LLM Base Agents: Deterministic Rules and Custom BaseAgent Subclasses

Building Non-LLM Base Agents: Deterministic Rules and Custom BaseAgent Subclasses

Not every agent needs a model. Subclass BaseAgent, implement _run_async_impl, and ship deterministic validators, escalators, and guards that run without a single LLM call.

November 24, 2026 AI Assistant
Synchronous vs Asynchronous Agent Execution with Runner.run and Runner.run_async

Synchronous vs Asynchronous Agent Execution with Runner.run and Runner.run_async

Runner.run_async is ADK's primary entry point; Runner.run is a sync convenience backed by a background thread. Learn the exact signatures, internals, and when each fits.

November 24, 2026 AI Assistant