ADK for Java

ADK for Java

ADK for Java — core module, tool integration, A2A transport, evaluation, deployment.

576Articles
576Topics covered
Articles in this category

All 31 articles, sorted alphabetically

Advertisement
ARTICLE · 01

Production Agent Architecture: The Full Stack in Depth

A 2500-word walkthrough of a production agent runtime: UI, auth, planner, memory, tool router, policy, observability, and the tool ecosystem underneat…

Read article
ARTICLE · 02

Request hedging for ADK-Java agents

Deep-dive on request hedging (backup requests) in an ADK-Java agent: issue a duplicate to an independent replica when the primary misses a delay tuned…

Read article
ARTICLE · 03

ADK Java artifacts

Deep-dive on the ADK Java artifact service: the append-only versioned save/load contract, session vs user: namespaces, ToolContext and CallbackContext…

Read article
ARTICLE · 04

Authorization at the Agent Boundary

Who can invoke which agents — enforced at the boundary, not in agent code.

Read article
ARTICLE · 05

ADK Java bulkhead isolation architecture

Deep-dive on bulkhead isolation in ADK Java agents: dependency-scoped thread-pool and semaphore compartments, virtual-thread economics, composition wi…

Read article
ARTICLE · 06

ADK Java callback architecture

Deep-dive on ADK Java callbacks: beforeAgent/afterAgent, beforeModel/afterModel, beforeTool/afterTool, short-circuit semantics, callback chains, injec…

Read article
ARTICLE · 07

ADK Java circuit breaker architecture

Deep-dive on the circuit breaker pattern in an ADK Java agent: a three-state machine (CLOSED, OPEN, HALF-OPEN) around one dependency, a sliding window…

Read article
ARTICLE · 08

ADK Java Core Module

A walkthrough of the redbus-labs/adk-java core module: what classes ship, how they compose, and where you plug in.

Read article
ARTICLE · 09

ADK-Java dead-letter queue architecture

Deep-dive on dead-letter queues for ADK-Java agent pipelines: bounded retries and the attempt counter, the DLQ router and failure metadata, head-of-li…

Read article
ARTICLE · 10

ADK Java Deployment

How to deploy ADK Java agents on Cloud Run, GKE, or Vertex AI Agent Engine, with the trade-offs of each.

Read article
ARTICLE · 11

Environment + Configuration Management

12-factor config for ADK Java agents — where each knob lives.

Read article
ARTICLE · 12

Agent governance architecture

Governance plane for Java-based agent runtimes: policy engine, approval broker, guardrail LLM, tool registry, session store, and a review loop.

Read article
ARTICLE · 13

Graceful Shutdown Handling in ADK Java

SIGTERM to clean stop: what runs, in what order, how long you get.

Read article
ARTICLE · 14

Idempotency architecture

Deep-dive on idempotency for side-effecting agent tool calls in a Java ADK service: how to retry aggressively without double-charging, double-sending,…

Read article
ARTICLE · 15

ADK Java MemoryService architecture

Deep-dive on ADK Java's long-term memory: the session-versus-MemoryService split, addSessionToMemory ingestion and distillati…

Read article
ARTICLE · 16

ADK Java Observability

How to instrument ADK Java agents with OpenTelemetry, Cloud Trace, and structured logging.

Read article
ARTICLE · 17

adk-java transactional outbox architecture

Deep-dive on the transactional outbox pattern for Java ADK agents: committing state and an outbox row in one JDBC transaction to kill the dual-write p…

Read article
ARTICLE · 18

ADK-Java planner -- decomposing a goal into steps

Deep-dive on the ADK-Java planner: the complex-goal need, decomposition into a plan, the executor, plan-then-execute vs reacting per step, replanning …

Read article
ARTICLE · 19

ADK-Java RAG grounding -- answering from your data

Deep-dive on ADK-Java RAG grounding: the grounding need, the retrieval tool, grounding answers in retrieved context, citations, vector search, chunkin…

Read article
ARTICLE · 20

ADK-Java rate limiting architecture

Deep-dive on rate limiting in the Java Agent Development Kit: the token-bucket algorithm shaping bursty model and tool calls under hard provider quota…

Read article
ARTICLE · 21

Agent Router Architecture in Depth

A 2500-word walkthrough of agent router architecture: intent classifier, model pool, budgets, escalation, A/B evaluation.

Read article
ARTICLE · 22

ADK Java Runtime

Every phase of the ADK Java runtime's execution loop, from message-in to response-out, with the hook points you can attach to…

Read article
ARTICLE · 23

Tool Dispatch Mechanics in the ADK Java Runtime

Exactly how the ADK Java runtime finds, validates, and invokes a tool after the model asks for it.

Read article
ARTICLE · 24

ADK-Java safety -- guardrails around agent behavior

Deep-dive on ADK-Java agent safety: the guardrails need, callbacks (before/after model and tool calls) as interception points, input and output guardr…

Read article
ARTICLE · 25

ADK Java + Spring

Deep-dive on integrating ADK Java with Spring Boot: agents and tools as DI-managed beans, tools as existing service beans, @ConfigurationProperties co…

Read article
ARTICLE · 26

ADK Java Streaming

How ADK Java streams responses token-by-token, why it improves user experience, and how to integrate with async APIs.

Read article
ARTICLE · 27

Timing Out ADK Java Tools Safely

How the runtime enforces tool timeouts and how tool code should react.

Read article
ARTICLE · 28

ADK Java Advanced Tools

How to implement advanced tool patterns in ADK Java: long-running operations, async, streaming results.

Read article
ARTICLE · 29

ADK Java Tools

How to define tools in ADK Java, the schema format for LLM function calling, and best practices for tool design.

Read article
ARTICLE · 30

Virtual threads for Java agents

Deep-dive on running a Java agent framework on virtual threads: the mount/unmount dance at blocking LLM and tool calls, the small carrier pool, struct…

Read article
ARTICLE · 31

ADK Java Advanced Workflows

How to build complex workflow agents with nesting, conditional branches, and error handling.

Read article