Package com.google.adk.agents
package com.google.adk.agents
-
ClassDescriptionManages streaming tool related resources during invocation.Base class for all agents.BaseAgent.Builder<B extends BaseAgent.Builder<B>>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.The context of various callbacks for an agent invocation.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.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.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.Utility class for loading agent configurations from YAML files.Exception thrown when configuration is invalid.Configuration for context caching across all agents in an app.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.Builder for
InvocationContext.Represents a request to be sent to a live connection to the LLM model.Builder for constructingLiveRequestinstances.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.Configuration for LoopAgent.A shell agent that runs its sub-agents in parallel in isolated manner.Builder forParallelAgent.Configuration for ParallelAgent.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.Tool execution mode for the runner, when they are multiple tools requested (by the models or callbacks).An agent that runs its sub-agents sequentially.Builder forSequentialAgent.Configuration for SequentialAgent.