A2AClientExtensions extension

Extension methods for A2AClient that create A2AAgent instances.

on
  • A2AClient

Methods

asAIAgent({String? id, String? name, String? description, LoggerFactory? loggerFactory}) A2AAgent

Available on A2AClient, provided by the A2AClientExtensions extension

Creates an A2AAgent backed by this client.
asAIAgentWithOptions(A2AAgentOptions options, {LoggerFactory? loggerFactory}) A2AAgent

Available on A2AClient, provided by the A2AClientExtensions extension

Creates an A2AAgent backed by this client using explicit options.