Skip to content

Commit c596316

Browse files
chore(deploy): remove deploy as a2a (#5255)
* chore(deploy): remove a2a * add block
1 parent 66315f1 commit c596316

82 files changed

Lines changed: 18258 additions & 8151 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/docs/components/icons.tsx

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5730,31 +5730,6 @@ export function McpIcon(props: SVGProps<SVGSVGElement>) {
57305730
)
57315731
}
57325732

5733-
export function A2AIcon(props: SVGProps<SVGSVGElement>) {
5734-
return (
5735-
<svg {...props} viewBox='0 0 860 860' fill='none' xmlns='http://www.w3.org/2000/svg'>
5736-
<circle cx='544' cy='307' r='27' fill='currentColor' />
5737-
<circle cx='154' cy='307' r='27' fill='currentColor' />
5738-
<circle cx='706' cy='307' r='27' fill='currentColor' />
5739-
<circle cx='316' cy='307' r='27' fill='currentColor' />
5740-
<path
5741-
d='M336.5 191H162C97.66 191 45.5 243.16 45.5 307.5C45.5 371.84 97.64 424 161.99 424C206.55 424 256.29 424 296.5 424C487.5 424 374 191.01 569 191C613.89 191 658.97 191 698.03 191C762.37 191 814.5 243.16 814.5 307.5C814.5 371.84 762.34 424 698 424H523.5'
5742-
stroke='currentColor'
5743-
strokeWidth='48'
5744-
strokeLinecap='round'
5745-
/>
5746-
<path
5747-
d='M256 510C270.36 510 282 521.64 282 536C282 550.36 270.36 562 256 562H148C133.64 562 122 550.36 122 536C122 521.64 133.64 510 148 510H256ZM712 510C726.36 510 738 521.64 738 536C738 550.36 726.36 562 712 562H360C345.64 562 334 550.36 334 536C334 521.64 345.64 510 360 510H712Z'
5748-
fill='currentColor'
5749-
/>
5750-
<path
5751-
d='M444 628C458.36 628 470 639.64 470 654C470 668.36 458.36 680 444 680H100C85.64 680 74 668.36 74 654C74 639.64 85.64 628 100 628H444ZM548 628C562.36 628 574 639.64 574 654C574 668.36 562.36 680 548 680C533.64 680 522 668.36 522 654C522 639.64 533.64 628 548 628ZM760 628C774.36 628 786 639.64 786 654C786 668.36 774.36 680 760 680H652C637.64 680 626 668.36 626 654C626 639.64 637.64 628 652 628H760Z'
5752-
fill='currentColor'
5753-
/>
5754-
</svg>
5755-
)
5756-
}
5757-
57585733
export function WordpressIcon(props: SVGProps<SVGSVGElement>) {
57595734
return (
57605735
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25.93 25.93'>

apps/docs/content/docs/de/tools/a2a.mdx

Lines changed: 0 additions & 207 deletions
This file was deleted.
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
---
2+
title: A2A
3+
description: Interact with external A2A-compatible agents
4+
---
5+
6+
import { BlockInfoCard } from "@/components/ui/block-info-card"
7+
8+
<BlockInfoCard
9+
type="a2a"
10+
color="#4151B5"
11+
/>
12+
13+
{/* MANUAL-CONTENT-START:intro */}
14+
The A2A (Agent-to-Agent) protocol lets Sim call external AI agents that expose an A2A-compatible endpoint. Use it to connect your workflows to remote agents — LLM-powered bots, microservices, and other AI systems — through a standardized message format.
15+
16+
With the A2A block you can:
17+
18+
- **Send messages to external agents**: Pass prompts, structured data, or files to a remote agent and get its response.
19+
- **Track and cancel tasks**: Poll the state of a long-running task or request its cancellation.
20+
- **Discover capabilities**: Fetch an agent's Agent Card to inspect its skills, capabilities, and supported modes.
21+
22+
You need the external agent's endpoint URL and, if it requires authentication, an API key.
23+
{/* MANUAL-CONTENT-END */}
24+
25+
## Usage Instructions
26+
27+
Use the A2A (Agent-to-Agent) protocol to call external AI agents over the latest A2A specification.
28+
29+
## Tools
30+
31+
### `a2a_send_message`
32+
33+
Send a message to an external A2A agent and return its response.
34+
35+
#### Input
36+
37+
| Parameter | Type | Required | Description |
38+
| --------- | ---- | -------- | ----------- |
39+
| `agentUrl` | string | Yes | The A2A agent endpoint URL |
40+
| `message` | string | Yes | The message text to send |
41+
| `data` | string | No | Optional structured JSON data to attach \(JSON string or object\) |
42+
| `files` | array | No | Files to attach, uploaded or referenced from a previous block |
43+
| `taskId` | string | No | Existing task ID to continue |
44+
| `contextId` | string | No | Conversation context ID to continue |
45+
| `apiKey` | string | No | API key for authentication \(if required\) |
46+
47+
#### Output
48+
49+
| Parameter | Type | Description |
50+
| --------- | ---- | ----------- |
51+
| `content` | string | Agent response text |
52+
| `taskId` | string | Task identifier |
53+
| `contextId` | string | Conversation/context identifier |
54+
| `state` | string | Task lifecycle state: `submitted`, `working`, `input-required`, `auth-required`, `completed`, `failed`, `canceled`, or `rejected` |
55+
| `artifacts` | array | Structured task output artifacts |
56+
57+
### `a2a_get_task`
58+
59+
Retrieve the current state and result of an A2A task.
60+
61+
#### Input
62+
63+
| Parameter | Type | Required | Description |
64+
| --------- | ---- | -------- | ----------- |
65+
| `agentUrl` | string | Yes | The A2A agent endpoint URL |
66+
| `taskId` | string | Yes | The task ID to retrieve |
67+
| `historyLength` | number | No | Maximum number of history messages to include |
68+
| `apiKey` | string | No | API key for authentication \(if required\) |
69+
70+
#### Output
71+
72+
| Parameter | Type | Description |
73+
| --------- | ---- | ----------- |
74+
| `content` | string | Agent response text |
75+
| `taskId` | string | Task identifier |
76+
| `contextId` | string | Conversation/context identifier |
77+
| `state` | string | Task lifecycle state |
78+
| `artifacts` | array | Structured task output artifacts |
79+
80+
### `a2a_cancel_task`
81+
82+
Request cancellation of an in-progress A2A task.
83+
84+
#### Input
85+
86+
| Parameter | Type | Required | Description |
87+
| --------- | ---- | -------- | ----------- |
88+
| `agentUrl` | string | Yes | The A2A agent endpoint URL |
89+
| `taskId` | string | Yes | The task ID to cancel |
90+
| `apiKey` | string | No | API key for authentication \(if required\) |
91+
92+
#### Output
93+
94+
| Parameter | Type | Description |
95+
| --------- | ---- | ----------- |
96+
| `taskId` | string | Task identifier |
97+
| `state` | string | Task lifecycle state after cancellation |
98+
| `canceled` | boolean | Whether the task reached the canceled state |
99+
100+
### `a2a_get_agent_card`
101+
102+
Fetch the Agent Card (discovery document) for an external A2A agent.
103+
104+
#### Input
105+
106+
| Parameter | Type | Required | Description |
107+
| --------- | ---- | -------- | ----------- |
108+
| `agentUrl` | string | Yes | The A2A agent endpoint URL |
109+
| `apiKey` | string | No | API key for authentication \(if required\) |
110+
111+
#### Output
112+
113+
| Parameter | Type | Description |
114+
| --------- | ---- | ----------- |
115+
| `name` | string | Agent display name |
116+
| `description` | string | Agent description |
117+
| `url` | string | Agent endpoint URL |
118+
| `version` | string | The agent's own version |
119+
| `protocolVersion` | string | A2A protocol version the agent exposes |
120+
| `capabilities` | json | Agent capability flags |
121+
| `skills` | array | Skills the agent can perform |
122+
| `defaultInputModes` | array | Default accepted input media types |
123+
| `defaultOutputModes` | array | Default produced output media types |
124+
125+
## Notes
126+
127+
- Category: `blocks`
128+
- Type: `a2a`
129+
- Send Message blocks until the agent reaches a terminal (`completed`, `failed`, `canceled`, `rejected`) or interrupted (`input-required`, `auth-required`) state. Use Get Task to poll a task you continue later, and branch on `state`.
130+
- Task IDs are scoped to the external agent, not to Sim. Anyone who knows an agent URL and task ID can read or cancel that task unless the agent enforces its own authentication — set an API key for agents that require one.

apps/docs/content/docs/en/integrations/logs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Query workflow run logs in the current workspace with the full Logs-page filter
2929
| `workflowIds` | string | No | Comma-separated workflow IDs to filter by |
3030
| `folderIds` | string | No | Comma-separated folder IDs to filter by \(descendants included\) |
3131
| `level` | string | No | Comma-separated statuses: 'info', 'error', 'running', 'pending', 'cancelled'. Omit for all. |
32-
| `triggers` | string | No | Comma-separated trigger types \(api, webhook, schedule, manual, chat, mcp, a2a, workflow, sim, …\) |
32+
| `triggers` | string | No | Comma-separated trigger types \(api, webhook, schedule, manual, chat, mcp, workflow, sim, …\) |
3333
| `startDate` | string | No | ISO 8601 timestamp; only runs at or after this time |
3434
| `endDate` | string | No | ISO 8601 timestamp; only runs at or before this time |
3535
| `search` | string | No | Free-text search across log fields |

apps/docs/content/docs/en/integrations/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"pages": [
33
"index",
4+
"a2a",
45
"agentmail",
56
"agentphone",
67
"agiloft",

apps/docs/content/docs/en/logs-debugging/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **Logs page** lists every run across your workspace, one row per run. The [L
2424

2525
### The run
2626

27-
Each row on the Logs page is one **run**. It records the **trigger** that started it (manual, api, schedule, chat, webhook, mcp, mothership, copilot, workflow, or a2a), a **status**, a **duration**, and the **cost** in credits. It also carries an **execution ID** that uniquely names the run.
27+
Each row on the Logs page is one **run**. It records the **trigger** that started it (manual, api, schedule, chat, webhook, mcp, mothership, copilot, or workflow), a **status**, a **duration**, and the **cost** in credits. It also carries an **execution ID** that uniquely names the run.
2828

2929
The status shows the run's outcome at a glance, with failed runs badged **Error**. When you are hunting a failure, you filter the list to the errors and start there.
3030

0 commit comments

Comments
 (0)