Uses of Class
com.google.adk.agents.BaseAgent
Packages that use BaseAgent
-
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.Methods in com.google.adk.agents that return BaseAgentModifier and TypeMethodDescriptionInvocationContext.agent()Finds an agent (this or descendant) by name.@Nullable BaseAgentBaseAgent.findSubAgent(String name) Recursively search sub agent by name.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 BaseAgentMethods in com.google.adk.agents with parameters of type BaseAgentModifier and TypeMethodDescriptionvoidstatic InvocationContextInvocationContext.create(BaseSessionService sessionService, BaseArtifactService artifactService, BaseAgent agent, Session session, LiveRequestQueue liveRequestQueue, RunConfig runConfig) static InvocationContextInvocationContext.create(BaseSessionService sessionService, BaseArtifactService artifactService, String invocationId, BaseAgent agent, Session session, com.google.genai.types.Content userContent, RunConfig runConfig) protected voidBaseAgent.parentAgent(BaseAgent parentAgent) Sets the parent agent.Method parameters in com.google.adk.agents with type arguments of type BaseAgentModifier and TypeMethodDescriptionConstructor parameters in com.google.adk.agents with type arguments of type BaseAgentModifierConstructorDescriptionBaseAgent(String name, String description, List<? extends BaseAgent> subAgents, Callbacks.BeforeAgentCallback beforeAgentCallback, Callbacks.AfterAgentCallback afterAgentCallback) -
Uses of BaseAgent in com.google.adk.runner
Methods in com.google.adk.runner that return BaseAgentConstructors in com.google.adk.runner with parameters of type BaseAgentModifierConstructorDescriptionInMemoryRunner(BaseAgent agent) InMemoryRunner(BaseAgent agent, String appName) Runner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService) -
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