All Classes and Interfaces

Class
Description
Provides local roll logic plus a remote A2A agent for the demo.
Main class to demonstrate running the A2A agent with sequential inputs.
Exception thrown when the A2A client encounters an error.
Enum for the type of A2A DataPart metadata.
Constants and utilities for A2A metadata keys.
Enum for A2A custom metadata keys.
Enum for the type of A2A metadata.
Base class for MCP tools.
Abstract base class for SkillSource implementations that load skills from path like object.
A container class that holds a skill's name and the path to its SKILL.md file.
Manages streaming tool related resources during invocation.
Provides ADK components that are part of core.
DTO for POST /apps/{appName}/eval_sets/{evalSetId}/add-session requests.
Service provider interface for ADK components to be registered in ComponentRegistry.
Enum for the type of ADK metadata.
Configuration class for setting up Cross-Origin Resource Sharing (CORS) in the ADK Web application.
Properties for configuring CORS in ADK Web.
Spring Boot application for the Agent Server.
Agent that can check whether numbers are prime.
Produces the AgentCard from the bundled JSON resources.
Spring Boot REST Controller handling agent-related API endpoints.
Enums for agents.
Origin of the agent.
Implementation of the A2A AgentExecutor interface that uses ADK to execute agent tasks.
Builder for AgentExecutor.
Configuration for the AgentExecutor.
Builder for AgentExecutorConfig.
Output mode for the agent executor.
Produces the AgentExecutor instance that handles agent interactions.
Utility class to generate Graphviz DOT representations of Agent structures.
Interface for loading agents to the ADK Web Server.
Interface for loading agents to the ADK Web Server.
Properties for loading agents.
Declares what state keys an agent reads (inputs) and writes (output).
How an LlmAgent converses when it runs as a workflow node.
Data Transfer Object (DTO) for POST /run and POST /run-sse requests.
Static Agent Loader for programmatically provided agents.
AgentTool implements a tool that allows an agent to call another agent.
RequestProcessor that handles agent transfer for LLM flow.
Annotations for tools.
The annotation for binding the 'Schema' input.
The answer to a Question.Binary question.
Builder for Answer.BinaryAnswer.
The answer to a Question.Choice question.
Builder for Answer.ChoiceAnswer.
The answer to a question that the provider declined to answer.
The answer to a Question.Score question.
Builder for Answer.ScoreAnswer.
Utility class for converting ApiFuture to RxJava Single and Maybe types.
A BaseLlm implementation for calling an Apigee proxy.
Defines the type of API to be used by the Apigee proxy.
Builder for ApigeeLlm.
The API response contains a response to a call to the GenAI APIs.
A custom SpanExporter that stores relevant span data.
Configuration for ApiServerSpanExporter.
Represents an LLM-backed agentic application.
Builder for App.
Application Integration Toolset
Loads what the ADK Web Server serves: apps, agents and workflows, each as an App keyed by its app name.
Controller handling artifact-related API endpoints.
A* forward search strategy that explores from preconditions toward the goal, activating agents whose inputs are all satisfied.
LLM flow with automatic agent transfer support.
Parsed representation of adk.web.backend-url, shared by the runtime-config endpoint and the dev UI entry redirects.
Base class for all agents.
Base Builder for all agents.
Base configuration for all agents with subagent support.
Configuration for referencing other agents (subagents).
Reference to a callback stored in the ComponentRegistry.
Base interface for artifact services.
Abstract base class for all code executors.
Defines an interface for computer environments.
Base interface for producing events summary.
An interface that provides examples for a given query.
Interface for the execution flows to run a group of agents.
Abstract base class for Large Language Models (LLMs).
The base class for a live model connection.
A basic flow that calls the LLM in a loop until a final response is generated.
Base contract for memory services.
Base class for nodes in a workflow graph.
Base class for creating plugins.
Base class for retrieval tools.
Defines the contract for managing Sessions and their associated Events.
The base class for all ADK tools.
Configuration class for tool arguments that allows arbitrary key-value pairs.
Configuration class for a tool definition in YAML/JSON.
Base interface for toolsets.
RequestProcessor that handles basic information to build the LLM request.
BigQuery Agent Analytics Plugin for Java.
Configuration for the BigQueryAgentAnalyticsPlugin.
Retry configuration for BigQuery writes.
Utility for defining the BigQuery events table schema.
A built-in code execution tool that is automatically invoked by Gemini 2 models.
A code executor that uses the Model's built-in code executor.
Context cache state carried on an LLM response, and on its event, from one request to the next.
Builder for CacheMetadata.
The context of various callbacks for an agent invocation.
Functional interfaces for agent executor lifecycle callbacks.
Functional interfaces for agent lifecycle callbacks.
Async callback interface for actions to be performed after an agent has finished running.
Helper interface to allow for sync afterAgentCallback.
Async callback interface for actions to be performed after an event is processed.
Async callback interface for actions to be performed after an execution is completed or failed.
 
