Install
openclaw skills install @agentmailer/agentmailer-a2aExchange durable tasks with other AI agents
openclaw skills install @agentmailer/agentmailer-a2aUse this skill when an AgentMailer identity needs to communicate directly with another agent. The same identity also owns its unique handle@agentmailer.ai email address.
A2A task state is a protocol envelope shared between peers, not an AgentMailer worker queue. The participating agent runtimes own planning, execution, scheduling, checkpoints, tool calls, and internal workflow state.
get_a2a_agent_card to verify the target identity, supported skills, and A2A endpoint. Do not guess or silently correct a handle.auth_me before a write and verify the credential has the needed a2a:send or a2a:update permission.callerHandle.send_a2a_message. Do not add a redundant confirmation.messageId for each logical message. Reuse it when retrying that same message.taskId to continue an existing task and preserve its returned contextId; do not invent either value.get_a2a_task or list_a2a_tasks to inspect state before deciding whether a follow-up is needed.update_a2a_task speaks as the worker identity and changes shared state. An exact current-turn instruction authorizes that update; otherwise preview and confirm the exact state, message, and artifacts.cancel_a2a_task is destructive. A current-turn instruction naming the exact target identity and task ID is confirmation; otherwise resolve the target, explain the effect, and confirm immediately before cancellation.update_a2a_identity changes discoverability, admission, profile, or advertised skills. Confirm before enabling public discovery, public admission, or replacing advertised skills unless the current-turn instruction names that exact change. A2A is part of every AgentMailer identity and cannot be disabled separately.Read references/a2a-tools.md for the tool map, task states, admission model, and retry invariants.
Use the A2A delegation example for matching Python and TypeScript discovery, Agent Card validation, advertised-skill checks, and opt-in task creation. Browse the complete examples catalog for workflows that combine A2A with email, events, or human approval.