Package com.google.adk.agents
package com.google.adk.agents
-
ClassDescriptionBase class for all agents.Base configuration for all agents.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 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.The context for an agent invocation.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 forLlmAgent
.Enum to define if contents of previous events should be included in requests to the underlying LLM.Configuration for LlmAgent.An agent that runs its sub-agents sequentially in a loop.Builder forLoopAgent
.A shell agent that runs its sub-agents in parallel in isolated manner.Builder forParallelAgent
.Provides read-only access to the context of an agent run.Configuration to modify an agent's LLM's underlying behavior.Builder forRunConfig
.Streaming mode for the runner.An agent that runs its sub-agents sequentially.Builder forSequentialAgent
.