From a2a-multi-agent
Implements A2A task lifecycle: creation, 9 states (submitted/working/completed/etc.), transitions, history, artifacts. For task state machines, state handling, persistence.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin a2a-multi-agentThis skill is limited to using the following tools:
**Fetch live docs**:
Acquire memory dumps from live systems/VMs and analyze with Volatility 3 for processes, networks, DLLs, injections in incident response or malware hunts.
Provides x86-64/ARM disassembly patterns, calling conventions, control flow recognition for static analysis of executables and compiled binaries.
Identifies anti-debugging checks like IsDebuggerPresent, NtQueryInformationProcess in Windows binaries; suggests bypasses via patches/hooks/scripts for malware analysis, CTFs, authorized RE.
Fetch live docs:
https://a2a-protocol.org/latest/specification/ for the Task object schema and state machinesite:github.com a2aproject A2A task lifecycle states for state transition rulessite:github.com a2aproject a2a-samples task for task handling examplesA Task is the central unit of work in A2A. It represents a request from a client agent to a server agent, tracks progress through well-defined states, accumulates messages and artifacts, and reaches a terminal state when complete.
Key fields of a Task object:
state enum and optional messagestateTransitionHistory enabled)| State | Terminal? | Description |
|---|---|---|
submitted | No | Task received, queued for processing |
working | No | Agent actively processing |
input-required | No | Agent needs more input (multi-turn) |
auth-required | No | Authentication needed |
completed | Yes | Task finished successfully |
failed | Yes | Task encountered an unrecoverable error |
canceled | Yes | Task was canceled |
rejected | Yes | Server refused the task |
unknown | — | Default/unknown state |
submitted → working
submitted → rejected
submitted → canceled
working → completed
working → failed
working → canceled
working → input-required
input-required → working (when client provides more input)
input-required → canceled
auth-required → working (when auth is provided)
auth-required → canceled
Rules:
completed, failed, canceled, rejected) are final — no transitions outcanceled which client can request)input-required → working happens when the client sends a follow-up messageTasks are created implicitly when a client sends a message without a taskId:
message/send or message/stream without taskIdsubmitted stateworking or return submittedWhen a client sends a message with an existing taskId:
input-required back to workingArtifacts are the outputs of a task:
working stateid, name, optional description, and partsTaskArtifactUpdateEventIf the agent declares stateTransitionHistory: true in its Agent Card:
Fetch the specification for the exact Task object schema, state enum values, and transition validation rules before implementing.