# Class AgentInterface (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    AgentInterface(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Declares a combination of a target URL, transport and
protocol version for interacting with the agent. This allows
agents to expose the same functionality over multiple protocol
binding mechanisms.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `url` | `str` Required. The URL where this interface is available. Must be a valid absolute HTTPS URL in production. Example: "https://api.example.com/a2a/v1", "https://grpc.example.com/a2a". |
| `protocol_binding` | `str` Required. The protocol binding supported at this URL. This is an open form string, to be easily extended for other protocol bindings. The core ones officially supported are `JSONRPC`, `GRPC` and `HTTP+JSON`. |
| `tenant` | `str` Tenant ID to be used in the request when calling the agent. |
| `protocol_version` | `str` Required. The version of the A2A protocol this interface exposes. Use the latest supported minor version per major version. Examples: "0.3", "1.0". |