Deploy Agent Network Instances
Deploy your agent network instance to a deployment target. You can deploy to a CloudHub 2.0 private space or to a Runtime Fabric (limited availability). When you deploy, Flex Gateway secures your agent network into the ingress gateway. Also, it secures your brokers, agents, and MCP servers into the egress gateway.
If you run operations within a CI/CD environment, you can use Anypoint CLI’s plugin to set up, create, build, publish, and deploy agent networks. For more information, see Build Agent Networks in a CI/CD Environment. |
Before You Begin Deploying Agent Networks
Make sure you meet the prerequisites for this task. For prerequisites, see Get Started with Agent Networks.
When you deploy your agent network, an instance is deployed for each connection defined in your agent network. If your agent network contains brokers, an instance is deployed per broker.
Deploy Your Agent Network
MuleSoft Dev Agent can help you deploy your agent network instance. Click the agent icon in the Anypoint Code Builder activity bar and tell the agent that you want to deploy your agent network. MuleSoft Dev Agent does the rest. For more information about MuleSoft Dev Agent, see Creating API Specs with MuleSoft Dev Agent.
Suggested Prompts
-
Deploy my agent network project to the production environment.
-
Deploy the hello-world-network project to staging.
-
Deploy agent network project at /path/to/project to dev environment with specific gateways.
-
Deploy my agent network to CloudHub 2.0.
If you don’t want to use MuleSoft Dev Agent, deploy your agent network instance using these steps.
-
In your Anypoint Code Builder project, in the Explorer view, right-click a project file and select Deploy Agent Network. Or, run the command MuleSoft: Deploy Agent Network in the Using the Command Palette.
-
If you’re not logged in already, log in to your Anypoint Platform account.
-
In Deploy Agent Network, specify the environment, target space, gateways, and other deployment information. If you don’t see any deployment targets to select, then you need to set up your target deployment space and set up gateways. For instructions, see Get Started with Agent Networks.
-
Select Deploy.
-
Your instances are deployed and ready to be tested. An instance is deployed for each connection defined in your agent network. If your agent network contains brokers, an instance is deployed per broker.
Next, discover your agent network assets in Agents & Tools in Exchange, view your agent network in Agent Visualizer, apply a governance policy in API Manager, or monitor your agent network activity in Anypoint Monitoring.