a2a-protocol
Installation
SKILL.md
A2A Protocol (Agent-to-Agent)
Rule
Agents can call other agents using the A2A protocol. This is a JSON-RPC-based protocol for agent discovery and communication. Use it when work should go to a different agent entirely — not the local agent chat.
Why
Agent-native apps don't exist in isolation. A mail agent might need analytics data. A calendar agent might need to search issues. A2A lets agents discover each other, send messages, and receive structured results — all over HTTP with bearer token auth.
How to Enable A2A (Server Side)
Add mountA2A() to a server plugin:
// server/plugins/a2a.ts
import { mountA2A } from "@agent-native/core/a2a";