Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

a2a-protocol

БесплатноБез исполняемых скриптовНе проверен

Reference documentation for the Agent2Agent (A2A) protocol. Use when building A2A servers or clients, configuring Ark A2AServer resources, debugging A2A…

mckinseyот mckinsey★ 443 звезды на GitHub

Об этом скилле

A2A Protocol Reference

Reference skill for the Agent2Agent (A2A) Protocol, an open standard by Google / the A2A Project (Linux Foundation) for communication between independent AI agent systems.

Attribution: All specification and topic content in references/ is sourced from the official A2A repository under the Apache-2.0 license. Each file includes source attribution in its YAML frontmatter.

IMPORTANT — Use v0.3 by default. The primary references in references/v0.3/ are v0.3.0, the version currently supported by the official Go and Python SDKs and most implementations. The v1.0 RC spec is in references/v1.0-rc/ and should only be consulted when explicitly working on v1.0 features or migration planning.

When to use this skill

  • Building or debugging an A2A server or client
  • Configuring Ark A2AServer custom resources
  • Understanding Agent Cards, task lifecycle, or message formats
  • Implementing streaming (SSE) or push notifications
  • Working with A2A extensions
  • Comparing A2A with MCP

Protocol overview

A2A enables agents built on different frameworks to discover capabilities, negotiate interaction modes, manage collaborative tasks, and exchange information — without exposing internal state, memory, or tools.

Core actors:

  • User — human or automated service initiating a request
  • A2A Client — application or agent acting on behalf of the user
  • A2A Server — agent exposing an HTTP endpoint implementing A2A

Core elements:

Element Purpose
Agent Card JSON metadata: identity, capabilities, endpoint, auth
Task Stateful unit of work with unique ID and lifecycle
Message Single communication turn (role: "user" or "agent")
Part Content container: text, file reference, or structured data
Artifact Tangible output generated during a task

Interaction patterns:

  • Request/Response — synchronous with polling for long-running tasks
  • Streaming (SSE) — real-time incremental updates over open connection
  • Push Notifications — async webhooks for disconnected/long-running tasks

Task lifecycle: submitted → working → input-required → completed / failed / canceled

Agent discovery: Clients find agents via /.well-known/agent.json

Specification reference (v0.3)

The primary A2A specification (v0.3.0) is split into sections in references/v0.3/:

File Contents
spec-01-introduction.md Goals, principles, design
spec-02-core-concepts.md Core concepts summary
spec-03-transport.md Transport layer: JSON-RPC 2.0 over HTTP, SSE streaming
spec-04-authentication.md Authentication and authorization
spec-05-agent-card.md Agent Card structure, discovery, extended cards
spec-06-data-objects.md Task, Message, Part, Artifact, TaskStatus, streaming events
spec-07-rpc-methods.md All JSON-RPC methods (send, stream, get, cancel, push, resubscribe)
spec-08-error-handling.md Error codes and handling
spec-09-workflows.md Common workflows and examples
spec-10-appendices.md Appendices
spec-11-compliance.md A2A compliance requirements

Topic guides (v0.3)

Conceptual guides from the A2A documentation:

File Contents
topic-what-is-a2a.md Overview of A2A purpose and benefits
topic-key-concepts.md Core concepts: actors, elements, interactions
topic-agent-discovery.md Agent Card discovery mechanisms
topic-life-of-a-task.md Task lifecycle and state transitions
topic-streaming-and-async.md SSE streaming and async patterns
topic-extensions.md A2A extension mechanism
topic-enterprise-ready.md Enterprise features: auth, security, tracing
topic-a2a-and-mcp.md A2A vs MCP comparison

Key J

Полный SKILL.md на GitHub

Установить a2a-protocol в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep

Вложенные файлы

references/v0.3/spec-01-introduction.mdreferences/v0.3/spec-02-core-concepts.mdreferences/v0.3/spec-03-transport.mdreferences/v0.3/spec-04-authentication.mdreferences/v0.3/spec-05-agent-card.mdreferences/v0.3/spec-06-data-objects.mdreferences/v0.3/spec-07-rpc-methods.mdreferences/v0.3/spec-08-error-handling.mdreferences/v0.3/spec-09-workflows.mdreferences/v0.3/spec-10-appendices.mdreferences/v0.3/spec-11-compliance.mdreferences/v0.3/topic-a2a-and-mcp.mdreferences/v0.3/topic-agent-discovery.mdreferences/v0.3/topic-enterprise-ready.mdreferences/v0.3/topic-extensions.mdreferences/v0.3/topic-key-concepts.mdreferences/v0.3/topic-life-of-a-task.mdreferences/v0.3/topic-streaming-and-async.mdreferences/v0.3/topic-what-is-a2a.mdreferences/v1.0-rc/spec-01-introduction.mdreferences/v1.0-rc/spec-02-terminology.mdreferences/v1.0-rc/spec-03-operations.mdreferences/v1.0-rc/spec-04-data-model.mdreferences/v1.0-rc/spec-05-binding-requirements.mdreferences/v1.0-rc/spec-06-workflows.mdreferences/v1.0-rc/spec-07-authentication.mdreferences/v1.0-rc/spec-08-agent-card.mdreferences/v1.0-rc/spec-09-jsonrpc-binding.mdreferences/v1.0-rc/spec-10-grpc-binding.mdreferences/v1.0-rc/spec-11-http-rest-binding.mdreferences/v1.0-rc/spec-12-custom-binding.mdreferences/v1.0-rc/spec-13-security.mdreferences/v1.0-rc/spec-14-iana.mdreferences/v1.0-rc/spec-appendix-a-migration.mdreferences/v1.0-rc/spec-appendix-b-mcp.mdreferences/v1.0-rc/topic-a2a-and-mcp.mdreferences/v1.0-rc/topic-agent-discovery.mdreferences/v1.0-rc/topic-definitions.mdreferences/v1.0-rc/topic-enterprise-ready.mdreferences/v1.0-rc/topic-extensions.md

FAQ

Что делает скилл a2a-protocol?

Reference documentation for the Agent2Agent (A2A) protocol. Use when building A2A servers or clients, configuring Ark A2AServer resources, debugging A2A communication, or answering questions about the A2A specification, Agent Cards, task lifecycle, streaming, extensions, or protocol bindings.

Как установить скилл a2a-protocol?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл a2a-protocol запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить a2a-protocol с