a2a-sdk
Installation
SKILL.md
A2A JavaScript SDK Skill
Overview
Use this skill to implement A2A-compliant servers and clients with @a2a-js/sdk, including tasks, streaming, authentication, and transport selection. Follow A2A protocol v0.3.0.
Core Workflows
- Select transport: JSON-RPC (default), REST, or gRPC.
- Define an AgentCard and AgentExecutor for server implementations.
- Use ClientFactory for client creation and message exchange.
- Add task handling and artifacts for long-running operations.
- Use streaming when real-time updates are required.
- Add authentication or push notifications when needed.