@agentkit-js/a2a
v0.2.0
Published
A2A (Agent2Agent) adapter for agentkit-js — expose agents as A2A servers and call remote A2A agents
Maintainers
Readme
@agentkit-js/a2a
A2A (Agent2Agent) adapter — expose agents as A2A servers and call remote A2A agents.
Part of agentkit-js — a TypeScript + WASM agent runtime.
Install
npm install @agentkit-js/a2a @agentkit-js/coreUsage
import { A2AServer, A2ARemoteAgent } from "@agentkit-js/a2a";
import { CodeAgent, AnthropicModel } from "@agentkit-js/core";
// Expose your agent as A2A:
const server = new A2AServer(new CodeAgent({ model: new AnthropicModel(/*...*/) }));
// Or call a remote A2A agent as a tool:
const remote = new A2ARemoteAgent({ url: "https://other-team.example/a2a" });Aligns with the Agent2Agent protocol so agentkit-js agents interoperate with frameworks that support A2A (Google ADK, CrewAI 1.14+, etc.).
License
Apache-2.0 — © agentkit-js contributors
