Integrate external AI Agents with your Runtype A2A Surface to enable Agent-to-Agent communication and multi-Agent workflows.
Prerequisites
- An active A2A Surface in Runtype
- Your Agent Card URL (found in the Endpoints tab)
- API key with the
a2a_ prefix (if authentication is required)
- Access to the external Agent platform you want to connect
Connection methods
How you connect depends on the external Agent platform:
For platforms with native A2A support:
- In the external platform, add a new Agent connection
- Select “A2A” or “Agent-to-Agent” as the connection type
- Enter your Agent Card URL:
- Add authentication (if required):
- Type: Bearer token
- Token: Your
a2a_ prefixed API key
- Save and test the connection
The platform will discover your skills automatically from the Agent Card.
Custom integration
For platforms without native A2A support, implement the protocol manually:
Providing authentication
If your A2A Surface requires authentication:
- Go to your A2A Surface and open the Keys tab
- Create an API key (keys use the
a2a_ prefix)
- Share the key securely with the external Agent operator
- They include it as a Bearer token or
X-API-Key header in all requests
Create separate API keys for each external Agent or organization. This makes it easier to track usage and revoke access when needed.
Testing the connection
Verify external Agents can access your Capabilities:
- From the external Agent, fetch the Agent Card
- Confirm your skills appear
- Invoke a simple skill
- Check execution logs in Runtype to see the invocation
- Verify the response is received correctly
Common integration patterns
Fallback agent
External Agent tries to handle a request, falls back to your Agent if it can’t:
Next steps