# Uses of Class
com.google.adk.agents.LlmAgent

Packages that use LlmAgent
Package
Description
com.example
com.example.a2a_basic
com.example.helloworld
com.example.mcpfilesystem
com.google.adk.agents
com.google.adk.samples.a2aagent.agent
com.google.adk.tools

- ## Uses of LlmAgent in com.example

  Fields in com.example declared as LlmAgent
  Modifier and Type
  Field
  Description
  `static final LlmAgent`
  LifeAgent.`INSTANCE`

- ## Uses of LlmAgent in com.example.a2a_basic

  Fields in com.example.a2a_basic declared as LlmAgent
  Modifier and Type
  Field
  Description
  `static final LlmAgent`
  A2AAgent.`ROLL_AGENT`
  Methods in com.example.a2a_basic that return LlmAgent
  Modifier and Type
  Method
  Description
  `static LlmAgent`
  A2AAgent.`createRootAgent(String primeAgentBaseUrl)`

- ## Uses of LlmAgent in com.example.helloworld

  Fields in com.example.helloworld declared as LlmAgent
  Modifier and Type
  Field
  Description
  `static final LlmAgent`
  HelloWorldAgent.`ROOT_AGENT`

- ## Uses of LlmAgent in com.example.mcpfilesystem

  Fields in com.example.mcpfilesystem declared as LlmAgent
  Modifier and Type
  Field
  Description
  `static final LlmAgent`
  McpFilesystemAgent.`ROOT_AGENT`
  Root agent instance exposed to runners and registries.

- ## Uses of LlmAgent in com.google.adk.agents

  Methods in com.google.adk.agents that return LlmAgent
  Modifier and Type
  Method
  Description
  `LlmAgent`
  LlmAgent.Builder.`build()`
  `static LlmAgent`
  LlmAgent.`fromConfig(LlmAgentConfig config, String configAbsPath)`
  Creates an LlmAgent from configuration with full subagent support.

- ## Uses of LlmAgent in com.google.adk.samples.a2aagent.agent

  Fields in com.google.adk.samples.a2aagent.agent declared as LlmAgent
  Modifier and Type
  Field
  Description
  `static final LlmAgent`
  Agent.`ROOT_AGENT`

- ## Uses of LlmAgent in com.google.adk.tools

  Constructors in com.google.adk.tools with parameters of type LlmAgent
  Modifier
  Constructor
  Description
  `protected`
  `GoogleSearchAgentTool(LlmAgent agent)`
  `protected`
  `VertexAiSearchAgentTool(LlmAgent agent)`