Typescript sdk
Remote Agent Configuration
Copy page
Learn how to configure and use external agents for A2A communication
External agents are agents external to a graph that can communicate using the A2A (Agent-to-Agent) protocol. External agents enable you to delegate tasks between graphs within the agent framework or to third-party services.
Creating an External Agent
Every external agent needs a unique identifier, name, description, base URL for A2A communication, and authentication configuration:
External Agent Relationships
Agents can be configured to delegate tasks to external agents.
External Agent Options
The framework supports comprehensive external agent configuration including authentication and custom headers:
Parameter | Type | Required | Description |
---|---|---|---|
id | string | Yes | Stable agent identifier used for consistency and persistence |
name | string | Yes | Human-readable name for the external agent |
description | string | Yes | Brief description of the agent's purpose and capabilities |
baseUrl | string | Yes | The A2A endpoint URL where the external agent can be reached |
headers | object | No | HTTP headers to include with every request to the external agent. See Context Fetchers for details about dynamic variables. |
credentialReference | CredentialReference | No | Reference to dynamic credentials for authentication. See Credentials for details |