Skip to content

CardSettings

autogen.a2a.CardSettings #

Bases: AgentCard

Original A2A AgentCard object inheritor making some fields optional.

name class-attribute instance-attribute #

name = None

A human-readable name for the agent. Uses original agent name if not set.

description class-attribute instance-attribute #

description = None

A human-readable description of the agent, assisting users and other agents in understanding its purpose. Uses original agent description if not set.

url class-attribute instance-attribute #

url = None

The preferred endpoint URL for interacting with the agent. This URL MUST support the transport specified by 'preferredTransport'. Uses original A2aAgentServer url if not set.

version class-attribute instance-attribute #

version = '0.1.0'

The agent's own version number. The format is defined by the provider.

default_input_modes class-attribute instance-attribute #

default_input_modes = Field(default_factory=lambda: ['text'])

Default set of supported input MIME types for all skills, which can be overridden on a per-skill basis.

default_output_modes class-attribute instance-attribute #

default_output_modes = Field(default_factory=lambda: ['text'])

Default set of supported output MIME types for all skills, which can be overridden on a per-skill basis.

capabilities class-attribute instance-attribute #

capabilities = Field(default_factory=lambda: AgentCapabilities(streaming=True))

A declaration of optional capabilities supported by the agent.

skills class-attribute instance-attribute #

skills = Field(default_factory=list)

The set of skills, or distinct capabilities, that the agent can perform.