External Agent-to-Agent Bridge (A2A v1.0)
Safely connects your Neusym workspace to outside agent systems using the open A2A v1.0 protocol.
Integrating with another vendor’s or department’s agent runtime requires fragile ad-hoc webhooks with no taint or budget guard.
Inbound peer requests are safely quarantined as tainted, and outbound peer calls are hash-pinned and budget-capped.
What It Does (In Plain English)
A2A Bridge exposes an authenticated Agent Card (/.well-known/agent-card.json) and JSON-RPC 2.0 endpoint (/a2a/v1/rpc) for inbound tasks (always stamped tainted: true) and delegates outbound work to allowlisted external agent peers with SHA-256 card pinning, per-peer cost caps, and idempotent journaling.
Real-World Example
- 1Partner agent sends a task to
POST /a2a/v1/rpcwith Bearer auth. - 2A2A Bridge admits it idempotently with
tainted: true. - 3Outbound delegation verifies the remote peer’s
cardSha256before sending work.
When Should You Turn It On?
Enterprise Edition. Add when exchanging tasks across separate organizations or heterogeneous agent runtimes.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
# Enterprise Edition (@neusym/kit-a2a-bridge + @neusym/driver-a2a-transport-http)
kits:
- "@neusym/kit-a2a-bridge@0.1.0"
kitConfigs:
a2a-bridge:
allowInbound: trueKits It Works With
Technical Details & Configuration Options (5 settings)
| Package | @neusym/kit-a2a-bridge |
|---|---|
| Provides Ports | a2a@1 |
| Requires Ports | tasks@1budget@1a2a-transport@1 |
| Optional Ports | tools@1operations@1artifacts@1secrets@1 |
| Publishes Events | a2a.task_dispatcheda2a.task_settled |
| Owned DB Collections | a2a_exchanges |
Configuration Options (kitConfigs.a2a-bridge)
| Setting | Type | Default | Description |
|---|---|---|---|
allowInbound | boolean | true | — |
defaultInboundRole | string | — | — |
defaultInboundAgentDefId | string | — | — |
agentCard | object | — | — |
peers | object | {} | — |