# 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…

- URL: https://docs.mentoragent.net/api/novior-mentoragent-models/mentorremoteagent
- Verified with: MentorAgent 1.2.0
- Last updated: 2026-10-27
- Packages: Novior.MentorAgent

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:

```text title="Example"
options.RemoteAgents = [
    new MentorRemoteAgent {
        Name = "InventoryAgent",
        Description = "Manages warehouse and inventory operations",
        AgentCardUrl = "https://inventory.example.com"
    }
];
```

## Definition

Namespace: `Novior.MentorAgent.Models`. Package: `Novior.MentorAgent`.

`public sealed class MentorRemoteAgent`

```shell
dotnet add package Novior.MentorAgent
```

## Constructors

`public MentorRemoteAgent()`

## Properties

### `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`

`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`

`public Dictionary<string, string>? Headers { get; set; }`

Optional authorization headers to include in A2A requests (e.g. Bearer tokens, API keys).

```text title="Example"
Headers = new Dictionary<string, string> {
    ["Authorization"] = $"Bearer {apiKey}"
}
```

### `Name`

`public required string Name { get; set; }`

Name of the remote agent — used as the Handoff target name. Must be unique within the agent configuration.

---

- Previous: [MentorMcpServer class](https://docs.mentoragent.net/api/novior-mentoragent-models/mentormcpserver.md)
- Next: [MentorTelemetry class](https://docs.mentoragent.net/api/novior-mentoragent-observability/mentortelemetry.md)
