# All Classes and Interfaces

Class
Description
A2AAgent
Provides local roll logic plus a remote A2A agent for the demo.
A2AAgentRun
Main class to demonstrate running the A2A agent with sequential inputs.
A2AClientError
Exception thrown when the A2A client encounters an error.
A2ADataPartMetadataType
Enum for the type of A2A DataPart metadata.
A2AMetadata
Constants and utilities for A2A metadata keys.
A2AMetadata.Key
Enum for A2A custom metadata keys.
A2AMetadataKey
Enum for the type of A2A metadata.
AbstractMcpTool<T>
Base class for MCP tools.
AbstractSkillSource<PathT>
Abstract base class for SkillSource implementations that load skills from path like object.
ActiveStreamingTool
Manages streaming tool related resources during invocation.
AdditionalAdkComponentProvider
Provides ADK components that are part of core.
AddSessionToEvalSetRequest
DTO for POST /apps/{appName}/eval_sets/{evalSetId}/add-session requests.
AdkComponentProvider
Service provider interface for ADK components to be registered in `ComponentRegistry`.
AdkMetadataKey
Enum for the type of ADK metadata.
AdkWebCorsConfig
Configuration class for setting up Cross-Origin Resource Sharing (CORS) in the ADK Web application.
AdkWebCorsProperties
Properties for configuring CORS in ADK Web.
AdkWebServer
Spring Boot application for the Agent Server.
Agent
Agent that can check whether numbers are prime.
AgentCardProducer
Produces the `AgentCard` from the bundled JSON resources.
AgentController
Spring Boot REST Controller handling agent-related API endpoints.
AgentEnums
Enums for agents.
AgentEnums.AgentOrigin
Origin of the agent.
AgentExecutor
Implementation of the A2A AgentExecutor interface that uses ADK to execute agent tasks.
AgentExecutor.Builder
Builder for `AgentExecutor`.
AgentExecutorConfig
Configuration for the `AgentExecutor`.
AgentExecutorConfig.Builder
Builder for `AgentExecutorConfig`.
AgentExecutorConfig.OutputMode
Output mode for the agent executor.
AgentExecutorProducer
Produces the `AgentExecutor` instance that handles agent interactions.
AgentGraphGenerator
Utility class to generate Graphviz DOT representations of Agent structures.
AgentLoader
Interface for loading agents to the ADK Web Server.
AgentLoader
Interface for loading agents to the ADK Web Server.
AgentLoadingProperties
Properties for loading agents.
AgentMetadata
Declares what state keys an agent reads (inputs) and writes (output).
AgentRunRequest
Data Transfer Object (DTO) for POST /run and POST /run-sse requests.
AgentStaticLoader
Static Agent Loader for programmatically provided agents.
AgentTool
AgentTool implements a tool that allows an agent to call another agent.
AgentTransfer
`RequestProcessor` that handles agent transfer for LLM flow.
Annotations
Annotations for tools.
Annotations.Schema
The annotation for binding the 'Schema' input.
ApiFutureUtils
Utility class for converting ApiFuture to RxJava Single and Maybe types.
ApigeeLlm
A `BaseLlm` implementation for calling an Apigee proxy.
ApigeeLlm.Builder
Builder for `ApigeeLlm`.
ApiResponse
The API response contains a response to a call to the GenAI APIs.
ApiServerSpanExporter
A custom SpanExporter that stores relevant span data.
App
Represents an LLM-backed agentic application.
App.Builder
Builder for `App`.
ApplicationIntegrationToolset
Application Integration Toolset
ArtifactController
Controller handling artifact-related API endpoints.
AStarSearchStrategy
A* forward search strategy that explores from preconditions toward the goal, activating agents whose inputs are all satisfied.
AutoFlow
LLM flow with automatic agent transfer support.
BaseAgent
Base class for all agents.
BaseAgent.Builder<B>
Base Builder for all agents.
BaseAgentConfig
Base configuration for all agents with subagent support.
BaseAgentConfig.AgentRefConfig
Configuration for referencing other agents (subagents).
BaseAgentConfig.CallbackRef
Reference to a callback stored in the ComponentRegistry.
BaseArtifactService
Base interface for artifact services.
BaseCodeExecutor
Abstract base class for all code executors.
BaseComputer
Defines an interface for computer environments.
BaseEventSummarizer
Base interface for producing events summary.
BaseExampleProvider
An interface that provides examples for a given query.
BaseFlow
Interface for the execution flows to run a group of agents.
BaseLlm
Abstract base class for Large Language Models (LLMs).
BaseLlmConnection
The base class for a live model connection.
BaseLlmFlow
A basic flow that calls the LLM in a loop until a final response is generated.
BaseMemoryService
Base contract for memory services.
BasePlugin
Base class for creating plugins.
BaseRetrievalTool
Base class for retrieval tools.
BaseSessionService
Defines the contract for managing `Session`s and their associated `Event`s.
BaseTool
The base class for all ADK tools.
BaseTool.ToolArgsConfig
Configuration class for tool arguments that allows arbitrary key-value pairs.
BaseTool.ToolConfig
Configuration class for a tool definition in YAML/JSON.
BaseToolset
Base interface for toolsets.
Basic
`RequestProcessor` that handles basic information to build the LLM request.
BigQueryAgentAnalyticsPlugin
BigQuery Agent Analytics Plugin for Java.
BigQueryLoggerConfig
Configuration for the BigQueryAgentAnalyticsPlugin.
BigQueryLoggerConfig.Builder
Builder for `BigQueryLoggerConfig`.
BigQueryLoggerConfig.RetryConfig
Retry configuration for BigQuery writes.
BigQueryLoggerConfig.RetryConfig.Builder
Builder for `BigQueryLoggerConfig.RetryConfig`.
BigQuerySchema
Utility for defining the BigQuery events table schema.
BuiltInCodeExecutionTool
A built-in code execution tool that is automatically invoked by Gemini 2 models.
BuiltInCodeExecutor
A code executor that uses the Model's built-in code executor.
CallbackContext
The context of various callbacks for an agent invocation.
Callbacks
Functional interfaces for agent executor lifecycle callbacks.
Callbacks
Functional interfaces for agent lifecycle callbacks.
Callbacks.AfterAgentCallback
Async callback interface for actions to be performed after an agent has finished running.
Callbacks.AfterAgentCallbackSync
Helper interface to allow for sync afterAgentCallback.
Callbacks.AfterEventCallback
Async callback interface for actions to be performed after an event is processed.
Callbacks.AfterExecuteCallback
Async callback interface for actions to be performed after an execution is completed or failed.
Callbacks.AfterModelCallback
Callbacks.AfterModelCallbackSync
Helper interface to allow for sync afterModelCallback.
Callbacks.AfterToolCallback
Async callback interface for actions to be performed after a tool has been invoked.
Callbacks.AfterToolCallbackSync
Helper interface to allow for sync afterToolCallback.
Callbacks.BeforeAgentCallback
Async callback interface for actions to be performed before an agent starts running.
Callbacks.BeforeAgentCallbackSync
Helper interface to allow for sync beforeAgentCallback.
Callbacks.BeforeExecuteCallback
Async callback interface for actions to be performed before an execution is started.
Callbacks.BeforeModelCallback
Callbacks.BeforeModelCallbackSync
Helper interface to allow for sync beforeModelCallback.
Callbacks.BeforeToolCallback
Async callback interface for actions to be performed before a tool is invoked.
Callbacks.BeforeToolCallbackSync
Helper interface to allow for sync beforeToolCallback.
Callbacks.OnModelErrorCallback
Async callback interface for handling errors that occur during an LLM model call.
Callbacks.OnModelErrorCallbackSync
Helper interface to allow for sync onModelErrorCallback.
Callbacks.OnToolErrorCallback
Async callback interface for handling errors that occur during a tool invocation.
Callbacks.OnToolErrorCallbackSync
Helper interface to allow for sync onToolErrorCallback.
CallbackUtil
Utility methods for normalizing agent callbacks.
ChatCompletionsHttpClient
An HTTP client for interacting with OpenAI-compatible chat completions endpoints.
ChatCompletionsRequest
Data Transfer Objects for Chat Completion API requests.
ChatCompletionsResponse
Data Transfer Objects for Chat Completion and Chat Completion Chunk API responses.
CityTimeWeather
Claude
Represents the Claude Generative AI model by Anthropic.
CodeExecution
Handles Code Execution related logic.
CodeExecutionUtils
Utility functions for code execution.
CodeExecutionUtils.CodeExecutionInput
A structure that contains the input of code execution.
CodeExecutionUtils.CodeExecutionInput.Builder
Builder for `CodeExecutionUtils.CodeExecutionInput`.
CodeExecutionUtils.CodeExecutionResult
A structure that contains the result of code execution.
CodeExecutionUtils.CodeExecutionResult.Builder
Builder for `CodeExecutionUtils.CodeExecutionResult`.
CodeExecutionUtils.File
A structure that contains a file name and its content.
CodeExecutionUtils.File.Builder
Builder for `CodeExecutionUtils.File`.
CodeExecutorContext
The persistent context used to configure the code executor.
CollectionUtils
Frequently used code snippets for collections.
Compaction
Request processor that performs event compaction.
CompiledAgentLoader
CompiledAgentLoader implementation for the dev environment.
ComponentRegistry
A registry for storing and retrieving ADK instances by name.
ComputerEnvironment
Enum for computer environments.
ComputerState
Represents the current state of the computer environment.
ComputerState.Builder
Builder for `ComputerState`.
ComputerUseTool
A tool that wraps computer control functions for use with LLMs.
ComputerUseToolset
A toolset that provides computer use capabilities.
ConfigAgentLoader
Configuration-based AgentLoader that loads agents from YAML configuration files.
ConfigAgentUtils
Utility class for loading agent configurations from YAML files.
ConfigAgentUtils.ConfigurationException
Exception thrown when configuration is invalid.
ConfigMapper
Maps ADK GenerateContentConfig to Spring AI ChatOptions.
ConnectionsClient
Utility class for interacting with the Google Cloud Connectors API.
ConnectionsClient.ActionSchema
Represents the schema for an action.
ConnectionsClient.ConnectionDetails
Represents details of a connection.
ConnectionsClient.EntitySchemaAndOperations
Represents the schema and available operations for an entity.
Constants
Constants used across Firestore session service tests.
ContainerCodeExecutor
A code executor that uses a custom container to execute code.
Contents
`RequestProcessor` that populates content in request for LLM flows.
ContextCacheConfig
Configuration for context caching across all agents in an app.
ContextFilterPlugin
A plugin that filters the LLM request `Content` list to reduce its size, for example to adhere to context window limits.
ContextFilterPlugin.Builder
Builder for `ContextFilterPlugin`.
ConversionUtils
Utility class for converting between different representations of MCP tools.
CoreAdkComponentProvider
Provides ADK components that are part of core.
CoreCallbacks
CredentialsHelper
This interface provides a method to convert a service account JSON string to a Google Credentials object.
CustomDemoRegistry
Custom ComponentRegistry for the user-defined config agent demo.
CustomDieTool
Tools for the user-defined config agent demo.
DebugController
Controller handling debug and tracing endpoints.
DefaultMcpTransportBuilder
The default builder for creating MCP client transports.
DependencyGraphSearch
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).
DfsSearchStrategy
Backward-chaining DFS search strategy with parallel grouping.
EmbeddingConverter
Utility class for converting between embedding formats and performing vector operations.
EvaluationController
Controller handling evaluation-related endpoints (mostly placeholder implementations).
Event
Represents an event in a session.
Event.Builder
Builder for `Event`.
EventActions
Represents the actions attached to an event.
EventActions.Builder
Builder for `EventActions`.
EventCompaction
The compaction of the events.
EventCompaction.Builder
Builder for `EventCompaction`.
EventCompactor
Base interface for compacting events.
EventConverter
Converter for ADK Events to A2A Messages.
EventsCompactionConfig
Configuration for event compaction.
EventsCompactionConfig.Builder
Builder for `EventsCompactionConfig`.
EventStream
Iterable stream of `Event` objects.
Example
Represents an few-shot example.
Example.Builder
Builder for constructing `Example` instances.
ExampleTool
A tool that injects (few-shot) examples into the outgoing LLM request as system instructions.
ExampleTool.Builder
Builder for `ExampleTool`.
ExampleUtils
Utility class for examples.
ExecutionController
Controller handling agent execution endpoints.
ExitLoopTool
Tool for exiting execution of `LoopAgent`.
FirestoreDatabaseRunner
FirestoreDatabaseRunner
FirestoreMemoryService
FirestoreMemoryService is an implementation of BaseMemoryService that uses Firestore to store and retrieve session memory entries.
FirestoreProperties
Placeholder class to test that the FirestoreProperties file is correctly included in the test resources.
FirestoreSessionService
FirestoreSessionService implements session management using Google Firestore as the backend storage.
Frontmatter
Frontmatter represents the YAML metadata at the top of a SKILL.md file.
Frontmatter.Builder
FunctionCallingUtils
Utility class for function calling.
Functions
Utility class for handling function calls.
FunctionTool
FunctionTool implements a customized function calling tool.
GcsArtifactService
An artifact service implementation using Google Cloud Storage (GCS).
Gemini
Represents the Gemini Generative AI model.
Gemini.Builder
Builder for `Gemini`.
GeminiLlmConnection
Manages a persistent, bidirectional connection to the Gemini model via WebSockets for real-time interaction.
GeminiUtil
Request / Response utilities for `Gemini`.
GenAiFieldMissingException
Exception thrown when the the genai class has an empty field.
GetSessionConfig
Configuration for getting a session.
GetSessionConfig.Builder
Builder for `GetSessionConfig`.
GlobalInstructionPlugin
Plugin that provides global instructions functionality at the App level.
GoalOrientedPlanner
A planner that resolves agent execution order based on input/output dependencies and a target goal (output key).
GoalOrientedSearchGraph
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
GoogleCredentialsHelper
GoogleMapsTool
A built-in tool that is automatically invoked by Gemini 2 models to retrieve search results from Google Maps.
GoogleSearchAgentTool
A tool that wraps a sub-agent that only uses google_search tool.
GoogleSearchTool
A built-in tool that is automatically invoked by Gemini 2 and 3 models to retrieve search results from Google Search.
GraphController
Controller handling graph generation endpoints.
GraphResponse
DTO for the response of GET /apps/{appName}/users/{userId}/sessions/{sessionId}/events/{eventId}/graph.
HelloWorldAgent
Implements a simple agent that can roll a die and check prime numbers.
HelloWorldRun
HelpMojo
Display help information on google-adk-maven-plugin.
Call `mvn google-adk:help -Ddetail=true -Dgoal=<goal-name>` to display parameter details.
HttpApiClient
Base client for the HTTP APIs.
HttpApiResponse
Wraps a real HTTP response to expose the methods needed by the GenAI SDK.
Identity
`RequestProcessor` that gives the agent identity from the framework
InMemoryArtifactService
An in-memory implementation of the `BaseArtifactService`.
InMemoryMemoryService
An in-memory memory service for prototyping purposes only.
InMemoryRunner
The class for the in-memory GenAi runner, using in-memory artifact and session services.
InMemorySessionService
An in-memory implementation of `BaseSessionService` assuming `Session` objects are mutable regarding their state map, events list, and last update time.
InMemorySkillSource
An in-memory implementation of `SkillSource`.
InMemorySkillSource.Builder
Builder for `InMemorySkillSource`.
Instruction
Represents an instruction that can be provided to an agent to guide its behavior.
Instruction.Provider
Returns an instruction dynamically constructed from the given context.
Instruction.Static
Plain instruction directly provided to the agent.
Instructions
`RequestProcessor` that handles instructions and global instructions for LLM flows.
InstructionUtils
Utility methods for handling instruction templates.
IntegrationClient
Utility class for interacting with Google Cloud Application Integration.
IntegrationConnectorTool
Application Integration Tool
InvocationContext
The context for an agent invocation.
InvocationContext.Builder
Builder for `InvocationContext`.
JsonBaseModel
The base class for the types that needs JSON serialization/deserialization capability.
LangChain4j
LangChain4j.Builder
LifeAgent
Life agent for answering questions about life.
ListArtifactsResponse
Response for listing artifacts.
ListArtifactsResponse.Builder
Builder for `ListArtifactsResponse`.
ListArtifactVersionsResponse
Response for listing artifact versions.
ListArtifactVersionsResponse.Builder
Builder for `ListArtifactVersionsResponse`.
ListEventsResponse
Response for listing events.
ListEventsResponse.Builder
Builder for `ListEventsResponse`.
ListSessionsResponse
Response for listing sessions.
ListSessionsResponse.Builder
Builder for `ListSessionsResponse`.
LiveAudioSingleAgent
LiveRequest
Represents a request to be sent to a live connection to the LLM model.
LiveRequest.Builder
Builder for constructing `LiveRequest` instances.
LiveRequestQueue
A queue of live requests to be sent to the model.
LiveWebSocketHandler
WebSocket Handler for the /run_live endpoint.
LlmAgent
The LLM-based agent.
LlmAgent.Builder
Builder for `LlmAgent`.
LlmAgent.IncludeContents
Enum to define if contents of previous events should be included in requests to the underlying LLM.
LlmAgentConfig
Configuration for LlmAgent.
LlmCallsLimitExceededException
An error indicating that the limit for calls to the LLM has been exceeded.
LlmEventSummarizer
An LLM-based event summarizer for sliding window compaction.
LlmRecording
Paired LLM request and response for replay.
LlmRecording.Builder
Builder for LlmRecording.
LlmRegistry
Central registry for managing Large Language Model (LLM) instances.
LlmRegistry.LlmFactory
The factory interface for creating LLM instances.
LlmRequest
Represents a request to be sent to the LLM.
LlmRequest.Builder
Builder for constructing `LlmRequest` instances.
LlmResponse
Represents a response received from the LLM.
LlmResponse.Builder
Builder for constructing `LlmResponse` instances.
LoadArtifactsTool
A tool that loads artifacts and adds them to the session.
LoadMemoryResponse
The response from a load memory tool invocation.
LoadMemoryTool
A tool that loads memory for the current user.
LocalSkillSource
Loads skills from the local file system.
LoggingPlugin
A plugin that logs important information at each callback point.
LongRunningFunctionTool
A function tool that returns the result asynchronously.
LoopAgent
An agent that runs its sub-agents sequentially in a loop.
LoopAgent.Builder
Builder for `LoopAgent`.
LoopAgentConfig
Configuration for LoopAgent.
LoopPlanner
A planner that cycles through sub-agents repeatedly, stopping when an escalate event is detected or the maximum number of cycles is reached.
McpAsyncTool
Initializes a MCP tool.
McpAsyncToolset
Connects to a MCP Server, and retrieves MCP Tools into ADK Tools.
McpAsyncToolset.Builder
Builder for McpAsyncToolset
McpFilesystemAgent
Defines an agent that wires the MCP stdio filesystem server via `McpToolset`.
McpFilesystemRun
Console runner that exercises `McpFilesystemAgent.ROOT_AGENT`.
McpSessionManager
Manages MCP client sessions.
McpTool
Initializes a MCP tool.
McpToolException
Base exception for all errors originating from `AbstractMcpTool` and its subclasses.
McpToolException.McpToolDeclarationException
Exception thrown when there's an error during MCP tool declaration generated.
McpToolset
Connects to a MCP Server, and retrieves MCP Tools into ADK Tools.
McpToolset.McpToolsetConfig
Configuration class for MCPToolset.
McpToolsetException
Base exception for all errors originating from `McpToolset`.
McpToolsetException.McpInitializationException
Exception thrown when there's an error during MCP session initialization.
McpToolsetException.McpToolLoadingException
Exception thrown when there's an error during loading tools from the MCP server.
McpTransportBuilder
Interface for building McpClientTransport instances.
MemoryEntry
Represents one memory entry.
MemoryEntry.Builder
Builder for `MemoryEntry`.
MessageConversionException
Exception thrown when message conversion between ADK and Spring AI formats fails.
MessageConverter
Converts between ADK and Spring AI message formats.
Model
Represents a model by name or instance.
Model.Builder
Builder for `Model`.
ModelNameUtils
Utility class for model names.
NamedToolPredicate
OpenTelemetryConfig
Configuration class for OpenTelemetry, setting up the tracer provider and span exporter.
OutputSchema
Processor that handles output schema for agents with tools.
P2PPlanner
A peer-to-peer planner where agents activate dynamically as their input dependencies become available in session state.
Pairs
Utility class for creating ConcurrentHashMaps.
ParallelAgent
A shell agent that runs its sub-agents in parallel in isolated manner.
ParallelAgent.Builder
Builder for `ParallelAgent`.
ParallelAgentConfig
Configuration for ParallelAgent.
ParallelPlanner
A planner that runs all sub-agents in parallel, then completes.
PartConverter
Utility class for converting between Google GenAI Parts and A2A DataParts.
Planner
Strategy interface for planning which sub-agent(s) to execute next.
PlannerAction
Represents the next action a `Planner` wants the `PlannerAgent` to take.
PlannerAction.Done
Plan is complete, no result to emit.
PlannerAction.DoneWithResult
Plan is complete with a final text result.
PlannerAction.NoOp
Skip this iteration (no-op).
PlannerAction.RunAgents
Run the specified sub-agent(s).
PlannerAgent
An agent that delegates execution planning to a `Planner` strategy.
PlannerAgent.Builder
Builder for `PlannerAgent`.
PlanningContext
Context provided to a `Planner` during the planning loop.
Plugin
Interface for creating plugins.
PluginManager
Manages the registration and execution of plugins.
ReadonlyContext
Provides read-only access to the context of an agent run.
Recording
Single interaction recording, ordered by request timestamp.
Recording.Builder
Builder for Recording.
Recordings
All recordings in chronological order.
Recordings.Builder
Builder for Recordings.
RecordingsLoader
Utility class for loading recordings from YAML files.
RemoteA2AAgent
Agent that communicates with a remote A2A agent via an A2A client.
RemoteA2AAgent.AgentCardResolutionError
Exception thrown when the agent card cannot be resolved.
RemoteA2AAgent.Builder
Builder for `RemoteA2AAgent`.
RemoteA2AAgent.TypeError
Exception thrown when a type error occurs.
ReplanPolicy
Policy governing how the planner reacts to missing expected outputs after an agent group executes.
ReplanPolicy.FailStop
Stop immediately on failure with an error message.
ReplanPolicy.Ignore
Ignore failures and proceed with the remaining plan as-is.
ReplanPolicy.Replan
Attempt to recompute the remaining plan from current world state.
ReplayConfigError
Exception raised when replay configuration is invalid or missing.
ReplayPlugin
Plugin for replaying ADK agent interactions from recordings.
ReplayVerificationError
Exception raised when replay verification fails.
RequestConfirmationLlmRequestProcessor
Handles tool confirmation information to build the LLM request.
RequestProcessor
Interface for processing LLM requests.
RequestProcessor.RequestProcessingResult
Result of request processing.
ResponseConverter
Utility for converting ADK events to A2A spec messages (and back).
ResponseProcessor
Interface for processing LLM responses.
ResponseProcessor.ResponseProcessingResult
Result of response processing.
RunConfig
Configuration to modify an agent's LLM's underlying behavior.
RunConfig.Builder
Builder for `RunConfig`.
RunConfig.StreamingMode
Streaming mode for the runner.
RunConfig.ToolExecutionMode
Tool execution mode for the runner, when they are multiple tools requested (by the models or callbacks).
RunEvalRequest
DTO for POST /apps/{appName}/eval_sets/{evalSetId}/run-eval requests.
RunEvalResult
DTO for the response of POST /apps/{appName}/eval_sets/{evalSetId}/run-eval.
Runner
The main class for the GenAI Agents runner.
Runner.Builder
Builder for `Runner`.
RunnerService
Service for creating and caching Runner instances.
SchemaUtils
Utility class for validating schemas.
SearchMemoryResponse
Represents the response from a memory search.
SearchMemoryResponse.Builder
Builder for `SearchMemoryResponse`.
SearchStrategy
Strategy for searching a dependency graph to find ordered agent execution groups.
SequentialAgent
An agent that runs its sub-agents sequentially.
SequentialAgent.Builder
Builder for `SequentialAgent`.
SequentialAgentConfig
Configuration for SequentialAgent.
SequentialPlanner
A planner that runs sub-agents one at a time in order.
Session
A `Session` object that encapsulates the `State` and `Event`s of a session.
Session.Builder
Builder for `Session`.
SessionController
Controller handling session-related API endpoints.
SessionException
Represents a general error that occurred during session management operations.
SessionKey
Key for a session, composed of appName, userId and session id.
SessionNotFoundException
Indicates that a requested session could not be found.
SessionRequest
Data Transfer Object (DTO) for POST /apps/{appName}/users/{userId}/sessions and POST /apps/{appName}/users/{userId}/sessions/{sessionId} equests.
SessionUtils
Utility functions for session service.
SetModelResponseTool
Internal tool used for output schema workaround.
SingleFlow
Basic LLM flow with fixed request and response processors.
SkillSource
Interface for getting access to available skills.
SkillSourceException
Exception for `SkillSource` implementations to signal recoverable errors that will have the message sending back to the LLM.
SlidingWindowEventCompactor
This class performs events compaction in a sliding window fashion based on the `EventsCompactionConfig`.
SpeechClientInterface
Interface for a speech-to-text client.
SpringAI
Spring AI implementation of BaseLlm that wraps Spring AI ChatModel and StreamingChatModel.
SpringAIAutoConfiguration
Auto-configuration for Spring AI integration with ADK.
SpringAIEmbedding
Spring AI embedding model wrapper that provides ADK-compatible embedding generation.
SpringAIErrorMapper
Maps Spring AI exceptions to appropriate ADK exceptions and error handling strategies.
SpringAIErrorMapper.ErrorCategory
Error categories for different types of failures.
SpringAIErrorMapper.MappedError
Container for mapped error information.
SpringAIErrorMapper.RetryStrategy
Retry strategy recommendations.
SpringAIObservabilityHandler
Handles observability features for Spring AI integration using Micrometer.
SpringAIObservabilityHandler.RequestContext
Context for tracking a single request with Micrometer timer.
SpringAIProperties
Configuration properties for Spring AI integration with ADK.
SpringAIProperties.Observability
Observability configuration settings.
SpringAIProperties.Validation
Configuration validation settings.
SseServerParameters
Parameters for establishing a MCP Server-Sent Events (SSE) connection.
SseServerParameters.Builder
Builder for `SseServerParameters`.
StartupConfig
Configuration applied on startup, such as Jackson module registrations.
State
A `State` object that also keeps track of the changes to the state.
StdioConnectionParameters
StdioConnectionParameters.Builder
StdioServerParameters
Parameters for establishing a MCP stdio connection.
StdioServerParameters.Builder
Builder for `StdioServerParameters`.
StreamableHttpServerParameters
Server parameters for Streamable HTTP client transport.
StreamableHttpServerParameters.Builder
Builder for `StreamableHttpServerParameters`.
StreamingResponseAggregator
Aggregates streaming responses from Spring AI models.
SupervisorPlanner
A planner that uses an LLM to dynamically decide which sub-agent(s) to run next.
TailRetentionEventCompactor
This class performs event compaction by retaining the tail of the event stream.
ToolConfirmation
Represents a tool confirmation configuration.
ToolConfirmation.Builder
Builder for `ToolConfirmation`.
ToolContext
ToolContext object provides a structured context for executing tools or functions.
ToolContext.Builder
Builder for `ToolContext`.
ToolConverter
Converts between ADK and Spring AI tool/function formats.
ToolConverter.ToolMetadata
Simple metadata holder for tool information.
ToolPredicate
Functional interface to decide whether a tool should be exposed to the LLM based on the current context.
ToolRecording
Paired tool call and response for replay.
ToolRecording.Builder
Builder for ToolRecording.
TraceManager
Manages OpenTelemetry-style trace and span context using InvocationContext callback data.
Tracing
Utility class for capturing and reporting telemetry data within the ADK.
Tracing.ContextTransformer<T>
A transformer that re-activates a given context for the duration of the stream's subscription.
Tracing.TracerProvider<T>
A transformer that manages an OpenTelemetry span and scope for RxJava streams.
UrlContextTool
A built-in tool that is automatically invoked by Gemini 2 and 3 models to retrieve information from the given URLs.
Version
Tracks the current ADK version.
VertexAiCodeExecutor
A code executor that uses Vertex Code Interpreter Extension to execute code.
VertexAiRagRetrieval
A retrieval tool that fetches context from Vertex AI RAG.
VertexAiSearchAgentTool
A tool that wraps a sub-agent that only uses vertex_ai_search tool.
VertexAiSearchTool
A built-in tool using Vertex AI Search.
VertexAiSearchTool.Builder
Builder for `VertexAiSearchTool`.
VertexAiSessionService
Connects to the managed Vertex AI Session Service.
VertexCredentials
Credentials for accessing Gemini models through Vertex.
VertexCredentials.Builder
Builder for `VertexCredentials`.
VertexSpeechClient
Implementation of SpeechClientInterface using Vertex AI SpeechClient.
WebMojo
Maven plugin goal that starts the Google ADK Web Server with user-provided agents.
WebSocketConfig
Configuration class for WebSocket handling.