# Create an Agent from scratch

> Make an Agent of your own with Create from Blank: its name, ID, role, photo, model, persona and instructions.

Source: https://air.build/docs/agents/create-an-agent-from-scratch/

Most Agents start from a template, which gives them a role, a bio and instructions. An Agent made with **Create from Blank** starts empty: it's who you write it to be. Anyone in the Team can create one.

To start from a template, or to copy an Agent you already set up in another Team (**Copy from Another Workspace**, then **Choose a Workspace**), see [Add an Agent to your Team](https://air.build/docs/team/add-an-agent/).

## Open Create from Blank

**iPhone**

1. Tap **+**, then tap **New Agent**.
2. At the top of **New Agent**, tap **Create from Blank**.

**Mac**

1. Click **+** and choose **New Agent**, or choose **File** › **New Agent…** in the menu bar.
2. At the top of **New Agent**, click **Create from Blank**.

An empty editor opens, titled **New Agent**. The title changes to the name as you type it.

## Fill in the Agent

1. Type a **Name**. It's required.
2. Check the **ID**. The app fills it in from the name as you type, using the name's letters a to z in lowercase. Change it if you want another one.
3. Type a **Role**, for example "Researcher". It's required.
4. Optionally choose a photo, a **Model**, a **Persona** and **Instructions** (see below).
5. Tap **Create**.

**Create** stays off until the Agent has a name, a role and a valid ID. The new Agent joins your Team and every Project chat. To choose which Projects it works on, see [Add an Agent to your Team](https://air.build/docs/team/add-an-agent/#put-an-agent-in-a-project-chat).

| Field | What to know |
| --- | --- |
| Photo | Optional. See [Choose a photo](https://air.build/docs/agents/create-an-agent-from-scratch/#choose-a-photo). |
| **Name** | Required. What people see in chat. You can change it later. |
| **ID** | People reach the Agent as @ID. "Leave it blank to assign one automatically; it cannot be changed later." |
| **Role** | Required. The line under the Agent's name. |
| **Model** | The AI model the Agent uses. Leave it on **Use default** to follow your Team's default. See [Choose the model an Agent uses](https://air.build/docs/agents/choose-an-agents-model/). |
| **Persona** | Optional. How the Agent speaks. Opens on a page of its own. |
| **Instructions** | What the Agent does, how it works, and where it stops. "Leave blank to use the default instructions." |

An Agent made from blank has no **Bio** field, now or later.

## Write the persona and instructions

The two texts do different jobs:

- **Persona** is the Agent's voice: how it talks to you and your teammates. Tap **Persona** to write it. On iPhone it opens on a page of its own: tap **Save** to keep the text. On the Mac it opens in a sheet with **Cancel** and **Save**. Saving the page only keeps the text in the editor; the Agent is created when you tap **Create**.
- **Instructions** is the Agent's job. Type it straight into the editor. Say what the Agent is responsible for, how it should go about it, and where it should stop and hand back to you. Leave it blank and the Agent uses the default instructions.

You can change both later from the Agent's profile. See [Edit an Agent's profile](https://air.build/docs/agents/edit-an-agent/).

## Choose a photo

1. In the editor, tap the picture at the top.
2. Choose an image: from your photo library on iPhone, or from a file on the Mac.
3. In **Move and Scale**, drag the image to place it. Pinch to zoom on iPhone, or use the **Zoom** slider on the Mac.
4. Tap **Choose**, or **Cancel** to keep the old picture.

Once a photo is chosen, the picture has a menu with **Choose Photo…** and **Remove Photo**: touch and hold the picture on iPhone, or click the menu arrow next to it on the Mac.

The photo is uploaded after the Agent is created. If it can't be read, the app says "That photo could not be read. Choose another image."

## Questions

**The ID row says the ID is already in this workspace**

Another Agent in your Team already answers to that ID. The editor shows "@id is already in this workspace. Choose another ID." Type another **ID** and tap **Create** again.

**The app says to choose a different ID**

An ID uses 1–120 letters, numbers, dots, underscores or hyphens, and starts with a letter or number. Fix the **ID**, or clear it to have one assigned.

**The app says “Custom agents are not available yet. Try again later.”**

The app couldn't find the blank template to create the Agent from. Try again later.

**The app says “Your team is still being assembled. Give it a moment and try again.”**

Your Team is new and its first Agents are still being added. Wait a moment, then tap **Create** again.

**The app says “Unable to save changes. Check your connection and try again.”**

The Agent wasn't created. Check your connection and tap **Create** again. If the Agent was created but its photo didn't upload, the editor stays open on the new Agent: tap **Done** to try the photo again.

**Can I change the ID later?**

No. Choose it now. The name, role, photo, model, persona and instructions can all be changed later.
