---
title: Step 5 — Add Tasks (Prompt Writing)
slug: step-5-add-tasks-prompt-writing
docTags: 
createdAt: 2026-03-23T20:32:57.227Z
---

In this step, you’ll add your agent’s **Tasks** (the main prompts/instructions that control how the agent behaves).

## 1) Add a task step

1. Click **Add new step**.
2. A new task step will be created.

::Image[]{src="https://api.archbee.com/api/optimize/FEqjvWZnyymr_PEhXLLlG/5Zhk1BAuL_Ku26oYkMbn-_image.png" size="72" width="1486" height="1336" position="center" showCaption="false"}

## 2) Configure the step

In the **Step Details** window:

1. Enter the **Name** (usually a clear label like the agent name or task name).
2. Enter the **Description** (what this task step is responsible for).
3. Click **Add** to save.

![](https://api.archbee.com/api/optimize/FEqjvWZnyymr_PEhXLLlG/oA-NZRCsd8ATAN1DfjpdJ_image.png)

## 3) Write the system prompt

**&#x20;1. What is a System Prompt**

- A **System Prompt** defines how the agent should behave.
- It contains instructions that guide how the agent responds to users.

**2. Why System Prompts are Important:**

The system prompt helps control:

- the role of the agent
- how the agent answers questions
- what tasks the agent should perform

👉 Please review the  [Best Prompt Practices](https://docs.google.com/document/d/1HIwss3MX_MoII8Po8eTB1ayJhi68LCCWP_HFhz9yINs/edit?usp=sharing) documentation to better understand system prompt writing.

### Option A — Auto Generate

1. Click **Auto Generate**.
2. Review the generated prompt.
3. Edit it to match your exact requirements (tone, format, do/don’t rules).

### Option B — Write manually

Write your prompt directly in the editor.

![](https://api.archbee.com/api/optimize/FEqjvWZnyymr_PEhXLLlG/aPKrnJOGeOBi-Nd2zk1Yf_image.png)

When you’re done, click **Save changes**.

## 📚 Next steps

Continue to: [Step 6 — Set Up Memory (Optional)](docId\:VySN8rX9g0eC6NGxUu43d)
