You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/af-agent-networks.adoc
+31-33Lines changed: 31 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
An agent network is a coordinated group of agents, brokers, LLMs, and MCP servers that acts as a central hub for defining, validating, and executing agentic processes across your enterprise.
4
4
5
-
An agent network provides the building blocks of your agentic deployment while MuleSoft Agent Fabric helps you maximize the potential of every AI agent with centralized discovery, orchestration across agents and tools, cross-ecosystem governance, and full transparency into agentic interactions.
5
+
An agent network provides the building blocks of your agentic deployment while MuleSoft Agent Fabric helps you maximize the potential of every AI agent with centralized discovery, orchestration across agents and tools, cross-ecosystem governance, and full transparency into agentic interactions.
6
6
7
-
You define your agent network in a simple, human-readable YAML file in Anypoint Code Builder. This approach abstracts away the underlying technical complexities, allowing you to focus on the business constraints and context of your process without needing to understand the inner workings of the orchestration engine.
7
+
You define your agent network in a simple, human-readable YAML file in Anypoint Code Builder. This approach abstracts away the underlying technical complexities, allowing you to focus on the business constraints and context of your process without needing to understand the inner workings of the orchestration engine.
8
8
9
9
At the start of a new agent network project, we provide a YAML template to give you a head start. You can use MuleSoft Vibes to configure your network, publish the assets to Anypoint Exchange, and deploy your agent network instance.
10
10
@@ -18,10 +18,10 @@ Create robust, automated agent networks with these key benefits.
18
18
Define your agent processes in an intentional way using a simple YAML file, which is easier and faster than writing complex code.
19
19
* Safety and Governance
20
20
+
21
-
Ensure control and compliance across every agent and tool interaction with enterprise-grade governance.
21
+
Ensure control and compliance across every agent and tool interaction with enterprise-grade governance.
22
22
* Observability
23
23
+
24
-
Gain insight into agent actions with a visual trace of their decision-making.
24
+
Gain insight into agent actions with a visual trace of their decision-making.
25
25
* Flexibility
26
26
+
27
27
Coordinate any type of agent and tool, regardless of where it’s built and deployed so you can build a diverse network of agents.
Monitoring and traces (beta) give end‑to‑end visibility into progress, failures, and latency. Visualization shows which agents interacted and where bottlenecks occurred.
51
-
Reuse
51
+
* Reuse
52
52
+
53
53
The onboarding definition (YAML) is versioned and shareable, enabling rapid adaptation for roles, regions, or subsidiaries without rebuilding flows.
54
54
* Trust and Compliance
@@ -85,7 +85,7 @@ Your agent network can use both locally defined and externally defined MCP serve
85
85
[[agent-networks-code-builder]]
86
86
=== Agent Networks in Anypoint Code Builder
87
87
88
-
When you create agent networks, the Anypoint Code Builder canvas shows the brokers, agent, and MCP servers you've configured.
88
+
When you create agent networks, the Anypoint Code Builder canvas shows the brokers, agents, and MCP servers you've configured.
89
89
90
90
image::af-agent-network-canvas.png["Anypoint Code Builder canvas showing brokers, agents, and MCP servers"]
. Publish the agentic assets to Anypoint Exchange for discovery and reuse after you define the agent network (brokers, agents, MCP servers) in the agent network YAML in Anypoint Code Builder.
123
123
. Deploy the agentic assets to CloudHub 2.0 (managed in Runtime Manager).
124
-
. Enforce policies on incoming traffic to the network with an ingress Flex Gateway, which sits in front of broker and API endpoints.
124
+
. Enforce policies on incoming traffic to the network with an ingress Flex Gateway, which sits in front of brokers and API endpoints.
125
125
. Enforce policies, manage connections, and emit telemetry data with an egress Flex Gateway, which sits on outbound paths from brokers and agents to external agents and services.
126
126
. Collect logs, metrics, and traces from Flex Gateway and runtimes in Anypoint Monitoring.
127
127
128
128
[[llm-support]]
129
129
== Large Language Models
130
130
131
-
Agent network brokers support the latest Gemini and OpenAI models.
131
+
Agent network brokers support the latest Gemini and OpenAI models.
132
132
133
-
* Azure OpenAI and OpenAI API:
133
+
* Azure OpenAI and OpenAI API:
134
134
+
135
135
** GPT-5.2
136
136
** GPT-5.2 Pro
137
137
** GPT-5-mini
138
138
** GPT-5 nano
139
-
** GPT-5.2 Pro
140
139
** GPT-5
141
140
+
142
141
* Gemini API:
143
142
+
144
143
** Gemini 2.5 Pro
145
144
** Gemini 2.5 Flash-Lite
146
145
** Gemini 2.5 Flash
147
-
** Gemini 3 Flash
146
+
** Gemini 3 Flash
148
147
** Gemini 3 Pro
149
148
150
-
For more information about these models, see the https://developers.openai.com/api/docs/models[OpenAI] and https://ai.google.dev/gemini-api/docs/models[Gemini] documentation.
149
+
For more information about these models, see the https://developers.openai.com/api/docs/models[OpenAI] and https://ai.google.dev/gemini-api/docs/models[Gemini] documentation.
151
150
152
-
The following table details the requirements and recommended models.
151
+
This table details the requirements and recommended models.
* Native Thinking (via thinkingBudget and thinkingLevel)
167
-
* Native structured output (responseSchema)
168
-
* Function and custom tool calling
165
+
* Native Thinking (via thinkingBudget and thinkingLevel)
166
+
* Native structured output (responseSchema)
167
+
* Function and custom tool calling
169
168
a|
170
-
* For lower latency: Gemini 2.5 Flash, Gemini 2.5 Flash-Lite
169
+
* For lower latency: Gemini 2.5 Flash, Gemini 2.5 Flash-Lite
171
170
* For complex reasoning: Gemini 3 Pro (Deep Think capabilities)
172
-
|===
171
+
|===
173
172
174
-
Agent network supports text-based prompts and responses. Image and binary message types aren't supported.
173
+
Agent networks support text-based prompts and responses. Image and binary message types aren't supported.
175
174
176
175
[[a2a-protocol]]
177
-
== A2A Protocol
176
+
== A2A Protocol
178
177
179
178
The Agent2Agent (A2A) Protocol governs agent-to-agent communication. This protocol powers orchestration, observability, and governance features in agent networks. MuleSoft supports v0.3.0 of the A2A Protocol Specification.
180
179
181
180
=== Context and Task ID Scoping in Agent Networks
182
181
183
182
In MuleSoft agent networks, the brokers receiving a request always generate a `contextId` and `taskId`. These IDs define the state and scope of a specific conversation between two agents. A `taskId` is always matched to a `contextId`, but a `contextId` can exist without a `taskId`.
184
183
185
-
In a multi-agent network, a client sends a request to Broker_1 and Broker_1 generates the necessary IDs for that request. When Broker_1 sends a new request to the next broker or non-broker agent in line, that broker or non-broker agent establishes a unique `contextID` and `taskID` for the new request.
184
+
In a multi-agent network, a client sends a request to Broker_1 and Broker_1 generates the necessary IDs for that request. When Broker_1 sends a new request to the next broker or non-broker agent in line, that broker or non-broker agent establishes a unique `contextId` and `taskId` for the new request.
186
185
187
186
NOTE: It is not mandatory for non-broker agents to generate a `contextId` and `taskId` when receiving requests from a client.
188
187
189
188
Consider a network with a client and two brokers (1 and 2).
190
189
191
190
* The IDs used between the client and Broker_1 are independent of the IDs used between Broker_1 and Broker_2.
192
-
* When Broker_1 delegates a task to Broker_2, Broker 2 (acting as a server) generates its own `contextId` and `taskId`.
193
-
* Broker_1 is responsible for maintaining a mapping between its own upstream `taskId` (used to respond to its client) and the downstream `taskId` it's tracking with Broker_2.
191
+
* When Broker_1 delegates a task to Broker_2, Broker_2 (acting as a server) generates its own `contextId` and `taskId`.
192
+
* Broker_1 is responsible for maintaining a mapping between its own upstream `taskId` (used to respond to its client) and the downstream `taskId` it's tracking with Broker_2.
194
193
* If Broker_2 requires more information (if it returns `status: input-required`), it provides a `contextId` and `taskId` to Broker_1. Broker_1 uses these IDs to provide the requested input to Broker_2. The client never sees Broker_2's internal IDs.
195
194
196
195
[cols="1,1,1", options="header"]
197
196
|===
198
-
| Relationship | Role | Logic
199
-
| Client -> Broker_1 | Broker_1 is server | Generates `contextID_1` and `taskID_1` for the client.
200
-
| Agent A -> Broker_2 | Broker_2 is server | Generates `contextID_2` and `taskID_2` for Broker_1.
201
-
| Network broker | Broker_1 | Broker_1 maps `contextID_1` and `taskID_1` to `contextID_2` and `taskID_2`.
197
+
| Relationship | Role | Logic
198
+
| Client -> Broker_1 | Broker_1 is server | Generates `contextId_1` and `taskId_1` for the client.
199
+
| Agent A -> Broker_2 | Broker_2 is server | Generates `contextId_2` and `taskId_2` for Broker_1.
200
+
| Network broker | Broker_1 | Broker_1 maps `contextId_1` and `taskId_1` to `contextId_2` and `taskId_2`.
202
201
|===
203
202
204
203
For more information, see https://a2a-protocol.org/v0.3.0/topics/life-of-a-task/#group-related-interactions[Life of a Task - Group Related Interactions].
205
204
206
-
NOTE: Agent network doesn't support streaming with Server-Sent Events (SSE).
207
-
205
+
NOTE: Agent networks don't support streaming with Server-Sent Events (SSE).
Copy file name to clipboardExpand all lines: modules/ROOT/pages/af-build-agent-networks-in-a-ci-cd-environment.adoc
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,20 @@
1
1
= Build Agent Networks in a CI/CD Environment
2
2
3
-
If you run operations within a CI/CD environment, you can use Anypoint CLI's Agent Fabric plugin to set up, create, build, publish, and deploy agent networks. For more information, see link:https://www.npmjs.com/package/anypoint-cli-agent-fabric-plugin[Anypoint CLI Agent Fabric Plugin].
3
+
Use the Anypoint CLI Agent Fabric plugin in CI/CD pipelines to configure agent network gateways, create and build projects, and publish and deploy networks from the command line, matching the lifecycle you can drive from Anypoint Code Builder. Automating these steps keeps environments aligned, lets you embed approvals, secrets, and quality gates in the pipeline, and avoids one-off scripts when you promote from development to staging and production.
4
+
5
+
For installation, package updates, and release details, see https://www.npmjs.com/package/mulesoft-anypoint-cli-agent-fabric-plugin[Anypoint CLI Agent Fabric Plugin on npm].
4
6
5
7
== Before You Begin
6
8
7
-
Make sure you meet the prerequisites for this task. For prerequisites, see xref:af-get-started.adoc[].
9
+
Make sure you meet the xref:af-get-started.adoc#before-you-begin[prerequisites] for this task.
8
10
9
11
Install the Anypoint CLI Agent Fabric plugin by running this command in a terminal window:
10
12
11
13
`npm i mulesoft-anypoint-cli-agent-fabric-plugin`
12
14
13
15
[NOTE]
14
16
====
15
-
The installation package has been renamed from `anypoint-cli-agent-fabric-plugin` to `mulesoft-anypoint-cli-agent-fabric-plugin`.
17
+
The installation package has been renamed from `anypoint-cli-agent-fabric-plugin` to `mulesoft-anypoint-cli-agent-fabric-plugin`.
16
18
17
19
If you have the previous version installed, you may encounter an `npm error EXIST: file already exists` error when updating your installation. This occurs because both versions share the same command alias. To resolve this, use the `--force` flag to overwrite the alias and point it to the new package: `npm i mulesoft-anypoint-cli-agent-fabric-plugin --force`.
18
20
====
@@ -41,7 +43,7 @@ For more information, see xref:anypoint-cli::auth.adoc[].
41
43
42
44
To deploy an agent network, you need a private space on CloudHub 2.0 or a deployment target on Anypoint Runtime Fabric. See xref:af-get-started.adoc#setup-space[Set Up the Private Space or Deployment Target for Your Environment].
43
45
44
-
After you create a target space, and haven't already done so, set up the ingress and egress gateways for deployment. See xref:af-get-started.adoc#setup-gateways[Set Up Agent Network Gateways for the Private Space or Deployment Target].
46
+
After you create a target space, set up the ingress and egress gateways for deployment if you haven't already done so. See xref:af-get-started.adoc#setup-gateways[Set Up Agent Network Gateways for the Private Space or Deployment Target].
Copy file name to clipboardExpand all lines: modules/ROOT/pages/af-create-agent-network.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
Whether you want to use MuleSoft Vibes or the UI, Anypoint Code Builder includes all the agent network functionality you need to get started.
5
5
6
6
[[before-you-begin]]
7
-
== Before You Begin
7
+
== Before You Begin
8
8
9
9
Make sure you review the xref:af-get-started.adoc#before-you-begin[prerequisites].
10
10
@@ -16,7 +16,7 @@ MuleSoft Vibes can help you create your project. For more information, see xref:
16
16
. In the Anypoint Code Builder activity bar, click the agent icon image:af-acb-dev-agent-icon.png["",18,18].
17
17
. Describe your agent network, including the brokers, agents, MCP servers, and LLMs you want to connect. MuleSoft Vibes does the rest.
18
18
19
-
To get started try one of these suggested prompts.
19
+
To get started, try one of these suggested prompts.
20
20
21
21
* Create a new agent network project called "Employee Onboarding." Add HR agent and CRM agent.
22
22
* Build a travel planner broker that plans multi-city trips and generate a new agent network.
@@ -26,7 +26,7 @@ To get started try one of these suggested prompts.
26
26
== Create a Network Using Anypoint Code Builder
27
27
28
28
. If you're not logged in, log in to your Anypoint Platform account.
29
-
. In Anypoint Code Builder choose on of the following:
29
+
. In Anypoint Code Builder, choose one of the following:
30
30
* In Create, select *Create an Agent Network*.
31
31
* From the Command Palette, run this command: *MuleSoft: Create an Agent Network Project*.
32
32
. Enter a name for the project and select the location to create the project.
@@ -40,7 +40,7 @@ Anypoint Code Builder creates these files as part of your agent network project.
40
40
Specifies brokers, agents, MCP servers, LLMs, policies, and authentication in your agent network.
41
41
* `exchange.json`
42
42
+
43
-
Specifies Anypoint Exchange assets that are referenced in your agent network, as well as the variables to use in your agent network. Each asset has an asset ID that you use in the agent-network.yaml file.
43
+
Specifies Anypoint Exchange assets that are referenced in your agent network, as well as the variables to use in your agent network. Each asset has an asset ID that you use in the `agent-network.yaml` file.
44
44
45
45
The canvas shows a visual, read-only representation of your YAML file. Select any component to show the associated code in the code editor.
0 commit comments