Connect agents outside Performance Hub (A2A)

On this page

A2A (Agent-to-Agent) is an open standard for agents talking to each other. With External A2A, your Performance Hub Agent can take part: a partner's booking agent can ask a venue's Agent for availability, a clinic's Agent can send a referral question to a lab's agent, or a franchise store's Agent can report to a head-office system's agent.

This is different from agent-to-agent messaging inside your organisation, and from MCP. MCP lets your AI tools use Performance Hub features. A2A lets your Performance Hub Agent talk to other agents as a peer — including agents that are not on Performance Hub.

For the JSON-RPC methods, Agent Card fields and errors, see the A2A protocol reference.

Quick reference

WhoAgent owner only
Master switchConfiguration → External A2A protocol (v1.0)
Where you manage itThe A2A tab (appears when External A2A is on)
DirectionsInbound (outside callers → your Agent) and Outbound (your Agent → outside peers), each off by default

Turn on External A2A

  1. Open the Agent in Device management → Configuration.
  2. Turn on External A2A protocol (v1.0).

The product describes it as: "Connect this agent with external A2A-compatible agents outside Performance Hub. Turning this on adds an A2A tab to manage inbound bearer keys and outbound external peers. Turning it off immediately blocks all external A2A traffic."

A toast confirms: "External A2A enabled — manage keys and peers in the new A2A tab." Turning it off shows "External A2A disabled. All external A2A traffic is blocked." and blocks every external call at once.

The A2A tab appears only when External A2A is on and you are the owner (the same pattern as the VPN tab).

Let outside agents call your Agent (Inbound)

On the A2A tab, open Inbound A2A (External callers). The product says: "Expose this agent over standard A2A v1.0 JSON-RPC 2.0. External callers authenticate with a per-peer bearer key and can never pivot to other internal agents."

Turn Inbound on, then set:

FieldNotes
A2A Endpoint URL (JSON-RPC 2.0)https://app.performancehub.co/a2a/{agent-id} — copy button beside it
Agent Card URLThe endpoint plus /.well-known/agent-card.json — copy button beside it
Agent Card display nameShown on the public or authenticated card
Public descriptionPlaceholder: "Describe what external agents can ask this agent"
Agent Card visibilityPublic discovery card (default) or Authenticated callers only

You can also cap how often callers can send requests. Click Save inbound settings — "Inbound A2A settings saved."

If this Agent is later replaced with new hardware, its A2A URL changes to the new device ID. Update external callers after replacement: "If this agent is replaced with new hardware, its A2A URL changes to the new device ID. Update external callers after replacement."

Inbound keys

Create one key per outside system.

  1. Click Create key. The Create inbound A2A bearer key dialog asks for an External caller / peer name (for example Partner Support Agent).
  2. Create the key. Save your inbound A2A key shows the token once: "This bearer token is shown only once. Copy and store it securely — it cannot be retrieved after you close this dialog." Use Copy bearer token, note the Authorization header example, then tick I have saved this key.
  3. Each key row shows the name, Last used or Never used, an on/off switch and Revoke key.

The empty state is "No inbound keys yet. Create a bearer key for each external system calling this agent."

Outside callers send Authorization: Bearer <your-inbound-key>. An inbound turn runs with no Performance Hub user identity: the Agent answers only from its own allowed scope and cannot reach your other Agents. Each key sees only the tasks it created.

Let your Agent call outside agents (Outbound)

On the A2A tab, open Outbound external A2A peers. The product says: "Allow this agent to send tasks to external A2A v1.0 agents. Outbound messages are redacted for credentials and require confirmation before sending."

Turn Outbound on, then Add external peer:

  1. Enter a Remote Agent URL or Agent Card URL (HTTPS) and click Discover. Success shows "Discovered Agent Card ({version})"; failure shows "Could not discover Agent Card."
  2. Set Display name, Slug (filled from the name), JSON-RPC endpoint URL ("Auto-filled by Discover (or enter manually)") and optional notes ("Optional notes for your agent on when to contact this peer").
  3. Choose Authentication: No authentication, Bearer token, API key header (header name and value), or OAuth 2.0 client credentials (Token URL, Client ID, optional Scope, Client Secret). Saved secrets are never shown again — "Leave blank to keep the saved credential".
  4. Add the peer. Rows appear under Configured external peers, with Edit peer, an on/off switch and Remove peer.

The remote must be a public HTTPS address.

In chat

Before anything leaves Performance Hub for an outside peer, your Agent shows a preview of what will be sent (credentials redacted) and asks you to confirm. Replies from outside agents are treated as untrusted: your Agent will not follow instructions in them that try to obtain credentials or private data.

Activity

The A2A tab's Recent agent communication activity lists Organisation and External A2A deliveries. Refresh the list after you send or receive messages.

Replacing or removing an Agent

  • Replacement keeps external peer configuration on the new device, but the A2A URL changes. Update every outside caller.
  • Removal (or reset) deletes inbound keys, external peers and message activity.

See Restore & recovery.

Security in plain terms

  • One inbound key per outside caller; each key only sees its own tasks.
  • Outside callers cannot pivot from your Agent to your other Agents.
  • Outbound content is redacted for credentials and needs confirmation before sending.
  • Outside replies are treated as untrusted.

For developers

Endpoint shapes, Agent Card fields, methods, task states and errors are in the A2A protocol reference.

Common questions

Do I need External A2A for Agents in my own organisation?

No. Use Agents working together for organisation peers. Turn on External A2A only when you need agents outside Performance Hub.

What happens if I turn External A2A off?

All external A2A traffic is blocked immediately. The A2A tab goes away until you turn it back on.

Can an outside caller reach my other Agents?

No. Inbound turns cannot pivot to other internal Agents.