JvmA2AAgentDemo

Example agent demonstrating how to use RemoteA2AAgent to communicate with a remote A2A-compliant agent.

This demo showcases:

  1. Initializing an io.a2a.client.Client with a specific transport (REST).

  2. Using ServiceLoader (implicit via A2ACardResolver) for platform-specific HTTP client resolution (JDK vs Android).

  3. Wrapping the remote agent as a standard ADK com.google.adk.kt.agents.Agent.

Properties

Link copied to clipboard
val rootAgent: <Error class: unknown class>