Helper interface to allow for sync afterModelCallback.
Async callback interface for actions to be performed after a tool has been invoked.
Helper interface to allow for sync afterToolCallback.
Async callback interface for actions to be performed before an agent starts running.
Helper interface to allow for sync beforeAgentCallback.
Async callback interface for actions to be performed before an execution is started.
 
Helper interface to allow for sync beforeModelCallback.
Async callback interface for actions to be performed before a tool is invoked.
Helper interface to allow for sync beforeToolCallback.
Async callback interface for handling errors that occur during an LLM model call.
Helper interface to allow for sync onModelErrorCallback.
Async callback interface for handling errors that occur during a tool invocation.
Helper interface to allow for sync onToolErrorCallback.
Utility methods for normalizing agent callbacks.
A converter from the McpSchema.CallToolResult of an MCP tool call to the response of the ADK tool.
A client for interacting with OpenAI-compatible chat completions endpoints.
An OkHttp-based implementation of ChatCompletionsClient that targets OpenAI-compatible chat completions endpoints.
Thrown by ChatCompletionsHttpClient when the server returns a non-successful HTTP status code.
Data Transfer Objects for Chat Completion API requests.
Data Transfer Objects for Chat Completion and Chat Completion Chunk API responses.
 
A decision model that answers typed questions with probability distributions.
Text or structured data that a Classifier reads as the input or as a question's instructions or criteria: plain ClassifierContent.Text, or a ClassifierContent.JsonObject or ClassifierContent.JsonArray.
A JSON array.
A JSON object.
Plain text.
What a Classifier answers questions about: ClassifierContent (text, or a JSON object or array) or multimodal ClassifierInput.Content parts.
Content input.
A workflow node that routes on a classifier's answer to one question about the node's input: the label a Question.Choice answer chose, or true or false for a Question.Binary answer, decided by ClassifierNode.threshold().
Builder for ClassifierNode.
A port of adk-python's classifier_node workflow sample.
A request to a Classifier to answer one or more typed questions about an input.
The answers that one Classifier.classify(ClassifierRequest) call produced.
Builder for ClassifierResponse.
Loads skills from the classpath.
Represents the Claude Generative AI model by Anthropic.
Builder for Claude.
Handles Code Execution related logic.
Utility functions for code execution.
A structure that contains the input of code execution.
A structure that contains the result of code execution.
A structure that contains a file name and its content.
The persistent context used to configure the code executor.
Frequently used code snippets for collections.
Request processor that performs event compaction.
CompiledAgentLoader implementation for the dev environment.
A registry for storing and retrieving ADK instances by name.
Enum for computer environments.
Represents the current state of the computer environment.
Builder for ComputerState.
A tool that wraps computer control functions for use with LLMs.
A toolset that provides computer use capabilities.
Configuration-based AgentLoader that loads agents from YAML configuration files.
Utility class for loading agent configurations from YAML files.
Exception thrown when configuration is invalid.
Maps between ADK GenerateContentConfig and Spring AI ChatOptions in both directions.
A predicate that decides for each input whether a FunctionNode run asks the user to approve it, set with FunctionNode.Builder.requireConfirmation(ConfirmationPredicate).
Utility class for interacting with the Google Cloud Connectors API.
Represents the schema for an action.
Represents details of a connection.
Represents the schema and available operations for an entity.
Constants used across Firestore session service tests.
A code executor that runs code in a Docker container.
RequestProcessor that populates content in request for LLM flows.
The context passed to callbacks, tools, and workflow nodes during an invocation.
Configures context caching for all agents in an app.
A weather assistant whose large, shared instruction makes it a good fit for context caching.
Runs several turns of one session against ContextCachingAgent and prints what the cache does on each turn.
A plugin that filters the LLM request Content list to reduce its size, for example to adhere to context window limits.
Builder for ContextFilterPlugin.
Static helpers for converting ADK tools to MCP tools.
Provides ADK components that are part of core.
 
