Contact Us 1-800-596-4880

Publish Agent Network Assets

Build and publish your agent network project as Anypoint Exchange assets. When you publish, Exchange creates an asset for each broker, agent, and MCP server in your agent network. The asset ID is the value of the name key in agent-network.yaml.

For example, suppose you have an agent named badging-agent in agent-network.yaml. After you publish, the Exchange assetId is badging-agent.

Before You Begin

Make sure you review the prerequisites.

To publish your project assets to a different business group, update the relevant groupId in exchange.json.

Versioning Assets

Don’t specify a semantic version (for example, 1.0.1) each time you publish your project. Instead, enter a version group (for example, V1 or V2) that represents the high-level version of your agent network project. Exchange handles the semantic versioning and automatically increments the version when there are changes.

For existing projects, specify the same version group you were previously using. If you specify a different version group, then Exchange triggers a major semantic version upgrade (for example, 1.x.x to 2.x.x) for all associated assets.

Publish Your Network Using MuleSoft Vibes

Use MuleSoft Vibes to publish your agent network specification to Anypoint Exchange. For more information, see anypoint-code-builder::api-ai-create-spec.adoc.

  1. In the Anypoint Code Builder activity bar, click the agent icon .

  2. Tell MuleSoft Vibes that you want to publish your agent network. MuleSoft Vibes does the rest.

To get started, try one of these suggested messages.

  • Publish my Employee Onboarding project.

  • Publish my agent network project version 1.0.0.

  • Publish the hello-world-network project to Exchange.

  • Publish agent network project at /path/to/project with version 2.1.0.

Publish Your Network Using Anypoint Code Builder

Use Anypoint Code Builder to publish your agent network assets directly from your project to Anypoint Exchange.

  1. If you’re not logged in already, log in to your Anypoint Platform account.

  2. In your Anypoint Code Builder project, choose one of the following:

  3. In Explorer, right-click a project file and select Publish Agent Network Assets.

  4. In the Command Palette, run this command: MuleSoft: Publish Agent Network Assets.

  5. In Publish Agent Network Project Assets, enter a version group for the project and review the project metadata. If you want to publish project assets to a different business group, update the groupId in exchange.json.

  6. Select Publish.

  7. Anypoint Code Builder publishes your agents, MCP servers, and LLM provider definitions to Exchange and creates an asset for each element in your agent network.

Next, discover your agent network assets in Agents & Tools in Exchange to get a comprehensive view of your integration, including agent and MCP server assets. Exchange automatically tags brokers for easy identification.

Publish a Network Using the Anypoint CLI

To set up, create, build, publish, and deploy agent networks in a CI/CD environment, use the Anypoint CLI plugin. For more information, see Build Agent Networks in a CI/CD Environment.