@alvin0/ai-agent-sdk-a2a
v0.1.0
Published
Node-elevated official A2A client/server bridge for ai-agent-sdk
Readme
@alvin0/ai-agent-sdk-a2a
Runtime: Node 22.12+.
pnpm add @alvin0/ai-agent-sdk-core @alvin0/ai-agent-sdk-a2aNode-elevated bridge between ai-agent-sdk agents/teams and the official A2A client/server APIs.
import { linkA2AAgent } from '@alvin0/ai-agent-sdk-a2a/client'
import { createDefinedAgentA2AServer } from '@alvin0/ai-agent-sdk-a2a/server'This package is intentionally classified as Node. The official A2A 1.1.0 codec
uses Buffer.from for raw binary Part serialization. Text, structured data,
URLs, and binary values are supported in Node, but the package must not be
advertised for Edge/Worker runtimes until the committed negative promotion gate
passes without Node globals.
Authentication, endpoint policy, persistence, and HTTP framework adaptation remain host-owned. Configure explicit origins, HTTPS/private-network policy, resource bounds, session ownership, and deadlines for the deployment boundary.
Composition: runtime-team.linkAgent. Lifecycle: borrowed-caller-owned; close
the runtime/team first, then retain the idempotent unlink and server-dispose
reports separately.