This interface provides a method to convert a service account JSON string to a Google Credentials object.
Custom ComponentRegistry for the user-defined config agent demo.
Tools for the user-defined config agent demo.
Controller handling debug and tracing endpoints.
A plugin that captures complete debug information to a YAML file.
Builder for DebugLoggingPlugin.
The default builder for creating MCP client transports.
Performs a topological search on the dependency graph to find the ordered list of agents that must execute to produce a goal output, given a set of initial preconditions (state keys already available).
Where the dev UI's static assets live.
Backward-chaining DFS search strategy with parallel grouping.
A port of adk-python's dynamic_fan_out_fan_in workflow sample: one node splits the user's comma-separated topics, runs a headline agent on each topic concurrently with runNode, and collects the headlines into one table.
An exception that Context.runNode(Node) signals when the child node fails.
A port of adk-python's dynamic_nodes workflow sample: the loop sample rewritten as one node that runs the headline agents with runNode in a loop, instead of routing between them with graph edges.
A connection between two nodes in a workflow graph.
A builder for the edges of a workflow graph, declared as chains of calls that start at EdgesBuilder.from(Node) or EdgesBuilder.fromStart().
A chain of edges positioned at a node group from a fan-out, EdgesBuilder.from(Node, Node, Node...), or EdgesBuilder.from(Collection), which EdgesBuilder.NodeGroupChain.joinTo(JoinNode) connects to a JoinNode.
A routing map configured in EdgesBuilder.EdgeChain.route(Consumer) that maps each route the source node may emit to the nodes it leads to, written r.on("billing").then(billing).
A routing-map entry started by EdgesBuilder.RouteMap.on(String) whose routes have no target yet; EdgesBuilder.RouteMapEntry.then(Node, Node...) completes it.
A set of routes that select a single edge, which fires once when its source emits any of them; separate edges to the same target would fire once each.
Static utilities for converting between Spring AI and ADK/GenAI embedding formats and performing vector operations.
Controller handling evaluation-related endpoints (mostly placeholder implementations).
Represents an event in a session.
Builder for Event.
Represents the actions attached to an event.
Builder for EventActions.
The compaction of the events.
Builder for EventCompaction.
Base interface for compacting events.
Converter for ADK Events to A2A Messages.
Configuration for event compaction.
Iterable stream of Event objects.
Represents an few-shot example.
Builder for constructing Example instances.
A tool that injects (few-shot) examples into the outgoing LLM request as system instructions.
Builder for ExampleTool.
Utility class for examples.
Controller handling agent execution endpoints.
Tool for exiting execution of LoopAgent.
Marks the annotated element as experimental, exempt from standard stability guarantees.
A port of adk-python's fan_out_fan_in workflow sample: three nodes transform the user's text concurrently, and a JoinNode waits for all of them before one node combines their outputs.
FirestoreDatabaseRunner
FirestoreMemoryService is an implementation of BaseMemoryService that uses Firestore to store and retrieve session memory entries.
Placeholder class to test that the FirestoreProperties file is correctly included in the test resources.
FirestoreSessionService implements session management using Google Firestore as the backend storage.
Frontmatter represents the YAML metadata at the top of a SKILL.md file.
 
