# Choose where your Agents run

> Make a Team in the cloud or on your Mac, set your Mac up for it, switch between Teams and move a Project from one to another.

Source: https://air.build/docs/get-started/where-agents-run/

Your Agents work inside a Team. When you make a Team you choose where its Agents run: in the cloud, or on your Mac. In some places the app labels a Team a "workspace", for example **New Workspace…** and **Cloud Workspace**; those labels are written here as the app shows them.

## Cloud or your Mac

|  | **Cloud Workspace** | **Local Workspace** |
| --- | --- | --- |
| Where Agents run | An isolated sandbox in the cloud | On your Mac, with your own Xcode, Previews and files |
| What you install | Nothing | Xcode and an iOS Simulator runtime |
| Where you make it | iPhone, iPad or Mac | Only in AirBuild for Mac |
| How many | Up to the number of cloud Teams your account allows; the app tells you when you reach it | One per Mac |

Pick **Cloud Workspace** if you want to start right away or don't have a Mac. Pick **Local Workspace** if you want the Agents to build with the Xcode, Simulators and files on your Mac.

> [!WARNING]
> **Full Access to This Mac**
>
> A local Team's Agents work directly under your user account on your Mac, with your account's full permissions: they can do what your Mac account can do. If you want the Agents kept apart from your Mac, make a cloud Team instead.

## Make a Team

**iPhone**

1. Open the menu with your account picture and tap **New Workspace…**. On iPhone it is under **Switch Workspace**.
2. Under **Where should your team work?**, **In the cloud** is picked. **On my Mac** is locked here, with the reason: **Use AirBuild for Mac.** Tap **Learn More** to read the difference.
3. Tap **Continue**.
4. Under **Give your workspace a name**, type a name in **Workspace Name**. To add a picture, tap the picture and choose **Choose from Photos** or **Take Photo**. You can change the name and picture later in Settings.
5. Tap **Create**. The app opens the new Team.

**Mac**

1. In the sidebar, click the Team name at the bottom left, then click **New workspace**.
2. Under **Where should agents run?**, click **Cloud Workspace** or **Local Workspace**.
3. Click **Create Workspace**.

A cloud Team is made and the sheet closes. A local Team is made and the sheet turns to **Set Up This Mac**, below.

On the Mac, **New workspace** isn't in the menu while you are in a local Team; switch to another Team first. It also isn't shown when you can't make either kind: you already have as many cloud Teams as your account allows, and this Mac already has a local Team.

## Set up your Mac for a local Team

**Set Up This Mac** checks three things on your Mac and shows **Checking**, then **Ready** or **Needs Setup**:

- **Xcode**: an Xcode is installed and selected. When it passes, you see the version in use.
- **iOS Simulator Runtimes**: at least one iOS Simulator runtime is installed.
- **iPhone Previews**: an iPhone Simulator is there, or one can be made. **Automatic** means the app makes one for you.

When everything passes, click **Done**. When a step fails, the step says what to do:

| Message | What to do |
| --- | --- |
| **Xcode Not Configured** | Install Xcode from the App Store, open it once, then choose it in **Xcode ▸ Settings ▸ Locations ▸ Command Line Tools**. |
| **No iOS Simulator Runtime Installed** | Open **Xcode ▸ Settings ▸ Components** and install an iOS Simulator runtime, then try again. |
| **No iPhone Preview Available** | The installed iOS runtimes offer no iPhone models. Open **Xcode ▸ Settings ▸ Components** and install a current iOS Simulator runtime, then try again. |
| **Local Hosting Not Supported** | This build of AirBuild can't run a local Team. Use an official release of AirBuild, or make a cloud Team. |

Under a failed check you have two ways on:

- **Fix with Agent**: Pluso sets up Xcode and Previews for you. The chat with Pluso opens with what the check found.
- **Create a Cloud Workspace Instead**, or **Switch to Your Cloud Workspace** if you already have one.

After you install something yourself, click **Check Again**.

Your local Team stays either way. To use it, set your Mac up; you don't need to delete it.

## Switch between Teams

**iPhone**

Open the menu with your account picture, tap **Switch Workspace**, then tap a Team. The Team you are in has a check mark.

**Mac**

Click the Team name at the bottom left of the sidebar, then click a Team. The Team you are in has a check mark.

On your other devices, a local Team shows **(Offline)** when its Mac is off or AirBuild isn't open on it. Open AirBuild on that Mac to bring the Team back.

## Move a Project to another Team

You can move a Project between the cloud and your Mac, or into a Team you joined.

1. Open the Project's profile and tap **Move to Another Workspace…**, then pick a Team under **Your Workspaces** or **Teams You Joined**. You can also pick the Team from **Move to** in the Project's menu.
2. If the move can't go ahead, you see **Unable to Move Project** and the reason. Nothing changes. Fix the cause, then start the move again. See the messages below.
3. Read **What Moves**: the files and code, the Git history, the conversation and its messages, and the App Store Connect link and Android upload key when the Project has them. Artifacts and screenshots don't move.
4. Tap **Move**.

You can close the sheet; the move goes on and tells you when it's done. When it finishes, the Project is deleted from the Team it came from and opens in the new one.

If the other Team has a different owner, that owner pays for the Project's AI and hosting from then on. If the move fails, nothing is deleted and the Project stays where it was.

Only the owner of a Team can move its Projects out. Messages you can meet:

| Message | What to do |
| --- | --- |
| **“Project” is archived. Unarchive it first, then move it.** | Unarchive the Project, then move it. |
| **This app is already being moved.** | Wait for that move to finish. |
| **… is offline. Open AirBuild on that Mac and try again.** | Open AirBuild on the Mac that hosts the local Team. |
| **… is still starting. Try again in a moment.** | Wait a moment, then start the move again. |
| **… needs a newer version of AirBuild before apps can move there.** | Update AirBuild on that Mac. |
| **The app could not be moved. Check your connection and try again.** | Check your connection, then start the move again. |

## Questions

**Can I make a local Team on iPhone or iPad?**

No. A local Team runs on a Mac, so you make it in AirBuild for Mac. On iPhone and iPad you can make a cloud Team and use any Team you have, including a local one while its Mac is on.

**What happens when I have as many cloud Teams as I can?**

The app says **You’ve reached your cloud workspace limit** and how many cloud Teams you can have. Delete one you don’t use, or email support@yellowplus.app for more.

**Can one Mac host two local Teams?**

No. A Mac hosts one local Team. **Local Workspace** shows which Team this Mac already hosts.
