Interop

A2A mapping

Export an internal Agent Card as an official A2A v1.0 profile, or import an external A2A card as a registry stub. Platform-native fields stay internal. This is a mapping boundary — not an A2A runtime. External discovery still expects /.well-known/agent-card.json.

Export

Internal → A2A. Primary endpoint prefers protocol a2a, then http / grpc by priority.

agent:devtools.repoadmin.v1@1.0.0 · HTTP+JSON · a2a-mapper.v1

{
  "name": "repoadmin",
  "description": "Declares a destructive MCP tool under restricted-write policy — ineligible by default.",
  "version": "1.0.0",
  "url": "https://agents.example/repoadmin",
  "supportedInterfaces": [
    {
      "url": "https://agents.example/repoadmin",
      "protocolBinding": "HTTP+JSON",
      "protocolVersion": "1.0"
    }
  ],
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "extendedAgentCard": false
  },
  "defaultInputModes": [
    "text/plain",
    "application/json"
  ],
  "defaultOutputModes": [
    "text/plain",
    "application/json"
  ],
  "skills": [
    {
      "id": "repo-admin",
      "name": "Repo admin",
      "description": "Repository administration including destructive operations",
      "tags": [
        "github",
        "admin",
        "repo-admin",
        "mcp"
      ]
    }
  ]
}

Import

A2A → internal stub. Missing id is synthesized from source URL + name. Richer local fields are kept unless you overwrite.

Mapper log

Direction, agent id + version, source URL, mapper a2a-mapper.v1.

WhenDirTypeAgentSchemaSource
No export or import recorded yet.