All Classes and Interfaces

Class
Description
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.
 
Base class 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 class for retrieval tools.
Defines the contract for managing Sessions and their associated Events.
The base class for all ADK tools.
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.
 
 
 
 
 
 
 
 
 
 
 
 
 
Represents the Claude Generative AI model by Anthropic.
Frequently used code snippets for collections.
RequestProcessor that populates content in request for LLM flows.
Utility class for converting between different representations of MCP tools.
Represents an event in a session.
Builder for Event.
Represents the actions attached to an event.
Builder for EventActions.
 
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.
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.
RequestProcessor that handles instructions and global instructions for LLM flows.
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.
An error indicating that the limit for calls to the LLM has been exceeded.
 
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.
Manages MCP client sessions.
"""Initializes a MCPTool.
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.
Holds the result of loading tools, containing both the tools and the toolset instance.
Base exception for all errors originating from McpToolset.
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.
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.
 
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.
Holding class for the version of the Java ADK.
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.