Projects & Deploy buttons¶
The project card in the side bar: build, validate, publish, deploy, run locally.
Projects & Deploy¶
The side bar of the agent network projects in this workspace: open a project, build, publish and deploy it, and see the status of each deployment.
When to use it: To find a project, start a new one or ship one to Agent Fabric.
Examples:
- New project opens the New Project dialog
- Filter the list with the tabs above it
- A green light means the last deployment is running
- A blue light means it is deployed behind authentication (HTTP 401/403) and needs credentials: set them in the chat with the shield button, and the light turns green
- The shield chip on a broker row says saved (green) or needed (blue); click it to open the chat
- The key icon on a broker row opens the broker in Exchange: Request access there to get its client ID and secret
- Unpublish refused (error 2007): Anypoint does not unpublish an asset that still has deployed resources. Undeploy the network (and anything deployed from this asset) first
- Hard delete is only allowed about 7 days after the version was published; before that, use Unpublish
- Remove from workspace (minus icon) takes a project off the list and deletes nothing: a workspace folder leaves the workspace, the only open folder is closed, a subfolder is hidden from Projects & Deploy and Governance until "Octoloom: Show Removed Projects", or until you download it from Exchange, create it or add its folder to the workspace again. Its open tabs close without a save prompt (unsaved changes are discarded). Files stay on disk and in Git; a deployment keeps running, so Undeploy first if you want it stopped
- The deployment box has no Forget button any more: Check now and the 5-minute refresh keep the status right, and Undeploy stops a running network
Validate Project¶
A dry run of build, publish and deploy that changes nothing. Octoloom copies the project (unsaved edits included) to a scratch folder, applies the repairs a Build would make to the copy only, then checks agent-network.yaml and the .agent flows, runs the pre-deploy checks (with the org lookups when Agent Fabric is connected), runs the CLI build on the copy and lists deploy variables without a value. The report goes to the "Agent Network CLI" output in five steps; the copy is deleted afterwards. Your files, Exchange and the gateways are never touched, and Build, Publish and Deploy work as before.
When to use it: Before you publish or deploy, or after changing the project, to see whether publish and deploy are expected to work. The check icon on a project in Projects & Deploy, Validate in the canvas Build & Deploy menu, Validate Project in the command palette or on agent-network.yaml in the Explorer.
Examples:
- Validation passed: build, publish and deploy are expected to work
- Repairs a Build makes: exchange.json groupId set to the connected organization (Validate only lists it)
- MCP platform "Informatica" must be lower case: Exchange rejects it on publish
- Connection key already an API instance in the environment: Deploy offers Fix and deploy
- Not connected: only the local checks and the CLI build run; connect to Agent Fabric for the org checks
Build¶
Repairs what the CLI would reject (missing defaults, long connection names after asking) and packages the project on this machine with the Anypoint CLI. Nothing goes to Exchange or a gateway.
When to use it: After a change, to see that the CLI accepts the project.
Examples:
- Output in "Agent Network CLI"
- Build errors land in Problems on the canvas
Publish to Exchange¶
Publishes the project to Exchange with the version in exchange.json, as it is: Publish never bumps it.
When to use it: Once per new version. A version already in Exchange can't be published again: bump it first (New Version or Commit Version in the flow editor, Bump patch in exchange.json).
Examples:
- Deploy with "Publish before deploy" does the same publish for you
- To redeploy a version already in Exchange, turn Publish before deploy off
Run locally¶
Runs a 2.0 network on this machine in Docker (Flex gateways, a local Exchange and the agent graph). Nothing changes in your Anypoint org. The form takes the port, secrets and non-secret variables for this run; the variables are preloaded with their exchange.json values, so you only change what differs on this machine.
When to use it: To try a change without a deploy.
Examples:
- Stop it with the same button (it turns into a stop button) or Ctrl+C in the terminal
- An internal gateway host such as omni-ai-gateway needs its external address under Variables
Setup gateways¶
Asks for a gateway name and runs the CLI step agent-network:setup:gateways for it (single-gateway mode), in a terminal.
When to use it: Before the first deploy to a gateway, or when the deploy asks for it.
Examples:
- The terminal shows what the CLI does
Undeploy¶
Stops and removes the deployment of this project from its gateway, after asking. The Exchange asset stays.
When to use it: When the network should no longer run. It is the only way Octoloom stops a deployment.
Examples:
- Undeploy before Unpublish: Anypoint refuses to unpublish an asset that is still deployed (error 2007)
Unpublish from Exchange¶
Removes the published version of this project from Exchange, after asking. Your files are not changed.
When to use it: To withdraw a version. Undeploy first.
Examples:
- Hard delete is only allowed about 7 days after the version was published
Remove from workspace¶
Takes the project off this list and deletes nothing: a workspace folder leaves the workspace, the only open folder is closed, and a subfolder is hidden from Projects & Deploy and Governance until "Octoloom: Show Removed Projects", or until you download it from Exchange, create it or add its folder to the workspace again. Its open tabs close, and unsaved changes in them are discarded without a save prompt. Files stay on disk and in Git, and Exchange is not changed.
When to use it: When you no longer work on a project in this workspace.
Examples:
- A deployment keeps running: Undeploy first if it should stop
Pre-deploy checks¶
Before build and deploy, Octoloom checks what the agent-network CLI only reports after a full publish and deploy: a broker implementation file that does not exist, a connection key longer than 51 characters (the local gateway of Run locally names its context
When to use it: Every Build and Deploy. A missing implementation file stops the build; a connection key over 51 characters stops only Run locally, where Rename and run shortens the key with its references (Build, Publish and Deploy write a warning to the output and go on); New Project keeps the project prefix short enough for every template key; org findings ask before deploying (Fix and deploy, Deploy anyway or Cancel). Fix and deploy renames a connection key that is already an API instance in the environment (v1: prefixed with the project name), or a registry key owned by another project, with every reference and .agent target; An exchange.json groupId or organizationId still at ${organizationId} (the CLI does not resolve it) is set to the connected organization or business group automatically before every build, publish, deploy and run locally; a real group ID is never changed. It saves, then builds and checks again. A failed org lookup never blocks the deploy.
Examples:
- implementation: ./brokers/sales.agent but sales.agent is in the project root: move it or change the path
- A Salesforce agent dependency from another business group: publish it to your org or declare it inline
- "Asset sales_agent belongs to another project": rename the registry key
- Connection openai_connection already exists in the environment (409): rename the connection key and its llm:// target
- customer_onboarding_platform_northwind_orders_mcp_connection (60 characters): deploys go on with a warning; Run locally stops and Rename and run shortens it to 51
- Duplicated connection name demo-llm-connection (another project uses the same Exchange LLM): Fix and deploy renames it to
-demo-llm-connection
Deploy form¶
Deploys the project with the Anypoint CLI. Pick a gateway from the chips (the gateways of the connected environment, green = running) or type its name; secrets are passed as --property and never stored. The switches are on by default: Tracing, Wait until the network is ready, Publish before deploy. Turn one off to pass --disable-tracing, --dont-wait-for-agent-network or --disable-autopublish. The gateway chips say which space a gateway runs in; with one gateway the brokers deploy to that space. Target space (-t) lists the private spaces of the organization (marked private) and the CloudHub shared spaces; in Ingress / egress mode it is needed unless your space is called agent-network-space. Deploy… on the canvas, in the command palette, in the editor title or on agent-network.yaml in the Explorer opens this same form for the project.
When to use it: Each deploy: the rocket icon on a project in Projects & Deploy, or Deploy… on the canvas.
Examples:
- Click the agentic chip to fill in the gateway
- Ingress / egress: click a private space chip under Target space
- Turn Publish before deploy off to redeploy a version that is already in Exchange
- Run locally has a Watch files switch (--watch)
- Run locally lists the non-secret variables of exchange.json, preloaded with their exchange.json values: change one to pass it as --property for this machine only (remembered per project, exchange.json is not changed); unchanged or empty keeps the exchange.json value
- Internal host (for example omni-ai-gateway, a host without a domain): it only resolves inside the managed gateway, so a local run warns and asks for the gateway's external address under Variables
- Deploy the MCP servers and agents a broker connects to first, on the same gateway and space: at deploy the broker checks that it can reach every connection
- Many 3025 errors after you changed the gateway or the space: the deployment target is fixed after the first deploy, and the real cause is one 400 above them. Delete the deployment in Runtime Manager, then deploy again
- "Error while trying to apply policies" (3025 on every broker): the CLI applies the policies to the API Manager instance of each connection, so one bad instance or policy fails them all. Fix that policy or instance
- A deploy that seems to hang has almost always created the app: open its log in Runtime Manager before you retry
- 403 on publish or deploy is a missing role or scope (for example Exchange Contributor or Runtime Manager deploy rights), not a project problem: ask your Anypoint admin
- "Converting circular structure to JSON" hides the real CLI error: a flag the installed agent-network plugin does not support. Update the plugin (anypoint-cli-v4 plugins:install) or turn the switch that adds the flag off