Constants and helpers for ADK-generated function call IDs.
Utility class for function calling.
A workflow node that runs a Java function on each input, with a type per port; build one with FunctionNodes.of(String, Class, Class, NodeBody) or FunctionNodes.builder(Class, Class).
Fluent builder for FunctionNode.
Creates FunctionNodes with a type per port, as a Class or, for a generic type such as List<Order>, a TypeReference, read and written as FunctionNode describes.
Utility class for handling function calls.
FunctionTool implements a customized function calling tool.
An artifact service implementation using Google Cloud Storage (GCS).
Represents the Gemini Generative AI model.
Builder for Gemini.
The bidirectional live transport that GeminiLlmConnection drives.
Manages a persistent, bidirectional connection to the Gemini model via WebSockets for real-time interaction.
Request / Response utilities for Gemini.
Exception thrown when the the genai class has an empty field.
Configuration for getting a session.
Builder for GetSessionConfig.
Plugin that provides global instructions functionality at the App level.
A planner that resolves agent execution order based on input/output dependencies and a target goal (output key).
Transforms AgentMetadata into a dependency graph where: Each output key maps to the agent that produces it Each output key maps to the input keys (dependencies) required to produce it
 
A built-in tool that is automatically invoked by Gemini 2 models to retrieve search results from Google Maps.
A tool that wraps a sub-agent that only uses google_search tool.
A built-in tool that is automatically invoked by Gemini models to retrieve search results from Google Search.
Controller handling graph generation endpoints.
DTO for the response of GET /apps/{appName}/users/{userId}/sessions/{sessionId}/events/{eventId}/graph.
Thrown when a workflow graph is malformed, such as when Start cannot reach a node or a cycle has no routed edge.
Implements a simple agent that can roll a die and check prime numbers.
 
Display help information on google-adk-maven-plugin.
Call mvn google-adk:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
Base client for the HTTP APIs.
Wraps a real HTTP response to expose the methods needed by the GenAI SDK.
Creates OkHttpClients for the ADK.
RequestProcessor that gives the agent identity from the framework.
An AppLoader serving a fixed set of apps, each under its App.name().
An in-memory implementation of the BaseArtifactService.
An in-memory memory service for prototyping purposes only.
The class for the in-memory GenAi runner, using in-memory artifact and session services.
An in-memory implementation of BaseSessionService assuming Session objects are mutable regarding their state map, events list, and last update time.
What createSession does when sessionId is already in use.
An in-memory implementation of SkillSource.
Builder for InMemorySkillSource.
Represents an instruction that can be provided to an agent to guide its behavior.
Returns an instruction dynamically constructed from the given context.
Plain instruction directly provided to the agent.
RequestProcessor that handles instructions and global instructions for LLM flows.
Utility methods for handling instruction templates.
Unified context manager utility class for agent and tool execution telemetry in ADK.
AutoCloseable telemetry tracking scope for agent invocations.
Base class for AutoCloseable telemetry tracking scopes.
Stores all telemetry related state.
AutoCloseable telemetry tracking scope for tool executions.
Utility class for interacting with Google Cloud Application Integration.
Application Integration Tool
The context for an agent invocation.
Builder for InvocationContext.
A node that waits for every predecessor to complete, then outputs their outputs keyed by predecessor name.
Builder for JoinNode.
The base class for the types that needs JSON serialization/deserialization capability.
 
 
Life agent for answering questions about life.
Response for listing artifacts.
Response for listing artifact versions.
Response for listing events.
Builder for ListEventsResponse.
Response for listing sessions.
 
