AgentCard class

AgentCard conveys key information: - Overall details (version, name, description, uses) - Skills; a set of actions/solutions the agent can perform - Default modalities/content types supported by the agent.

  • Authentication requirements Next ID: 19

Constructors

AgentCard({List<AgentInterface>? additionalInterfaces, AgentCapabilities? capabilities, List<String>? defaultInputModes, List<String>? defaultOutputModes, String? description, String? documentationUrl, String? iconUrl, String? name, String? preferredTransport, String? protocolVersion, AgentProvider? provider, List<Security>? security, Map<String, SecurityScheme>? securitySchemes, List<AgentCardSignature>? signatures, List<AgentSkill>? skills, bool? supportsAuthenticatedExtendedCard, String? url, String? version})
AgentCard.fromJson(Map json_)

Properties

additionalInterfaces ↔ List<AgentInterface>?
Announcement of additional supported transports.
getter/setter pair
capabilities ↔ AgentCapabilities?
A2A Capability set supported by the agent.
getter/setter pair
defaultInputModes ↔ List<String>?
protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills.
getter/setter pair
defaultOutputModes ↔ List<String>?
The mime types supported as outputs from this agent.
getter/setter pair
description ↔ String?
A description of the agent's domain of action/solution space.
getter/setter pair
documentationUrl ↔ String?
A url to provide additional documentation about the agent.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
iconUrl ↔ String?
An optional URL to an icon for the agent.
getter/setter pair
name ↔ String?
A human readable name for the agent.
getter/setter pair
preferredTransport ↔ String?
The transport of the preferred endpoint.
getter/setter pair
protocolVersion ↔ String?
The version of the A2A protocol this agent supports.
getter/setter pair
provider ↔ AgentProvider?
The service provider of the agent.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
security ↔ List<Security>?
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent.
getter/setter pair
securitySchemes ↔ Map<String, SecurityScheme>?
The security scheme details used for authenticating with this agent.
getter/setter pair
signatures ↔ List<AgentCardSignature>?
JSON Web Signatures computed for this AgentCard.
getter/setter pair
skills ↔ List<AgentSkill>?
Skills represent a unit of ability an agent can perform.
getter/setter pair
supportsAuthenticatedExtendedCard ↔ bool?
Whether the agent supports providing an extended agent card when the user is authenticated, i.e. is the card from .well-known different than the card from GetAgentCard.
getter/setter pair
url ↔ String?
A URL to the address the agent is hosted at.
getter/setter pair
version ↔ String?
The version of the agent.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited