A2AClientExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides extension methods for A2A.IA2AClient to simplify the creation of A2A agents.
public static class A2AClientExtensions
type A2AClientExtensions = class
Public Module A2AClientExtensions
- Inheritance
-
A2AClientExtensions
Remarks
These extensions bridge the gap between A2A SDK client objects and the Microsoft Agent Framework.
They allow developers to easily create AI agents that can interact with A2A agents by handling the conversion from A2A clients to A2AAgent instances that implement the AIAgent interface.
Methods
| Name | Description |
|---|---|
| AsAIAgent(IA2AClient, A2AAgentOptions, ILoggerFactory) |
Retrieves an instance of AIAgent for an existing A2A agent. |
| AsAIAgent(IA2AClient, String, String, String, ILoggerFactory) |
Retrieves an instance of AIAgent for an existing A2A agent. |