Skip to content

.Net: A2A Follow Ups #12561

Open
Open
@markwallace-microsoft

Description

@markwallace-microsoft
  • Could we make agentCard optional?
  • In the CopilotChatAgent we concatenate the input messages and invoke once where here we invoke for each message. For inference type agents we invoke once with all messages too, so they are processed in one go. Not sure if we want to follow that approach everywhere.
  • Instead of inheriting from A2AHostAgent also consider instantiating an A2AHostAgent with an Agent instance, so it is just a standalone utility. Forcing users to inherit from A2AHostAgent to get the adapter functionality seems somewhat opinionated to me.

I can see a case where we may just want to support:

var myA2AAgent = myAgent.ToA2AAgent(card);
app.MapA2A(myA2AAgent);

Metadata

Metadata

Labels

.NETIssue or Pull requests regarding .NET codeagents

Type

No type

Projects

Status

Sprint: Planned

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions