MentorRemoteAgent class
The MentorRemoteAgent class of Novior.MentorAgent.Models: Configuration for a remote A2A (Agent-to-Agent) agent that MentorAgent will connect to as a…
On this page
Configuration for a remote A2A (Agent-to-Agent) agent that MentorAgent will connect to as a consumer. Remote agents appear in the Handoff workflow just like local [MentorAgent] classes. Usage:
options.RemoteAgents = [
new MentorRemoteAgent {
Name = "InventoryAgent",
Description = "Manages warehouse and inventory operations",
AgentCardUrl = "https://inventory.example.com"
}
];Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Models. Package: Novior.MentorAgent.
public sealed class MentorRemoteAgent
dotnet add package Novior.MentorAgentConstructors
Section titled “Constructors”public MentorRemoteAgent()
Properties
Section titled “Properties”AgentCardUrl
Section titled “AgentCardUrl”public required string AgentCardUrl { get; set; }
Base URL of the remote A2A agent (e.g. https://inventory.example.com). The SDK automatically appends /.well-known/agent-card.json to discover the agent's capabilities and communication endpoints. Do NOT include the /.well-known/agent-card.json path — pass only the base URL.
Description
Section titled “Description”public required string Description { get; set; }
Human-readable description of what this agent does. Injected into the coordinator's system prompt so the AI knows when to route to it.
Headers
Section titled “Headers”public Dictionary<string, string>? Headers { get; set; }
Optional authorization headers to include in A2A requests (e.g. Bearer tokens, API keys).
Headers = new Dictionary<string, string> {
["Authorization"] = $"Bearer {apiKey}"
}public required string Name { get; set; }
Name of the remote agent — used as the Handoff target name. Must be unique within the agent configuration.
