Uses of Class
com.google.adk.agents.BaseAgent
Packages that use BaseAgent
Package
Description
-
Uses of BaseAgent in com.example.a2a_basic
Constructors in com.example.a2a_basic with parameters of type BaseAgent -
Uses of BaseAgent in com.google.adk.a2a
Subclasses of BaseAgent in com.google.adk.a2aModifier and TypeClassDescriptionclassAgent that communicates with a remote A2A agent via A2A client.Method parameters in com.google.adk.a2a with type arguments of type BaseAgentModifier and TypeMethodDescription -
Uses of BaseAgent in com.google.adk.a2a.executor
Methods in com.google.adk.a2a.executor with parameters of type BaseAgentModifier and TypeMethodDescription -
Uses of BaseAgent in com.google.adk.agents
Subclasses of BaseAgent in com.google.adk.agentsModifier and TypeClassDescriptionclassThe LLM-based agent.classAn agent that runs its sub-agents sequentially in a loop.classA shell agent that runs its sub-agents in parallel in isolated manner.classAn agent that runs its sub-agents sequentially.Fields in com.google.adk.agents with type parameters of type BaseAgentModifier and TypeFieldDescriptionprotected com.google.common.collect.ImmutableList<BaseAgent> BaseAgent.Builder.subAgentsMethods in com.google.adk.agents that return BaseAgentModifier and TypeMethodDescriptionInvocationContext.agent()Returns the agent being invoked.abstract BaseAgentBaseAgent.Builder.build()static BaseAgentBaseAgent.fromConfig(BaseAgentConfig config, String configAbsPath) Creates a new agent instance from a configuration object.static BaseAgentConfigAgentUtils.fromConfig(String configPath) Load agent from a YAML config file path.BaseAgent.parentAgent()Retrieves the parent agent in the agent tree.BaseAgent.rootAgent()Returns the root agent for this agent by traversing up the parent chain.Methods in com.google.adk.agents that return types with arguments of type BaseAgentModifier and TypeMethodDescriptionFinds an agent (this or descendant) by name.BaseAgent.findSubAgent(String name) Recursively search sub agent by name.static com.google.common.collect.ImmutableList<BaseAgent> ConfigAgentUtils.resolveSubAgents(List<BaseAgentConfig.AgentRefConfig> subAgentConfigs, String configAbsPath) Resolves subagent configurations into actual BaseAgent instances.BaseAgent.subAgents()Methods in com.google.adk.agents with parameters of type BaseAgentModifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.Sets the agent being invoked.static InvocationContextInvocationContext.create(BaseSessionService sessionService, BaseArtifactService artifactService, BaseAgent agent, Session session, LiveRequestQueue liveRequestQueue, RunConfig runConfig) Deprecated, for removal: This API element is subject to removal in a future version.UseInvocationContext.builder()instead.static InvocationContextInvocationContext.create(BaseSessionService sessionService, BaseArtifactService artifactService, String invocationId, BaseAgent agent, Session session, com.google.genai.types.Content userContent, RunConfig runConfig) Deprecated, for removal: This API element is subject to removal in a future version.UseInvocationContext.builder()instead.protected voidBaseAgent.parentAgent(BaseAgent parentAgent) Sets the parent agent.Method parameters in com.google.adk.agents with type arguments of type BaseAgentModifier and TypeMethodDescriptionConstructors in com.google.adk.agents with parameters of type BaseAgentModifierConstructorDescriptionInvocationContext(BaseSessionService sessionService, BaseArtifactService artifactService, BaseMemoryService memoryService, Plugin pluginManager, Optional<LiveRequestQueue> liveRequestQueue, Optional<String> branch, String invocationId, BaseAgent agent, Session session, Optional<com.google.genai.types.Content> userContent, RunConfig runConfig, boolean endInvocation) Deprecated, for removal: This API element is subject to removal in a future version.UseInvocationContext.builder()instead.InvocationContext(BaseSessionService sessionService, BaseArtifactService artifactService, BaseMemoryService memoryService, Optional<LiveRequestQueue> liveRequestQueue, Optional<String> branch, String invocationId, BaseAgent agent, Session session, Optional<com.google.genai.types.Content> userContent, RunConfig runConfig, boolean endInvocation) Deprecated, for removal: This API element is subject to removal in a future version.UseInvocationContext.builder()instead.Constructor parameters in com.google.adk.agents with type arguments of type BaseAgentModifierConstructorDescriptionBaseAgent(String name, String description, @Nullable List<? extends BaseAgent> subAgents, @Nullable List<? extends Callbacks.BeforeAgentCallback> beforeAgentCallback, @Nullable List<? extends Callbacks.AfterAgentCallback> afterAgentCallback) Creates a new BaseAgent. -
Uses of BaseAgent in com.google.adk.apps
Methods in com.google.adk.apps that return BaseAgentMethods in com.google.adk.apps with parameters of type BaseAgent -
Uses of BaseAgent in com.google.adk.maven
Methods in com.google.adk.maven that return BaseAgent -
Uses of BaseAgent in com.google.adk.plugins
Methods in com.google.adk.plugins with parameters of type BaseAgentModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> LoggingPlugin.afterAgentCallback(BaseAgent agent, CallbackContext callbackContext) default io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> Plugin.afterAgentCallback(BaseAgent agent, CallbackContext callbackContext) Callback executed after an agent's primary logic has completed.io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> PluginManager.afterAgentCallback(BaseAgent agent, CallbackContext callbackContext) io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> LoggingPlugin.beforeAgentCallback(BaseAgent agent, CallbackContext callbackContext) default io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> Plugin.beforeAgentCallback(BaseAgent agent, CallbackContext callbackContext) Callback executed before an agent's primary logic is invoked.io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> PluginManager.beforeAgentCallback(BaseAgent agent, CallbackContext callbackContext) io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> PluginManager.runAfterAgentCallback(BaseAgent agent, CallbackContext callbackContext) io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> PluginManager.runBeforeAgentCallback(BaseAgent agent, CallbackContext callbackContext) -
Uses of BaseAgent in com.google.adk.runner
Methods in com.google.adk.runner that return BaseAgentMethods in com.google.adk.runner with parameters of type BaseAgentConstructors in com.google.adk.runner with parameters of type BaseAgentModifierConstructorDescriptionFirestoreDatabaseRunner(BaseAgent baseAgent, com.google.cloud.firestore.Firestore firestore) Constructor for FirestoreDatabaseRunnerFirestoreDatabaseRunner(BaseAgent baseAgent, String appName, com.google.cloud.firestore.Firestore firestore) Constructor for FirestoreDatabaseRunner with appNameFirestoreDatabaseRunner(BaseAgent baseAgent, String appName, List<BasePlugin> plugins, com.google.cloud.firestore.Firestore firestore) Constructor for FirestoreDatabaseRunner with parent runnersInMemoryRunner(BaseAgent agent) InMemoryRunner(BaseAgent agent, String appName) InMemoryRunner(BaseAgent agent, String appName, List<? extends Plugin> plugins) Runner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService) Deprecated.UseRunner.Builderinstead.Runner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService, BaseMemoryService memoryService) Deprecated.UseRunner.Builderinstead.Runner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService, BaseMemoryService memoryService, List<? extends Plugin> plugins) Deprecated.UseRunner.Builderinstead.protectedRunner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService, BaseMemoryService memoryService, List<? extends Plugin> plugins, EventsCompactionConfig eventsCompactionConfig, ContextCacheConfig contextCacheConfig) Deprecated.UseRunner.Builderinstead. -
Uses of BaseAgent in com.google.adk.tools
Methods in com.google.adk.tools with parameters of type BaseAgentConstructors in com.google.adk.tools with parameters of type BaseAgent -
Uses of BaseAgent in com.google.adk.tutorials
Fields in com.google.adk.tutorials declared as BaseAgentModifier and TypeFieldDescriptionstatic final BaseAgentCityTimeWeather.ROOT_AGENTstatic final BaseAgentLiveAudioSingleAgent.WEATHER_AGENT -
Uses of BaseAgent in com.google.adk.utils
Methods in com.google.adk.utils that return types with arguments of type BaseAgentModifier and TypeMethodDescriptionAdkComponentProvider.getAgentClasses()Returns a list of agent classes to register.CoreAdkComponentProvider.getAgentClasses()ComponentRegistry.resolveAgentClass(String agentClassName) Resolves the agent class based on the agent class name from the configuration.ComponentRegistry.resolveAgentInstance(String name) Resolves an agent instance from the registry. -
Uses of BaseAgent in com.google.adk.web
Methods in com.google.adk.web that return BaseAgentModifier and TypeMethodDescriptionLoads the BaseAgent instance for the specified agent name.Methods in com.google.adk.web with parameters of type BaseAgentModifier and TypeMethodDescriptionAgentGraphGenerator.getAgentGraphDotSource(BaseAgent rootAgent, List<List<String>> highlightPairs) Generates the DOT source string for the agent graph.static voidConstructors in com.google.adk.web with parameters of type BaseAgent
InvocationContext.toBuilder()andInvocationContext.Builder.agent(BaseAgent)instead.