A2A — Agent Card
Every A2A agent publishes a card at /.well-known/agent-card.json
AgentCard agentCard = new()
{
Name = "A2AAssistant",
Description = "A helpful assistant exposed via A2A protocol.",
Version = "1.0.0",
DefaultInputModes = ["text"],
DefaultOutputModes = ["text"],
Capabilities = new() { Streaming = false },
Skills = [new() {
Id = "general", Name = "General Assistant",
Description = "Answers general questions and checks weather."
}],
};
Clients discover agents by fetching the card — no config files, no registry needed