Class App

java.lang.Object
com.google.adk.apps.App

public class App extends Object
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.

  • Method Details

    • name

      public String name()
    • rootAgent

      public BaseAgent rootAgent()
    • plugins

      public com.google.common.collect.ImmutableList<? extends Plugin> plugins()
    • eventsCompactionConfig

      @Nullable public EventsCompactionConfig eventsCompactionConfig()
    • contextCacheConfig

      @Nullable public ContextCacheConfig contextCacheConfig()
    • builder

      public static App.Builder builder()