---
docId: doc_f51c8121cc6a48308f1803ae64cb9226
title: Write instructions
description: Define the agent's goals, tone, and limits; edit, save, and test its instructions.
---

# Write Instructions

Instructions, or the prompt, tell the agent what to do and how to respond. Use [Knowledge](/help/agents/knowledge) for information it needs to consult, such as a catalog or policy.

<span id="1-el-asistente-creación-sin-código"></span>


![Agent instructions and version controls](/images/screenshots/manuales-piloto/agentes/pantallas-completas/en/instrucciones.webp)

## Ask the Assistant for a draft

Open **Assistant** and describe the agent's job. Include its goal, available information, tone, and when it should request help.

For example: “Handle order questions. Reply in Spanish with short messages. Consult the exchange policy and request assistance when a customer asks for a return.”

The [AI creator](/help/agents/creator) can write or adjust instructions. Review what it saved before publishing; requesting a change does not mean it is published.

<span id="2-guía-para-escribir-el-prompt"></span>

## Edit instructions

1. Open **Instructions** in the agent's menu.
2. Use **Edit** to change the text and **Preview** (or **View**) to read the formatted version.
3. Type **/** to insert a reference to available tools, knowledge, or subagents. A reference does not connect or enable a resource.
4. Click **Save** in the header.

For agents with versions, saving creates a draft. Customers continue using the live version until you publish.

<span id="la-fórmula-de-los-5-elementos"></span>
<span id="a-identidad-rol"></span>
<span id="b-contexto-y-misión"></span>
<span id="c-tono-y-estilo"></span>
<span id="d-reglas-de-negocio-límites"></span>
<span id="e-uso-de-conocimientos"></span>

## What to include

- **Identity:** what the agent represents and whom it helps.
- **Goal:** what it should resolve and when its task is complete.
- **Tone:** language, form of address, and response length.
- **Rules:** information to verify, permitted actions, and business limits.
- **Sources and assistance:** which knowledge or tools to consult and when to request help.

Write specific rules. “Consult the catalog before quoting a price” is clearer than “give good answers.” Also configure [Assistance](/help/agents/assistance) if the agent should open cases for your team.

<span id="ejemplo-mal-prompt-y-buen-prompt"></span>

## A short example

“Sell products and be friendly” leaves the process undefined. Replace it with:

> You are Aurora's customer service assistant. Help customers explore products and understand the exchange policy.
>
> Reply with short messages and ask only for missing information.
>
> Consult the catalog before confirming prices or availability. If information is missing, say so and request assistance according to the agent's configuration.
>
> Do not promise discounts, delivery dates, or returns that the business's sources do not authorize.

<span id="iteración-y-mejora"></span>

## Review and improve

1. Save the instructions.
2. Open [Test your agent](/help/agents/test) and select the saved draft.
3. Test common questions, missing information, and requests for human help.
4. Adjust ambiguous rules and save again.
5. After reviewing the results, [publish the version](/help/agents/versions).

Create scenarios in [Evals](/help/agents/evals) to repeat the same conversations and compare versions. Clear instructions help guide the agent; review its responses and tool actions before putting the version live.