Represents a request to be sent to a live connection to the LLM model.
Builder for constructing LiveRequest instances.
A queue of live requests to be sent to the model.
WebSocket Handler for the /run_live endpoint.
The LLM-based agent.
Builder for LlmAgent.
Enum to define if contents of previous events should be included in requests to the underlying LLM.
Configuration for LlmAgent.
An error indicating that the limit for calls to the LLM has been exceeded.
What a model supports, as reported by BaseLlm.capabilities().
Builder for LlmCapabilities.
Answers typed questions with any BaseLlm through structured output.
Builder for LlmClassifier.
An LLM-based event summarizer for sliding window compaction.
Paired LLM request and response for replay.
Builder for LlmRecording.
Central registry for managing Large Language Model (LLM) instances.
The factory interface for creating LLM instances.
Represents a request to be sent to the LLM.
Builder for constructing LlmRequest instances.
Represents a response received from the LLM.
Builder for constructing LlmResponse instances.
A tool that loads artifacts and adds them to the session.
The response from a load memory tool invocation.
A tool that loads memory for the current user.
Loads skills from the local file system.
A plugin that logs important information at each callback point.
A function tool that returns the result asynchronously.
An agent that runs its sub-agents sequentially in a loop.
Builder for LoopAgent.
Configuration for LoopAgent.
A planner that cycles through sub-agents repeatedly, stopping when an escalate event is detected or the maximum number of cycles is reached.
A port of adk-python's loop_self workflow sample: the user picks a number from 0 to 10, and a node keeps routing back to itself until it guesses it.
A port of adk-python's loop workflow sample: an agent writes a headline about the user's topic, a second agent grades whether it is about technology, and the workflow loops back with the grader's feedback until it is.
Initializes a MCP tool.
Connects to a MCP Server, and retrieves MCP Tools into ADK Tools.
Builder for McpAsyncToolset
Defines an agent that wires the MCP stdio filesystem server via McpToolset.
Console runner that exercises McpFilesystemAgent.ROOT_AGENT.
Defines an agent whose MCP tool returns the whole tool result, which an after-tool callback reduces to its structured content before the model sees it.
Console runner that exercises McpFullResultAgent.
Manages MCP client sessions.
Initializes a MCP tool.
Base exception for all errors originating from AbstractMcpTool and its subclasses.
Exception thrown when there's an error during MCP tool declaration generated.
Connects to a MCP Server, and retrieves MCP Tools into ADK Tools.
Builder for McpToolset.
Configuration class for MCPToolset.
Base exception for all errors originating from McpToolset.
Exception thrown when there's an error during MCP session initialization.
Exception thrown when there's an error during loading tools from the MCP server.
Interface for building McpClientTransport instances.
Represents one memory entry.
Builder for MemoryEntry.
Exception thrown when message conversion between ADK and Spring AI formats fails.
Converts between ADK and Spring AI message, request, and response formats in both directions.
A port of ADK Kotlin's message-triage workflow sample, the graph from the ADK docs: an agent labels a message as a bug, a customer-support request, a logistics question, or several of these, and a function node emits one route per label so each matching handler runs.
A port of adk-python's message workflow sample: nodes send the user a text message, a message with an inline image, several messages in a row, and a sentence streamed in chunks.
Utility class for recording OpenTelemetry metrics within the ADK.
Represents a model by name or instance.
Builder for Model.
Utility class for model names.
A port of adk-python's multi_triggers workflow sample: three nodes transform the user's text concurrently, and each one triggers the same node, which therefore runs three times.
 
