/uipath-a2a-agents
UiPath Agent Gateway A2A agents (`uip agenthub remote-a2a-agent` / `remote-a2a-agent-user-connections`). Add an external A2A agent (Salesforce Agentforce, Microsoft Foundry, any agent that publishes an agent card) from its card link or card JSON; sign it in with an OAuth Agent 2
Claude Code
$ npx -y skills add uipath/skills --skill uipath-a2a-agents --agent claude-code
Codex
$ npx skills add uipath/skills --skill uipath-a2a-agents -a codex -y
Cursor
$ npx skills add uipath/skills --skill uipath-a2a-agents -a cursor -y
Gemini CLI
$ npx skills add uipath/skills --skill uipath-a2a-agents -a gemini-cli -y
GitHub Copilot
$ npx skills add uipath/skills --skill uipath-a2a-agents -a github-copilot -y
OpenCode
$ npx skills add uipath/skills --skill uipath-a2a-agents -a opencode -y
Windsurf
$ npx skills add uipath/skills --skill uipath-a2a-agents -a windsurf -y
SKILL.md
uipath-a2a-agents.SKILL.mdname: uipath-a2a-agents
description: "UiPath Agent Gateway A2A agents (`uip agenthub remote-a2a-agent` / `remote-a2a-agent-user-connections`). Add an external A2A agent (Salesforce Agentforce, Microsoft Foundry, any agent that publishes an agent card) from its card link or card JSON; sign it in with an OAuth Agent 2 Agent connection or with headers from Orchestrator assets; give a person their own Agent 2 Agent connection; change it, refresh its card, show it or remove it. Agents and Maestro flows can then call it. For calling an A2A agent from a flow→uipath-maestro-flow. For MCP servers→uipath-mcp-servers."
allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
UiPath Agent Gateway Remote A2A Agents
Agent Gateway is Orchestrator's hub for MCP servers and A2A agents: [about](https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/about-agent-gateway). A **remote A2A agent** is an agent that runs elsewhere (a vendor's, another team's) registered in Agent Gateway so UiPath agents and Maestro flows can call it. Agent Gateway stores its agent card, calls the endpoint the card names, and authenticates every call. The CLI group is `agenthub`: `uip agenthub remote-a2a-agent` manages agents, `uip agenthub remote-a2a-agent-user-connections` manages users' own connections on them.
When to Use This Skill
- Register, update, delete, list or get a remote A2A agent, or fetch its card again (`refresh-card`).
- Choose and set how Agent Gateway authenticates to it: an Integration Service connection, or headers ([Authentication](#authentication)).
- List, set or delete a user's own connection on an agent ([Per-User Connections](#per-user-connections)).
- Reach an agent inside a private network through Relay ([Relay](#relay)).
- Get the `A2aUrl` UiPath callers use for the agent.
**Not this skill:** calling a remote A2A agent from a flow (an `a2a` tool on the flow's agent) → `uipath-maestro-flow`; MCP servers → `uipath-mcp-servers`; Integration Service connections of other connectors → `uipath-platform`. No skill covers adding it as a tool to an Agent Builder agent, or exposing a UiPath agent to other platforms over A2A. A BPMN process cannot call one: Studio Web no longer offers the A2A task.
Critical Rules
1. **Give every command the agent's folder.** Pass `--folder-path <FOLDER_PATH>` or `--folder-key <FOLDER_KEY>` (never both) on every `remote-a2a-agent` and `remote-a2a-agent-user-connections` command except `--print-schema` on `create`. Slugs are unique per folder: the same slug can name different agents in two folders. Find folders with `uip or folders list --output json`; a personal workspace resolves only by `--folder-key`.
2. **Use the slug, exactly as `list` prints it.** Always pass `--slug` on `create`. Never pass a display name or a GUID where a slug goes.
3. **Only OAuth connections work.** Agent Gateway asks Integration Service for a connection's OAuth token on every call and on every card fetch. An Agent 2 Agent connection of type Personal Access Token, API Key or Basic has no OAuth token: `create` and `refresh-card` with it fail with `server_error` "HTTP 502: Received HTML instead of the expected JSON response.", whatever the `Instructions` say about retrying, and calls fail the same way. The CLI cannot show a connection's type: before you pass `--connection-id`, confirm with the user that the connection uses an OAuth 2.0 grant; when you cannot ask, do not pass it, and tell the user which connection you left out and why. For an API key, Basic credentials or a fixed bearer token, use `--header` instead ([Authentication](#authentication)).
4. **Keep secrets in Orchestrator assets.** A header value of exactly `%ASSETS/<ASSET_NAME>%` is replaced, on every call, by that asset's value from the agent's folder. The asset holds the whole value (`Bearer <TOKEN>`, `Basic <BASE64>`), so nothing goes before or after the reference: `Authorization=%ASSETS/<ASSET_NAME>%`. `Bearer %ASSETS/<ASSET_NAME>%` is not replaced: the agent gets that text as is. Never put a raw secret in `--header` when the user can store it in an asset, and never print one back.
5. **Dry-run every write first.** `create`, `update`, `delete`, `refresh-card` and the per-user `set` / `delete` take `--dry-run`: it runs the CLI's checks and prints the plan (`Code: DryRun`) without the call. The service's own checks (the card fetch, asset reads, name and slug conflicts) run only on the real call, so a clean plan does not promise a clean write. The plan shows header values in clear: do not paste it to the user when a header holds a raw secret.
6. **An update changes only what the user asked.** Scalar flags keep every stored field you do not pass. Do not re-send the card, the headers or the connection to change something else ([Updating Agents](#updating-agents)).
7. **Never route stored credentials around a refusal.** `update` refuses to move an agent with a secret or asset-backed header to another origin, and refuses `****` under a header stored unmasked. Follow the refusal's `Instructions`; do not delete headers or the connection to get past it without the user's consent.
8. **Ask before acting for another user.** Setting or deleting someone else's per-user connection changes how their calls authenticate: confirm with the user first, unless they asked for exactly that user.
9. **Deletes need `--yes`, after the user confirms.** `remote-a2a-agent delete` and the per-user `delete` refuse without `--yes` (`ErrorCode: confirmation_required`) and never prompt. Show the slug and `Name`, get the user's confirmation, then pass `--yes`. A delete's `--dry-run` needs `--yes` too and deletes nothing, so `delete <SLUG> --dry-run --yes` is fine before the user confirms; only the real delete waits for them ([Deleting an Agent](#deleting-an-agent)).
10. **`not_supported` is final.** `ErrorCode: not_supported` ("Remote A2A agent management isn't supported on the connected environment.") means Agen
Read more
name: uipath-a2a-agents description: "UiPath Agent Gateway A2A agents (`uip agenthub remote-a2a-agent` / `remote-a2a-agent-user-connections`). Add an external A2A agent (Salesforce Agentforce, Microsoft Foundry, any agent that publishes an agent card) from its card link or card JSON; sign it in with an OAuth Agent 2 Agent connection or with headers from Orchestrator assets; give a person their own Agent 2 Agent connection; change it, refresh its card, show it or remove it. Agents and Maestro flows can then call it. For calling an A2A agent from a flow→uipath-maestro-flow. For MCP servers→uipath-mcp-servers." allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
UiPath Agent Gateway Remote A2A Agents
Agent Gateway is Orchestrator's hub for MCP servers and A2A agents: [about](https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/about-agent-gateway). A **remote A2A agent** is an agent that runs elsewhere (a vendor's, another team's) registered in Agent Gateway so UiPath agents and Maestro flows can call it. Agent Gateway stores its agent card, calls the endpoint the card names, and authenticates every call. The CLI group is `agenthub`: `uip agenthub remote-a2a-agent` manages agents, `uip agenthub remote-a2a-agent-user-connections` manages users' own connections on them.
When to Use This Skill
- Register, update, delete, list or get a remote A2A agent, or fetch its card again (`refresh-card`).
- Choose and set how Agent Gateway authenticates to it: an Integration Service connection, or headers ([Authentication](#authentication)).
- List, set or delete a user's own connection on an agent ([Per-User Connections](#per-user-connections)).
- Reach an agent inside a private network through Relay ([Relay](#relay)).
- Get the `A2aUrl` UiPath callers use for the agent.
**Not this skill:** calling a remote A2A agent from a flow (an `a2a` tool on the flow's agent) → `uipath-maestro-flow`; MCP servers → `uipath-mcp-servers`; Integration Service connections of other connectors → `uipath-platform`. No skill covers adding it as a tool to an Agent Builder agent, or exposing a UiPath agent to other platforms over A2A. A BPMN process cannot call one: Studio Web no longer offers the A2A task.
Critical Rules
1. **Give every command the agent's folder.** Pass `--folder-path <FOLDER_PATH>` or `--folder-key <FOLDER_KEY>` (never both) on every `remote-a2a-agent` and `remote-a2a-agent-user-connections` command except `--print-schema` on `create`. Slugs are unique per folder: the same slug can name different agents in two folders. Find folders with `uip or folders list --output json`; a personal workspace resolves only by `--folder-key`.
2. **Use the slug, exactly as `list` prints it.** Always pass `--slug` on `create`. Never pass a display name or a GUID where a slug goes.
3. **Only OAuth connections work.** Agent Gateway asks Integration Service for a connection's OAuth token on every call and on every card fetch. An Agent 2 Agent connection of type Personal Access Token, API Key or Basic has no OAuth token: `create` and `refresh-card` with it fail with `server_error` "HTTP 502: Received HTML instead of the expected JSON response.", whatever the `Instructions` say about retrying, and calls fail the same way. The CLI cannot show a connection's type: before you pass `--connection-id`, confirm with the user that the connection uses an OAuth 2.0 grant; when you cannot ask, do not pass it, and tell the user which connection you left out and why. For an API key, Basic credentials or a fixed bearer token, use `--header` instead ([Authentication](#authentication)).
4. **Keep secrets in Orchestrator assets.** A header value of exactly `%ASSETS/<ASSET_NAME>%` is replaced, on every call, by that asset's value from the agent's folder. The asset holds the whole value (`Bearer <TOKEN>`, `Basic <BASE64>`), so nothing goes before or after the reference: `Authorization=%ASSETS/<ASSET_NAME>%`. `Bearer %ASSETS/<ASSET_NAME>%` is not replaced: the agent gets that text as is. Never put a raw secret in `--header` when the user can store it in an asset, and never print one back.
5. **Dry-run every write first.** `create`, `update`, `delete`, `refresh-card` and the per-user `set` / `delete` take `--dry-run`: it runs the CLI's checks and prints the plan (`Code: DryRun`) without the call. The service's own checks (the card fetch, asset reads, name and slug conflicts) run only on the real call, so a clean plan does not promise a clean write. The plan shows header values in clear: do not paste it to the user when a header holds a raw secret.
6. **An update changes only what the user asked.** Scalar flags keep every stored field you do not pass. Do not re-send the card, the headers or the connection to change something else ([Updating Agents](#updating-agents)).
7. **Never route stored credentials around a refusal.** `update` refuses to move an agent with a secret or asset-backed header to another origin, and refuses `****` under a header stored unmasked. Follow the refusal's `Instructions`; do not delete headers or the connection to get past it without the user's consent.
8. **Ask before acting for another user.** Setting or deleting someone else's per-user connection changes how their calls authenticate: confirm with the user first, unless they asked for exactly that user.
9. **Deletes need `--yes`, after the user confirms.** `remote-a2a-agent delete` and the per-user `delete` refuse without `--yes` (`ErrorCode: confirmation_required`) and never prompt. Show the slug and `Name`, get the user's confirmation, then pass `--yes`. A delete's `--dry-run` needs `--yes` too and deletes nothing, so `delete <SLUG> --dry-run --yes` is fine before the user confirms; only the real delete waits for them ([Deleting an Agent](#deleting-an-agent)).
10. **`not_supported` is final.** `ErrorCode: not_supported` ("Remote A2A agent management isn't supported on the connected environment.") means Agen
UiPath Agent Skills give AI coding agents the domain knowledge to build, run, test, and deploy UiPath automations and agents — directly from your development environment.
Other skills on uipath.
More skills from other plugins.
karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
agent-builder
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…
Questions about uipath-a2a-agents.
- Which coding agents can use uipath-a2a-agents?
- uipath-a2a-agents installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

