> ## Documentation Index
> Fetch the complete documentation index at: https://docs-agents.fpt.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Instructions

> The agent's job description

Instructions is the block of text describing who the agent is and how it works. The agent reads it before every single answer, which makes it the part with the biggest say in how good the agent turns out.

<img src="https://mintcdn.com/fpt-62e894b4/OEIa1zuMs6GjYr6X/images/en_agent_details.jpg?fit=max&auto=format&n=OEIa1zuMs6GjYr6X&q=85&s=6ad106152a64032fe2bc1762e7ab4901" alt="Agent instructions" width="1562" height="784" data-path="images/en_agent_details.jpg" />

## What good Instructions cover

* **Who the agent is** - its role and the ground it covers
* **What it can and cannot do** - the limits of its abilities, so it never promises something out of reach
* **The order of work** - what it does first, what comes after, and when it has to ask
* **Tone and language** - how it addresses people, how long its answers run, which language it replies in
* **Hard rules** - the things it must never get wrong, such as inventing figures

## Controls on the screen

| Button | What it does |
| - | - |
| **Preview / Markdown** | Read the formatted version, or switch to the Markdown source to edit by hand |
| **Refine with AI** | Ask the assistant to polish what is currently open |
| **Test chat** | Talk to the agent to see whether it behaves the way you intended |

<Tip>
  Write Instructions the way you would write a job description for a new hire: be specific, give examples, spell out the exceptions. Vague wording produces vague answers.
</Tip>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.