A port of adk-python's nested_workflow sample: for the year the user names, a nested workflow finds a famous person born that year and writes their bio while an agent describes an event from that year, and a JoinNode waits for both branches before one message combines them.
A unit of work in a workflow graph.
The body of a FunctionNode, which takes the node run's context and its single input; the input may be shared with other nodes, so the body must not mutate it.
A node's retry policy and execution timeout.
Builder for NodeConfig.
Base class for node failures raised by the workflow runtime, such as NodeTimeoutException.
The state of one workflow node run, held by the run's Context.
The identity of the workflow-node activation that emitted an Event.
Builder for NodeInfo.
Thrown when a node's input does not fit the node, such as a value of the wrong type for its input port or one the node cannot work on.
The rules a node name follows so that the node paths and branches built from it stay intact.
A port of adk-python's node_output workflow sample: a function node's return value becomes its output, a returned Event passes through as is, and an agent with an output schema answers with structured data, which the next node receives decoded into a record.
The runner for one workflow node, which times out an attempt that exceeds the node's optional timeout and retries the node as its retry policy allows.
Thrown when a node's attempt outlasts the timeout that NodeConfig.timeout() sets.
A read-only agent that stands in for a non-agent workflow node so code reading the agent of an app, runner, or invocation keeps working when they run a node.
Configuration class for OpenTelemetry, setting up the tracer provider and span exporter.
A port of ADK Kotlin's order-processing workflow sample, with fraud review.
A mock credit bureau whose check runs as a step of the workflow.
A Spring service whose methods AgentConfig exposes to the agent as tools.
Processor that handles output schema for agents with tools.
A peer-to-peer planner where agents activate dynamically as their input dependencies become available in session state.
Utility class for creating ConcurrentHashMaps.
A shell agent that runs its sub-agents in parallel in isolated manner.
Builder for ParallelAgent.
Configuration for ParallelAgent.
A planner that runs all sub-agents in parallel, then completes.
Static factories for workflow nodes that run a node once per item of a list input.
A port of adk-python's parallel_worker workflow sample: an agent lists three topics related to the user's topic, a function node uppercases each one, an agent explains how each relates to the original topic, and a last node joins the explanations.
Utility class for converting between Google GenAI Parts and A2A DataParts.
Lets BaseLlmFlow's multi-step loop wait until the Runner -- the sole event persister -- has appended the current step's events, so the next step's request (built from session.events() by Contents) is not assembled from a stale session.
Strategy interface for planning which sub-agent(s) to execute next.
Represents the next action a Planner wants the PlannerAgent to take.
Plan is complete, no result to emit.
Plan is complete with a final text result.
Skip this iteration (no-op).
Run the specified sub-agent(s).
An agent that delegates execution planning to a Planner strategy.
Builder for PlannerAgent.
Context provided to a Planner during the planning loop.
Interface for creating plugins.
Manages the registration and execution of plugins.
A typed question that a Classifier answers: a Question.Choice, a Question.Binary, or a Question.Score.
Asks a Classifier for the probability that a statement is true, answered by a Answer.BinaryAnswer.
Builder for Question.Binary.
Asks a Classifier to pick one of two or more labels, answered by a Answer.ChoiceAnswer.
Builder for Question.Choice.
Asks a Classifier to place an input on an ordered rubric starting at level 0, answered by a Answer.ScoreAnswer.
Builder for Question.Score.
Provides read-only access to the context of an agent run.
Single interaction recording, ordered by request timestamp.
Builder for Recording.
All recordings in chronological order.
Builder for Recordings.
Utility class for loading recordings from YAML files.
Provides self-healing error recovery for tool failures.
Finds an error that a tool reported in its result instead of throwing.
Defines the lifecycle scope for tracking tool failure counts.
Agent that communicates with a remote A2A agent via an A2A client.
Exception thrown when the agent card cannot be resolved.
Builder for RemoteA2AAgent.
Exception thrown when a type error occurs.
Policy governing how the planner reacts to missing expected outputs after an agent group executes.
Stop immediately on failure with an error message.
Ignore failures and proceed with the remaining plan as-is.
Attempt to recompute the remaining plan from current world state.
Exception raised when replay configuration is invalid or missing.
Plugin for replaying ADK agent interactions from recordings.
Exception raised when replay verification fails.
Handles tool confirmation information to build the LLM request.
A node's request for user input, which pauses the workflow until the user answers it.
Builder for RequestInput.
A port of adk-python's request_input_advanced workflow sample: an agent extracts a time-off request from the user's message, a node approves one day on its own and otherwise asks a manager, sending the request as the payload and asking for an answer that matches a schema, and the last node reports the decision.
A port of adk-python's request_input_rerun workflow sample: the request_input sample with one review node instead of two.
A port of adk-python's request_input workflow sample: an agent drafts a reply to a customer complaint, a node pauses the workflow to ask a human to review the draft, and the next node receives the answer and sends the draft, drops it, or has the agent revise it with the feedback.
Interface for processing LLM requests.
Result of request processing.
A port of ADK Kotlin's research workflow sample.
Utility for converting ADK events to A2A spec messages (and back).
Interface for processing LLM responses.
Result of response processing.
Resumability config for every agent in an app: pause on a long-running call and resume from the last event.
Builder for ResumabilityConfig.
How a node is retried when it fails.
Builder for RetryConfig.
A port of adk-python's retry workflow sample: a weather lookup fails at random, and its retry policy runs it again, up to five attempts in all, before the next node reports the weather.
A returns desk whose steps include the function tools of ReturnsWorkflow.OrderSystem.
A mock order backend whose tools the returns workflow runs as graph steps.
Standard role names for Content and event authors.
A value on a workflow edge, and the value a node emits to select which of its outgoing edges are followed.
The fallback edge, followed when no other routed edge of the node matches what it emitted, including when it emitted no route.
A route identified by a boolean, for a two-way branch.
A route identified by an integer.
A route identified by a string, which is the common case.
A port of adk-python's route workflow sample: an agent classifies the user's input as a question, a statement, or something else, and a node routes it to the agent or node that handles that category.
Configuration to modify an agent's LLM's underlying behavior.
Builder for RunConfig.
Streaming mode for the runner.
Execution mode when the model requests multiple tools.
DTO for POST /apps/{appName}/eval_sets/{evalSetId}/run-eval requests.
DTO for the response of POST /apps/{appName}/eval_sets/{evalSetId}/run-eval.
The main class for the GenAI Agents runner.
Builder for Runner.
Serves the configured apps, and creates and caches a Runner for each.
Configuration for running a child node with Context.runNode(Node).
Builder for RunNodeConfig.
Serves the dev UI's runtime configuration, shadowing the copy bundled in the static assets so adk.web.backend-url can point the UI at the address browsers reach this server on.
Saves files attached to user messages as artifacts, replacing each with a placeholder that names the artifact so agents can load it later, such as with LoadArtifactsTool.
Utility class for reading JSON and validating values against schemas.
Represents the response from a memory search.
Strategy for searching a dependency graph to find ordered agent execution groups.
A port of adk-python's sequence workflow sample: one agent names a random fruit, and the next agent receives that answer as its input and tells a health benefit of the fruit.
An agent that runs its sub-agents sequentially.
Builder for SequentialAgent.
Configuration for SequentialAgent.
A planner that runs sub-agents one at a time in order.
A Session object that encapsulates the State and Events of a session.
Builder for Session.
Controller handling session-related API endpoints.
Represents a general error that occurred during session management operations.
Key for a session, composed of appName, userId and session id.
Indicates that a requested session could not be found.
Data Transfer Object (DTO) for POST /apps/{appName}/users/{userId}/sessions and POST /apps/{appName}/users/{userId}/sessions/{sessionId} equests.
Utility functions for session service.
Internal tool used for output schema workaround.
Basic LLM flow with fixed request and response processors.
Interface for getting access to available skills.
Exception for SkillSource implementations to signal recoverable errors that will have the message sending back to the LLM.
A toolset for listing skills and loading their instructions and resources.
This class performs events compaction in a sliding window fashion based on the EventsCompactionConfig.
Interface for a speech-to-text client.
Spring AI implementation of BaseLlm that wraps Spring AI ChatModel and StreamingChatModel.
Auto-configuration for Spring AI integration with ADK.
Spring AI embedding model wrapper that provides ADK-compatible embedding generation.
Maps Spring AI exceptions to appropriate ADK exceptions and error handling strategies.
Error categories for different types of failures.
Container for mapped error information.
Retry strategy recommendations.
Handles observability features for Spring AI integration using Micrometer.
Context for tracking a single request with Micrometer timer.
Configuration properties for Spring AI integration with ADK.
Observability configuration settings.
Configuration validation settings.
Exposes a Spring AI ToolCallback as an ADK BaseTool, so an existing Spring AI tool can be used by any ADK agent and model.
Exposes every Spring AI tool from a ToolCallbackProvider as an ADK BaseToolset, so a dependency-injected provider (for example a Spring bean) contributes its tools to an ADK agent.
Spring Boot entry point for the advanced chat sample.
Spring Boot entry point for the chat sample.
Parameters for establishing a MCP Server-Sent Events (SSE) connection.
Builder for SseServerParameters.
The node that marks where a workflow graph starts.
Configuration applied on startup, such as Jackson module registrations.
A State object that also keeps track of the changes to the state.
A port of adk-python's state workflow sample: nodes write session state through the context and through an event, and read it back through the context.
 
 
Parameters for establishing a MCP stdio connection.
Server parameters for Streamable HTTP client transport.
Aggregates streaming responses from Spring AI models.
A planner that uses an LLM to dynamically decide which sub-agent(s) to run next.
A port of ADK Kotlin's support-triage workflow sample.
A mock billing backend that the billing specialist queries through a tool.
A charge on a customer's account.
A mock status page that the support engineer checks through a tool.
This class performs event compaction by retaining the tail of the event stream.
Represents a tool confirmation configuration.
Builder for ToolConfirmation.
ToolContext object provides a structured context for executing tools or functions.
Builder for ToolContext.
Converts between ADK and Spring AI tool/function formats in both directions.
Simple metadata holder for tool information.
Static factories for workflow nodes that run a BaseTool, such as an MCP tool or an agent wrapped as a tool.
Functional interface to decide whether a tool should be exposed to the LLM based on the current context.
Paired tool call and response for replay.
Builder for ToolRecording.
Manages the BQAA-internal execution tree of span IDs for one invocation.
Utility class for capturing and reporting telemetry data within the ADK.
A transformer that re-activates a given context for the duration of the stream's subscription.
A transformer that manages an OpenTelemetry span and scope for RxJava streams.
A built-in tool that is automatically invoked by Gemini models to retrieve information from the given URLs.
A port of adk-python's use_as_output workflow sample.
Supplies new unique identifiers for ADK-generated ids.
Tracks the current ADK version.
Reports the ADK and language versions, which the dev UI requests on startup, plus a liveness endpoint.
Signals a non-2xx, non-404 HTTP status from the Vertex AI Session API.
A code executor that uses Vertex Code Interpreter Extension to execute code.
A retrieval tool that fetches context from Vertex AI RAG.
A tool that wraps a sub-agent that only uses vertex_ai_search tool.
A built-in tool using Vertex AI Search.
Builder for VertexAiSearchTool.
Connects to the managed Vertex AI Session Service.
Credentials for accessing Gemini models through Vertex.
Builder for VertexCredentials.
Implementation of SpeechClientInterface using Vertex AI SpeechClient.
Maven plugin goal that starts the Google ADK Web Server with user-provided agents.
Configuration class for WebSocket handling.
A graph of nodes that is itself a node, so a workflow can go wherever a node can, including in another workflow.
Builder for Workflow.
Thrown when a workflow or one of its nodes is declared in a way that cannot run.
Thrown when data arriving during a run does not fit the receiving node, such as an answer it cannot route on.