# New Agent

> The sheet where you add an Agent to your Team: from a template, from blank, or as a copy of an Agent in another of your Teams.

Source: https://air.build/docs/screens/team/new-agent/

New Agent is the sheet where you add an Agent to the Team you're in. At the top are **Create from Blank** and, when you're in more than one Team, **Copy from Another Workspace**; under them are the templates, each with its own **Add** button. Anyone in the Team can add an Agent.

## Open it

**iPhone**

On iPhone, tap **+** on the Home screen and choose **New Agent**.

On iPad, tap **+** at the top of the sidebar and choose **New Agent**.

You can also open it while you add members to a group or a Project: in **Add Members**, the **Agents** list starts with **New Agent…**. Add Members closes and New Agent opens.

**Mac**

Choose **File › New Agent…** in the menu bar, or click **+** at the top of the sidebar and choose **New Agent**. ⇧⌘N chooses **File › New Agent…**.

You can also open it from **Add Members** in a group or a Project: the **Agents** list starts with **New Agent…**.

The sheet's heading is **New Agent**. Close it with the close button (✕) in its top-left corner; nothing is added. On the Mac, Esc presses the close button (✕).

## What's on it

From top to bottom:

| Item | What it shows or does | Default |
| --- | --- | --- |
| **Create from Blank** | "Write its role and instructions yourself." Opens [Create from Blank](https://air.build/docs/screens/team/create-from-blank/), an empty Agent editor. | — |
| **Copy from Another Workspace** | "Use an agent you already set up." Opens [Choose a Workspace](https://air.build/docs/screens/team/choose-workspace/). Shown only when you're in at least one other Team. | — |
| **Specialists** | Templates for Agents that each work in one outside service, which they sign in to. | — |
| **Default Team Template** | The templates a new Team starts with. | — |
| **More Agents** | Any other templates, when there are some. | — |
| Template row | The Agent's picture, its name, "like a" and its role (for example "like a Product Manager"), and up to two lines of what it does. Tap the row (not **Add**) to open the [Agent template page](https://air.build/docs/screens/team/template/). | — |
| **Add** | At the end of each template row. Adds that Agent to your Team. While it works, a spinner takes its place and the other **Add** buttons are dimmed. | — |

While the templates load, **Loading…** shows under the top rows.

## Add an Agent from a template

1. Open **New Agent** (see [Open it](https://air.build/docs/screens/team/new-agent/#open-it)).
2. Find the template under **Specialists** or **Default Team Template**.
3. Tap **Add** on its row.

The Agent joins your Team under the template's own ID, the sheet closes, and the app opens your chat with the new Agent. **Add** is on every template every time: you can add the same template more than once.

To read the template first, tap its row. Its page shows the bio, the services it signs in to, its persona and its instructions, and ends with a button to add it to your Team. See [Agent template page](https://air.build/docs/screens/team/template/).

### When the template's ID is taken

Each Agent in a Team has its own @ID. If the template's ID is already used in your Team (for example, you added the same template before), **Add** doesn't add it. [Create from Blank](https://air.build/docs/screens/team/create-from-blank/) opens instead, filled in with the template's name, role, bio, persona and instructions, with the **ID** row marked: "@_id_ is already in this workspace. Choose another ID." Type another ID and tap **Create**. When the Agent is made, New Agent closes too.

## Other ways to add an Agent

- **Create from Blank**: write the Agent yourself. See [Create from Blank](https://air.build/docs/screens/team/create-from-blank/).
- **Copy from Another Workspace**: copy an Agent from another Team you're in. See [Choose a Workspace](https://air.build/docs/screens/team/choose-workspace/) and [Choose an Agent](https://air.build/docs/screens/team/choose-agent/).

When an Agent is added by any of these ways, New Agent closes.

## Messages

| Message | What it means | What to do |
| --- | --- | --- |
| **Loading…** | The templates are on their way. | Wait. |
| A message under the top rows, in place of the templates | The templates couldn't be read. The message says why. | Close the sheet and open **New Agent** again. **Create from Blank** and **Copy from Another Workspace** still work. |
| A message under the top rows after you tap **Add** | The Agent wasn't added. The message says why. | Tap **Add** again. |
| "@_id_ is already in this workspace. Choose another ID." | In the editor that opens after **Add**: the template's ID is taken in this Team. | Type another ID and tap **Create**. See [When the template's ID is taken](https://air.build/docs/screens/team/new-agent/#when-the-templates-id-is-taken). |

**Why don't I see Copy from Another Workspace?**

It shows only when you're in at least one other Team. See [Create a Team](https://air.build/docs/team/create-a-team/).

**Can I add the same template twice?**

Yes. The second time, its ID is taken, so the editor opens and asks for another ID.

**Who can add Agents?**

Anyone in the Team, not only its owner.
