All Classes and Interfaces

Class
Description
Configuration class for setting up Cross-Origin Resource Sharing (CORS) in the ADK Web application.
Properties for configuring CORS in ADK Web.
Single-file Spring Boot application for the Agent Server.
DTO for POST /apps/{appName}/eval_sets/{evalSetId}/add-session requests.
Spring Boot REST Controller handling agent-related API endpoints.
Data Transfer Object (DTO) for POST /run and POST /run-sse requests.
A custom SpanExporter that stores relevant span data.
DTO for the response of GET /apps/{appName}/users/{userId}/sessions/{sessionId}/events/{eventId}/graph.
WebSocket Handler for the /run_live endpoint.
Configuration class for OpenTelemetry, setting up the tracer provider and span exporter.
DTO for POST /apps/{appName}/eval_sets/{evalSetId}/run-eval requests.
DTO for the response of POST /apps/{appName}/eval_sets/{evalSetId}/run-eval.
Service for creating and caching Runner instances.
Configuration class for WebSocket handling.
Dynamically compiles and loads ADK BaseAgent implementations from source files.
Utility class to generate Graphviz DOT representations of Agent structures.
Properties for loading 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 API response contains a response to a call to the GenAI APIs.
The API response contains a response to a call to the GenAI APIs.
Application Integration Toolset
LLM flow with automatic agent transfer support.
Base class for all agents.
Base configuration for all agents.
Base interface for artifact services.
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 retrieval tools.
Defines the contract for managing Sessions and their associated Events.
The base class for all ADK tools.
Base interface for toolsets.
RequestProcessor that handles basic information to build the LLM request.
A built-in code execution tool that is automatically invoked by Gemini 2 models.
The context of various callbacks for an agent invocation.
Functional interfaces for agent lifecycle callbacks.
 
Helper interface to allow for sync afterAgentCallback.
 
Helper interface to allow for sync afterModelCallback.
 
Helper interface to allow for sync afterToolCallback.
 
Helper interface to allow for sync beforeAgentCallback.
 
Helper interface to allow for sync beforeModelCallback.
 
Helper interface to allow for sync beforeToolCallback.
Utility methods for normalizing agent callbacks.
Represents the Claude Generative AI model by Anthropic.
Frequently used code snippets for collections.
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.
RequestProcessor that populates content in request for LLM flows.
Utility class for converting between different representations of MCP tools.
The default builder for creating MCP client transports.
Represents an event in a session.
Builder for Event.
Represents the actions attached to an event.
Builder for EventActions.
Iterable stream of Event objects.
Represents an few-shot example.
Builder for constructing Example instances.
RequestProcessor that populates examples in LLM request.
Utility class for examples.
Exits the loop.
Utility class for function calling.
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.
Manages a persistent, bidirectional connection to the Gemini model via WebSockets for real-time interaction.
Configuration for getting a session.
Builder for GetSessionConfig.
A built-in tool that is automatically invoked by Gemini 2 models to retrieve search results from Google Search.
Base client for the HTTP APIs.
Wraps a real HTTP response to expose the methods needed by the GenAI SDK.
Wraps a real HTTP response to expose the methods needed by the GenAI SDK.
RequestProcessor that gives the agent identity from the framework
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.
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.
Utility class for interacting with Google Cloud Application Integration.
Application Integration Tool
The context for an agent invocation.
The base class for the types that needs JSON serialization/deserialization capability.
 
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.
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.
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.
A function tool that returns the result asynchronously.
An agent that runs its sub-agents sequentially in a loop.
Builder for LoopAgent.
Initializes a MCP tool.
Manages MCP client sessions.
Initializes a MCP tool.
Connects to a MCP Server, and retrieves MCP Tools into ADK Tools.
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.
Base exception for all errors originating from McpToolset.
Interface for building McpClientTransport instances.
Represents one memory entry.
Builder for MemoryEntry.
Represents a model by name or instance.
Builder for Model.
Utility class for creating ConcurrentHashMaps.
A shell agent that runs its sub-agents in parallel in isolated manner.
Builder for ParallelAgent.
Provides read-only access to the context of an agent run.
 
 
 
 
Configuration to modify an agent's LLM's underlying behavior.
Builder for RunConfig.
Streaming mode for the runner.
The main class for the GenAI Agents runner.
Utility class for validating schemas.
Represents the response from a memory search.
An agent that runs its sub-agents sequentially.
Builder for SequentialAgent.
A Session object that encapsulates the State and Events of a session.
Builder for Session.
Represents a general error that occurred during session management operations.
Indicates that a requested session could not be found.
Utility functions for session service.
Basic LLM flow with fixed request processors and no response post-processing.
Interface for a speech-to-text client.
Parameters for establishing a MCP Server-Sent Events (SSE) connection.
Builder for SseServerParameters.
A State object that also keeps track of the changes to the state.
Utility class for capturing and reporting telemetry data within the ADK.
ToolContext object provides a structured context for executing tools or functions.
Builder for ToolContext.
Functional interface to decide whether a tool should be exposed to the LLM based on the current context.
Tracks the current ADK version.
A retrieval tool that fetches context from Vertex AI RAG.
TODO: Use the genai HttpApiClient and ApiResponse methods once they are public.
Credentials for accessing Gemini models through Vertex.
Builder for VertexCredentials.
Implementation of SpeechClientInterface using Vertex AI SpeechClient.