Blog Archive
Thinking Models in ADK: Reasoning Budgets, Thought Traces, and Cost Control
How to use Gemini thinking models in ADK — BuiltInPlanner, ThinkingConfig include_thoughts and thinking_budget, when to spend more reasoning, and how to keep the meter under control.
Stop Sequences: Early Generation Termination in ADK
How stop sequences cut generation at exactly the right point — configuration, multi-sequence rules, structured-output interplay, and when a stop sequence beats prompt instructions.
Max Output Tokens and Truncation Strategies for ADK Agents
Choosing max_output_tokens per task, recognizing and handling truncated generations, and the prompt and config patterns that keep agent outputs complete and bounded.
Self-Hosted Low-Latency Inference: vLLM Endpoints for ADK Agents
Deploying vLLM as an OpenAI-compatible endpoint and wiring it into ADK — launch flags for tool calling, performance tuning, scaling, and when vLLM beats Ollama or cloud APIs.
Running Local Models in ADK with Ollama and LiteLLM
Pointing ADK agents at Ollama-hosted open models — the ollama_chat provider requirement, OLLAMA_API_BASE, model choice, and what local inference changes about your agent.
Connecting Third-Party Models to ADK with LiteLLM: Claude, OpenAI, Mistral
How ADK's LiteLLM connector exposes Claude, GPT, Mistral, and 100+ providers to agents — setup, model naming, configuration gotchas, and cross-provider routing patterns.
Dynamic Model Routing in ADK by Task Complexity
Building a router that sends each task to the right model — complexity signals, ADK's routing primitives, failover with error context, and evaluation to keep routing honest.
Structured Outputs in ADK: Pydantic Output Schemas and output_key
How to get typed, validated JSON out of an ADK agent — Pydantic output_schema, output_key, parsing behavior, error handling, and when to use structured output vs plain text.
GenerateContentConfig in Depth: Temperature, Top-P, Top-K, and Seed
What each sampling parameter actually does inside Gemini generation — temperature, top-p, top-k, and seed — how they interact, and how to set them per task in ADK.
Gemini 3.8 Flash vs Pro: Choosing the Right Model Tier for Your ADK Agent
A practical comparison of Gemini 3.8 Flash and Pro tiers in ADK — speed, reasoning depth, cost, and where each belongs across an agent's subtasks.
Enterprise ADK Assistants: Balancing Reliability, Latency, and Cost
A production checklist for enterprise ADK deployments — the three-way trade-off between reliability, latency, and cost, with concrete levers for each and metrics to watch.
ADK Design Patterns: Single Agent, Pipeline, and Swarm Topologies
How to choose and implement the right multi-agent topology in ADK — when one agent wins, when a pipeline fits, and when a supervisor swarm earns its complexity.