MentorAgent Docs
Menu

ReferencePackage: Novior.MentorAgent

AgentCardInfo class

The AgentCardInfo class of Novior.MentorAgent.Models: Optional override for the A2A Agent Card generated by MentorAgent when options.A2AServerEnabled = true…

View as Markdown
On this page

Optional override for the A2A Agent Card generated by MentorAgent when options.A2AServerEnabled = true. If not set, the card is built automatically from AppName, AppDescription, and the discovered [MentorAction] methods. Usage:

Example
options.AgentCard = new AgentCardInfo {
    Version = "2.0.0",
    IconUrl = "https://myapp.com/icon.png",
    Provider = "Acme Corp",
    DocumentationUrl = "https://docs.myapp.com/agent"
};

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

public sealed class AgentCardInfo

Terminal
dotnet add package Novior.MentorAgent

public AgentCardInfo()

public string? DocumentationUrl { get; set; }

URL to the agent's documentation.

public string? IconUrl { get; set; }

URL to the agent's icon image.

public string? Provider { get; set; }

Provider / organization name.

public string[]? Tags { get; set; }

Reserved — not published today.

The A2A card has no top-level tags field: the spec attaches tags to individual AgentSkill entries, and MentorAgent does not synthesise skills it cannot describe truthfully. Setting this has no effect on the served card. It is kept because the intent — capability hints for discovery — is right, and it will map once skills are published.

public string Version { get; set; }

Agent version string. Default: "1.0.0"