---
schema_version: "1"
id: ec215d820806ec9f9dc6c7a23b2a2f6707ab4cbc9a491fadce8396474cc52817
title: Create Agent Networks
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/agent-network/1.0/af-create-agent-network.md
canonical_url: https://docs.mulesoft.com/agent-network/1.0/af-create-agent-network
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 90c73cda13f7619f24bd5f73ca7daea8bf797e39df6aee9a536d741a5038c2be
description: MuleSoft Documentation Site
release: "1.0"
latest: false
---
---
product: Building Agent Networks
version: 1.0
---

# Create Agent Networks

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Whether you want to use MuleSoft Vibes or the UI, Anypoint Code Builder includes all the agent
network functionality you need to get started.

## Before You Begin

Make sure you review the [prerequisites](https://docs.mulesoft.com/agent-network/1.0/af-get-started#before-you-begin).

## Create a Network Using MuleSoft Vibes

MuleSoft Vibes can help you create your project. For more information, see
[MuleSoft Vibes Overview](https://docs.mulesoft.com/anypoint-code-builder/mulesoft-vibes).

1.  In the Anypoint Code Builder activity bar, click the agent icon
    ![](/mulesoft/current/en-us/agent-network/1.0/_images/af-acb-dev-agent-icon.png).

2.  Describe your agent network, including the brokers, agents, MCP servers, and LLMs you want to
    connect. MuleSoft Vibes does the rest.

To get started, try one of these suggested messages.

- Create a new agent network project called "Employee Onboarding." Add HR agent and CRM agent.

- Build a travel planner broker that plans multi-city trips and generate a new agent network.

- Generate an agent network project for incident management. Include a broker that coordinates the
  resolution of incidents reported by customers.

## Create a Network Using Anypoint Code Builder

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

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

    - In Create, select **Create an Agent Network**.

    - From the Command Palette, run this command: **MuleSoft: Create an Agent Network Project**.

3.  Enter a name for the project and select the location to create the project.

4.  Select the business group associated with the target space you created in
    [Get Started with Agent Networks](https://docs.mulesoft.com/agent-network/1.0/af-get-started). The business group you select must be the
    same business group you selected when you created the target space.

5.  Select **Create Project**.

Anypoint Code Builder creates these files as part of your agent network project. These files define
your agent network specification to meet your business requirements. For more information, see
[Agent Network Project File Reference](https://docs.mulesoft.com/agent-network/1.0/af-project-files).

- `agent-network.yaml`

  Specifies brokers, agents, MCP servers, LLMs, policies, and authentication in your agent network.

- `exchange.json`

  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.

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

![Anypoint Code Builder canvas showing two different brokers with their respective agents and MCP servers](/mulesoft/current/en-us/agent-network/1.0/_images/af-acb-canvas.png)

## Create a Network Using the Anypoint CLI

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](https://docs.mulesoft.com/agent-network/1.0/af-build-agent-networks-in-a-ci-cd-environment).

## See Also

- [Define Your Agent Network Specification](https://docs.mulesoft.com/agent-network/1.0/af-define-your-agent-network-specification)

- [Working with Workspaces](https://docs.mulesoft.com/anypoint-code-builder/start-workspaces)
