a2a-sdk
БесплатноБез исполняемых скриптовНе проверенComprehensive Agent2Agent (A2A) JavaScript SDK skill for building A2A-compliant agents and clients. Use when implementing or integrating @a2a-js/sdk, creating…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
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.
Bundled Resources
README.md: Quick overview and basic usage patterns.REFERENCE.md: Full API reference and advanced features.HELPERS.md: Helper utilities and common patterns.templates/server/basic-server.ts: Minimal server template.templates/server/task-server.ts: Task-based server template.templates/client/basic-client.ts: Minimal client template.templates/client/streaming-client.ts: Streaming client template.examples/authentication.md: Authentication server/client examples.examples/streaming.md: Streaming server/client examples.
Implementation Guidance
- Keep AgentCard fields aligned with protocol v0.3.0.
- Prefer direct message responses for simple requests.
- Use tasks for long-running work and publish status updates and artifacts.
- Use streaming for real-time task progress updates.
- Include authentication via custom user builders or authenticated transports when required.
Установить a2a-sdk в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл a2a-sdk?
Comprehensive Agent2Agent (A2A) JavaScript SDK skill for building A2A-compliant agents and clients. Use when implementing or integrating @a2a-js/sdk, creating A2A servers/clients, using JSON-RPC/REST/gRPC transports, streaming task updates, handling tasks/artifacts, authentication, or push notifications.
Как установить скилл a2a-sdk?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл a2a-sdk запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic