Skip to content

Commit e895da6

Browse files
Merge pull request #616 from mulesoft/W-22034718-Run-super-agent-on-af---files
W-22034718 run super agent on af-* files
2 parents b8e3f23 + f814c06 commit e895da6

10 files changed

Lines changed: 98 additions & 101 deletions

modules/ROOT/pages/_partials/af-shared.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ a|
3030
|Anypoint Code Builder
3131
a|
3232

33-
* Anypoint Code Builder
34-
* Developer Mule Developer Generative AI User
33+
* Anypoint Code Builder
34+
* Mule Developer Generative AI User
3535

3636
|Anypoint Design Center
3737
|Design Center Developer

modules/ROOT/pages/af-agent-networks.adoc

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
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.
44

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.
66

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.
88

99
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.
1010

@@ -18,10 +18,10 @@ Create robust, automated agent networks with these key benefits.
1818
Define your agent processes in an intentional way using a simple YAML file, which is easier and faster than writing complex code.
1919
* Safety and Governance
2020
+
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.
2222
* Observability
2323
+
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.
2525
* Flexibility
2626
+
2727
Coordinate any type of agent and tool, regardless of where it’s built and deployed so you can build a diverse network of agents.
@@ -48,7 +48,7 @@ Flex Gateway enforces authentication, least‑privilege access, and guardrails.
4848
* Observe
4949
+
5050
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
5252
+
5353
The onboarding definition (YAML) is versioned and shareable, enabling rapid adaptation for roles, regions, or subsidiaries without rebuilding flows.
5454
* Trust and Compliance
@@ -85,7 +85,7 @@ Your agent network can use both locally defined and externally defined MCP serve
8585
[[agent-networks-code-builder]]
8686
=== Agent Networks in Anypoint Code Builder
8787

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.
8989

9090
image::af-agent-network-canvas.png["Anypoint Code Builder canvas showing brokers, agents, and MCP servers"]
9191

@@ -121,90 +121,88 @@ image::agent-fabric-architecture.png[Agent Fabric showing agents and MCP servers
121121
[calloutlist]
122122
. 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.
123123
. 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.
125125
. 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.
126126
. Collect logs, metrics, and traces from Flex Gateway and runtimes in Anypoint Monitoring.
127127

128128
[[llm-support]]
129129
== Large Language Models
130130

131-
Agent network brokers support the latest Gemini and OpenAI models.
131+
Agent network brokers support the latest Gemini and OpenAI models.
132132

133-
* Azure OpenAI and OpenAI API:
133+
* Azure OpenAI and OpenAI API:
134134
+
135135
** GPT-5.2
136136
** GPT-5.2 Pro
137137
** GPT-5-mini
138138
** GPT-5 nano
139-
** GPT-5.2 Pro
140139
** GPT-5
141140
+
142141
* Gemini API:
143142
+
144143
** Gemini 2.5 Pro
145144
** Gemini 2.5 Flash-Lite
146145
** Gemini 2.5 Flash
147-
** Gemini 3 Flash
146+
** Gemini 3 Flash
148147
** Gemini 3 Pro
149148

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.
151150

152-
The following table details the requirements and recommended models.
151+
This table details the requirements and recommended models.
153152

154153
|===
155154
|*Model Provider* |*Required Endpoint* |*Required Capabilities* |*Suggested Models*
156155

157156
|OpenAI |`/responses` a|
158-
* Reasoning
159-
* Native structured output
160-
* Function and Custom tool calling
157+
* Reasoning
158+
* Native structured output
159+
* Function and custom tool calling
161160
a|
162-
* For lower latency: GPT-5-mini
161+
* For lower latency: GPT-5-mini
163162
* For complex reasoning: Evaluate models
164163

165164
|Gemini |`/generateContent` (Native API) a|
166-
* 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
169168
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
171170
* For complex reasoning: Gemini 3 Pro (Deep Think capabilities)
172-
|===
171+
|===
173172

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.
175174

176175
[[a2a-protocol]]
177-
== A2A Protocol
176+
== A2A Protocol
178177

179178
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.
180179

181180
=== Context and Task ID Scoping in Agent Networks
182181

183182
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`.
184183

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.
186185

187186
NOTE: It is not mandatory for non-broker agents to generate a `contextId` and `taskId` when receiving requests from a client.
188187

189188
Consider a network with a client and two brokers (1 and 2).
190189

191190
* 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.
194193
* 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.
195194

196195
[cols="1,1,1", options="header"]
197196
|===
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`.
202201
|===
203202

204203
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].
205204

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).
208206

209207
== See Also
210208

modules/ROOT/pages/af-build-agent-networks-in-a-ci-cd-environment.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
= Build Agent Networks in a CI/CD Environment
22

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].
46

57
== Before You Begin
68

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.
810

911
Install the Anypoint CLI Agent Fabric plugin by running this command in a terminal window:
1012

1113
`npm i mulesoft-anypoint-cli-agent-fabric-plugin`
1214

1315
[NOTE]
1416
====
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`.
1618
1719
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`.
1820
====
@@ -41,7 +43,7 @@ For more information, see xref:anypoint-cli::auth.adoc[].
4143

4244
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].
4345

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].
4547

4648
== CLI for Agent Fabric Plugin Reference
4749

modules/ROOT/pages/af-create-agent-network.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Whether you want to use MuleSoft Vibes or the UI, Anypoint Code Builder includes all the agent network functionality you need to get started.
55

66
[[before-you-begin]]
7-
== Before You Begin
7+
== Before You Begin
88

99
Make sure you review the xref:af-get-started.adoc#before-you-begin[prerequisites].
1010

@@ -16,7 +16,7 @@ MuleSoft Vibes can help you create your project. For more information, see xref:
1616
. In the Anypoint Code Builder activity bar, click the agent icon image:af-acb-dev-agent-icon.png["",18,18].
1717
. Describe your agent network, including the brokers, agents, MCP servers, and LLMs you want to connect. MuleSoft Vibes does the rest.
1818

19-
To get started try one of these suggested prompts.
19+
To get started, try one of these suggested prompts.
2020

2121
* Create a new agent network project called "Employee Onboarding." Add HR agent and CRM agent.
2222
* 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.
2626
== Create a Network Using Anypoint Code Builder
2727

2828
. 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:
3030
* In Create, select *Create an Agent Network*.
3131
* From the Command Palette, run this command: *MuleSoft: Create an Agent Network Project*.
3232
. 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.
4040
Specifies brokers, agents, MCP servers, LLMs, policies, and authentication in your agent network.
4141
* `exchange.json`
4242
+
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.
4444

4545
The canvas shows a visual, read-only representation of your YAML file. Select any component to show the associated code in the code editor.
4646

0 commit comments

Comments
 (0)