{
  "schemaVersion": "1.0",
  "item": {
    "slug": "a2a-protocol",
    "name": "A2a Protocol",
    "source": "tencent",
    "type": "skill",
    "category": "其他",
    "sourceUrl": "https://clawhub.ai/nantes/a2a-protocol",
    "canonicalUrl": "https://clawhub.ai/nantes/a2a-protocol",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/a2a-protocol",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=a2a-protocol",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "a2a_client.py",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "a2a-protocol",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-26T11:45:17.637Z",
      "expiresAt": "2026-05-03T11:45:17.637Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=a2a-protocol",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=a2a-protocol",
        "contentDisposition": "attachment; filename=\"a2a-protocol-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "a2a-protocol"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/a2a-protocol"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/a2a-protocol",
    "agentPageUrl": "https://openagent3.xyz/skills/a2a-protocol/agent",
    "manifestUrl": "https://openagent3.xyz/skills/a2a-protocol/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/a2a-protocol/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "A2A Protocol Skill",
        "body": "Implementation of the Agent2Agent (A2A) Protocol for inter-agent communication."
      },
      {
        "title": "What it does",
        "body": "Agent Discovery via Agent Cards\nSend Messages to remote agents\nTask Management (submit, check status, get results)\nStreaming via Server-Sent Events (SSE)\nAuthentication support (API keys, Bearer tokens)"
      },
      {
        "title": "Installation",
        "body": "# Install Python dependencies\npip install requests sseclient-py"
      },
      {
        "title": "Register Your Agent",
        "body": ".\\a2a.ps1 -Action register -Name \"MyAgent\" -Description \"Research agent\" -Capabilities \"research,analysis\" -Endpoint \"https://my-agent.com/a2a\""
      },
      {
        "title": "Get Agent Card",
        "body": ".\\a2a.ps1 -Action card -AgentId \"uuid-of-agent\""
      },
      {
        "title": "Send Message",
        "body": ".\\a2a.ps1 -Action send -ToAgent \"target-agent-uuid\" -Content \"Hello agent!\""
      },
      {
        "title": "Submit Task",
        "body": ".\\a2a.ps1 -Action task -ToAgent \"target-agent-uuid\" -Task \"Research quantum computing\""
      },
      {
        "title": "Check Task Status",
        "body": ".\\a2a.ps1 -Action status -TaskId \"task-uuid\""
      },
      {
        "title": "List Remote Agents",
        "body": ".\\a2a.ps1 -Action list -RegistryUrl \"https://registry.agentlink.io\""
      },
      {
        "title": "A2A Concepts",
        "body": "Agent Card: JSON describing agent capabilities (name, endpoint, methods)\nClient Agent: Agent that sends tasks\nRemote Agent: Agent that receives and processes tasks\nTask: Work request with ID, status, and result\nMessage: Direct communication between agents"
      },
      {
        "title": "API Reference",
        "body": "POST /a2a/agents/register - Register agent\nGET  /a2a/agents/{id}    - Get agent info\nGET  /a2a/agents/{id}/card - Get Agent Card\nPOST /a2a/messages       - Send message\nPOST /a2a/tasks          - Submit task\nGET  /a2a/tasks/{id}     - Get task status\nGET  /a2a/tasks/{id}/result - Get task result"
      },
      {
        "title": "Python Usage",
        "body": "from a2a import A2AClient\n\nclient = A2AClient(\"https://remote-agent.com/a2a\", api_key=\"your-key\")\n\n# Send message\nclient.send_message(\"target-agent-id\", \"Hello!\")\n\n# Submit task\ntask_id = client.submit_task(\"target-agent-id\", \"Do X\")\nresult = client.get_result(task_id)"
      },
      {
        "title": "Requirements",
        "body": "Python 3.8+\nrequests library\nsseclient-py (for streaming)"
      },
      {
        "title": "License",
        "body": "MIT"
      }
    ],
    "body": "A2A Protocol Skill\n\nImplementation of the Agent2Agent (A2A) Protocol for inter-agent communication.\n\nWhat it does\nAgent Discovery via Agent Cards\nSend Messages to remote agents\nTask Management (submit, check status, get results)\nStreaming via Server-Sent Events (SSE)\nAuthentication support (API keys, Bearer tokens)\nInstallation\n# Install Python dependencies\npip install requests sseclient-py\n\nUsage\nRegister Your Agent\n.\\a2a.ps1 -Action register -Name \"MyAgent\" -Description \"Research agent\" -Capabilities \"research,analysis\" -Endpoint \"https://my-agent.com/a2a\"\n\nGet Agent Card\n.\\a2a.ps1 -Action card -AgentId \"uuid-of-agent\"\n\nSend Message\n.\\a2a.ps1 -Action send -ToAgent \"target-agent-uuid\" -Content \"Hello agent!\"\n\nSubmit Task\n.\\a2a.ps1 -Action task -ToAgent \"target-agent-uuid\" -Task \"Research quantum computing\"\n\nCheck Task Status\n.\\a2a.ps1 -Action status -TaskId \"task-uuid\"\n\nList Remote Agents\n.\\a2a.ps1 -Action list -RegistryUrl \"https://registry.agentlink.io\"\n\nA2A Concepts\nAgent Card: JSON describing agent capabilities (name, endpoint, methods)\nClient Agent: Agent that sends tasks\nRemote Agent: Agent that receives and processes tasks\nTask: Work request with ID, status, and result\nMessage: Direct communication between agents\nAPI Reference\nPOST /a2a/agents/register - Register agent\nGET  /a2a/agents/{id}    - Get agent info\nGET  /a2a/agents/{id}/card - Get Agent Card\nPOST /a2a/messages       - Send message\nPOST /a2a/tasks          - Submit task\nGET  /a2a/tasks/{id}     - Get task status\nGET  /a2a/tasks/{id}/result - Get task result\n\nExamples\nPython Usage\nfrom a2a import A2AClient\n\nclient = A2AClient(\"https://remote-agent.com/a2a\", api_key=\"your-key\")\n\n# Send message\nclient.send_message(\"target-agent-id\", \"Hello!\")\n\n# Submit task\ntask_id = client.submit_task(\"target-agent-id\", \"Do X\")\nresult = client.get_result(task_id)\n\nRequirements\nPython 3.8+\nrequests library\nsseclient-py (for streaming)\nLicense\n\nMIT"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/nantes/a2a-protocol",
    "publisherUrl": "https://clawhub.ai/nantes/a2a-protocol",
    "owner": "nantes",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/a2a-protocol",
    "downloadUrl": "https://openagent3.xyz/downloads/a2a-protocol",
    "agentUrl": "https://openagent3.xyz/skills/a2a-protocol/agent",
    "manifestUrl": "https://openagent3.xyz/skills/a2a-protocol/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/a2a-protocol/agent.md"
  }
}