- JSON representation
- AgentInterface
- AgentProvider
- SecurityScheme
- HTTPAuthSecurityScheme
- OAuth2SecurityScheme
- OAuthFlows
- AuthorizationCodeOAuthFlow
- ClientCredentialsOAuthFlow
- ImplicitOAuthFlow
- PasswordOAuthFlow
- OpenIdConnectSecurityScheme
- MutualTlsSecurityScheme
- Security
- StringList
- AgentSkill
- AgentCardSignature
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
| JSON representation |
|---|
{ "protocolVersion": string, "name": string, "description": string, "url": string, "preferredTransport": string, "additionalInterfaces": [ { object ( |
| Fields | |
|---|---|
protocolVersion |
The version of the A2A protocol this agent supports. |
name |
A human readable name for the agent. Example: "Recipe Agent" |
description |
A description of the agent's domain of action/solution space. Example: "Agent that helps users with recipes and cooking." |
url |
A URL to the address the agent is hosted at. This represents the preferred endpoint as declared by the agent. |
preferredTransport |
The transport of the preferred endpoint. If empty, defaults to JSONRPC. |
additionalInterfaces[] |
Announcement of additional supported transports. Client can use any of the supported transports. |
provider |
The service provider of the agent. |
version |
The version of the agent. Example: "1.0.0" |
documentationUrl |
A url to provide additional documentation about the agent. |
capabilities |
A2A Capability set supported by the agent. |
securitySchemes |
The security scheme details used for authenticating with this agent. An object containing a list of |
security[] |
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, "callers must either use OAuth OR an API Key AND mTLS." Example: security { schemes { key: "oauth" value { list: ["read"] } } } security { schemes { key: "api-key" } schemes { key: "mtls" } } |
defaultInputModes[] |
protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills. This can be overridden per skill. Defined as mime types. |
defaultOutputModes[] |
The mime types supported as outputs from this agent. |
skills[] |
Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at. |
supportsAuthenticatedExtendedCard |
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 v1.getCard. |
signatures[] |
JSON Web Signatures computed for this AgentCard. |
iconUrl |
An optional URL to an icon for the agent. |
AgentInterface
Defines additional transport information for the agent.
| JSON representation |
|---|
{ "url": string, "transport": string, "tenant": string } |
| Fields | |
|---|---|
url |
The url this interface is found at. |
transport |
The transport supported this url. This is an open form string, to be easily extended for many transport protocols. The core ones officially supported are JSONRPC, GRPC and HTTP+JSON. |
tenant |
Tenant to be set in the request when calling the agent. Experimental, might still change for 1.0 release. |
AgentProvider
Represents information about the service provider of an agent.
| JSON representation |
|---|
{ "url": string, "organization": string } |
| Fields | |
|---|---|
url |
The providers reference url Example: "https://ai.google.dev" |
organization |
The providers organization name Example: "Google" |
SecurityScheme
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
apiKeySecurityScheme |
|
httpAuthSecurityScheme |
|
oauth2SecurityScheme |
|
openIdConnectSecurityScheme |
|
mtlsSecurityScheme |
|
HTTPAuthSecurityScheme
| JSON representation |
|---|
{ "description": string, "scheme": string, "bearerFormat": string } |
| Fields | |
|---|---|
description |
Description of this security scheme. |
scheme |
The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. |
bearerFormat |
A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. |
OAuth2SecurityScheme
| JSON representation |
|---|
{
"description": string,
"flows": {
object ( |
| Fields | |
|---|---|
description |
Description of this security scheme. |
flows |
An object containing configuration information for the flow types supported |
oauth2MetadataUrl |
URL to the oauth2 authorization server metadata RFC8414. TLS is required. |
OAuthFlows
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
authorizationCode |
|
clientCredentials |
|
implicit |
|
password |
|
AuthorizationCodeOAuthFlow
| JSON representation |
|---|
{ "authorizationUrl": string, "tokenUrl": string, "refreshUrl": string, "scopes": { string: string, ... } } |
| Fields | |
|---|---|
authorizationUrl |
The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS |
tokenUrl |
The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. |
refreshUrl |
The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. |
scopes |
The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. An object containing a list of |
ClientCredentialsOAuthFlow
| JSON representation |
|---|
{ "tokenUrl": string, "refreshUrl": string, "scopes": { string: string, ... } } |
| Fields | |
|---|---|
tokenUrl |
The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. |
refreshUrl |
The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. |
scopes |
The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. An object containing a list of |
ImplicitOAuthFlow
| JSON representation |
|---|
{ "authorizationUrl": string, "refreshUrl": string, "scopes": { string: string, ... } } |
| Fields | |
|---|---|
authorizationUrl |
The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS |
refreshUrl |
The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. |
scopes |
The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. An object containing a list of |
PasswordOAuthFlow
| JSON representation |
|---|
{ "tokenUrl": string, "refreshUrl": string, "scopes": { string: string, ... } } |
| Fields | |
|---|---|
tokenUrl |
The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. |
refreshUrl |
The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. |
scopes |
The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. An object containing a list of |
OpenIdConnectSecurityScheme
| JSON representation |
|---|
{ "description": string, "openIdConnectUrl": string } |
| Fields | |
|---|---|
description |
Description of this security scheme. |
openIdConnectUrl |
Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. |
MutualTlsSecurityScheme
| JSON representation |
|---|
{ "description": string } |
| Fields | |
|---|---|
description |
Description of this security scheme. |
Security
| JSON representation |
|---|
{
"schemes": {
string: {
object ( |
| Fields | |
|---|---|
schemes |
An object containing a list of |
StringList
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
| JSON representation |
|---|
{ "list": [ string ] } |
| Fields | |
|---|---|
list[] |
|
AgentSkill
AgentSkill represents a unit of action/solution that the agent can perform. One can think of this as a type of highly reliable solution that an agent can be tasked to provide. Agents have the autonomy to choose how and when to use specific skills, but clients should have confidence that if the skill is defined that unit of action can be reliably performed.
| JSON representation |
|---|
{
"id": string,
"name": string,
"description": string,
"tags": [
string
],
"examples": [
string
],
"inputModes": [
string
],
"outputModes": [
string
],
"security": [
{
object ( |
| Fields | |
|---|---|
id |
Unique identifier of the skill within this agent. |
name |
A human readable name for the skill. |
description |
A human (or llm) readable description of the skill details and behaviors. |
tags[] |
A set of tags for the skill to enhance categorization/utilization. Example: ["cooking", "customer support", "billing"] |
examples[] |
A set of example queries that this skill is designed to address. These examples should help the caller to understand how to craft requests to the agent to achieve specific goals. Example: ["I need a recipe for bread"] |
inputModes[] |
Possible input modalities supported. |
outputModes[] |
Possible output modalities produced |
security[] |
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes necessary for the agent to leverage this skill. As in the overall AgentCard.security, this list represents a logical OR of security requirement objects. Each object is a set of security schemes that must be used together (a logical AND). protolint:enable REPEATED_FIELD_NAMES_PLURALIZED |
AgentCardSignature
AgentCardSignature represents a JWS signature of an AgentCard. This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).
| JSON representation |
|---|
{ "protected": string, "signature": string, "header": { object } } |
| Fields | |
|---|---|
protected |
Required. The protected JWS header for the signature. This is always a base64url-encoded JSON object. Required. |
signature |
Required. The computed signature, base64url-encoded. Required. |
header |
The unprotected JWS header values. |