Package com.google.adk.apps
Class App
java.lang.Object
com.google.adk.apps.App
Represents an LLM-backed agentic application.
An App is the top-level container for an agentic system powered by LLMs. It manages a
root agent (rootAgent), which serves as the root of an agent tree, enabling coordination
and communication across all agents in the hierarchy. The plugins are application-wide
components that provide shared capabilities and services to the entire system.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic App.Builderbuilder()@Nullable ContextCacheConfig@Nullable EventsCompactionConfigname()plugins()@Nullable ResumabilityConfigrootNode()Returns the workflow node the app runs, or empty when it runs an agent tree.Returns a builder holding this app's settings.
-
Method Details
-
name
-
rootAgent
-
rootNode
Returns the workflow node the app runs, or empty when it runs an agent tree. When it runs a node,rootAgent()returns aNodeViewAgentthat stands in for it. -
plugins
-
eventsCompactionConfig
-
contextCacheConfig
-
resumabilityConfig
-
toBuilder
Returns a builder holding this app's settings. For an app that runs a node, the builder holdsrootNode()rather than the agent that stands in for it. To switch between a root agent and a root node, also clear the current one withnull. -
builder
-