> For the complete documentation index, see [llms.txt](https://docs.aisuru.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aisuru.com/en/generative-ai/ai-instructions/advanced-instructions-editor.md).

# Advanced instructions editor

{% hint style="danger" %}
This section is intended for more experienced users of the platform.
{% endhint %}

Now that we understand the importance of our Agent's instructions, let's take a closer look at how to use the advanced editor.

### Accessing the advanced editor

To open the advanced editor for your Agent, follow these steps:

1. Select **Settings** in your Agent's sidebar;
2. On the page, go to the **AI** section;
3. Find the "Instructions" field and click "Expand".

### Advanced editor interface

The advanced editor features a complete interface that includes:

* **main writing area;**
* **top toolbar;**
* **right side panel.**

### Main writing area

The central area shows your [instructions](https://github.com/memori-ai/docs/blob/main/generative-ai/ai-instructions/README.md) as plain text, with syntax highlighting to make reading and editing easier.

### Top toolbar

At the top of the editor you'll find:

* **"Copy" button**: copies the instructions to the clipboard;
* **"Undo" button (Ctrl+Z)**: undoes the last changes;
* **"Auto-save" toggle**: when enabled, automatically saves changes as you type;
* **"Mode" menu**: lets you choose between different display modes:
  * **"Text"**: simple plain text view with no formatting;
  * **"Text (markdown)"**: shows the text with markdown syntax visible;
  * **"Preview (markdown)"**: renders the text formatted according to markdown rules;
  * **"Split view"**: splits the screen to show both the markdown code and its rendered preview at the same time.
* **"Expand sidebar" button**: expands or collapses the right side panel.

### Right side panel — Characters

The "Characters" panel shows useful information about your instructions text:

* **character count**: 0 / 10000;
* **words**: 0;
* **paragraphs**: 0.

{% hint style="info" %}
The recommended character count is 10,000 but **no hard limit is enforced**.
{% endhint %}

### Right side panel — Prompt Template

The "Prompt Template" section lets you see some characteristics of your instructions and the enabled functions.

This section shows the functions currently active for your Agent:

* example: "ContextVariables";
* example: "PerplexitySearch".

These functions extend your Agent's capabilities and can be managed from the dedicated section.

At the bottom of the right side panel there is also a **button** that opens a menu with two options:

* **import** instructions from another Agent;
* **export** instructions from this Agent.

### Tips for effective use

* **Use auto-save:** enable the "Auto-save" toggle to avoid losing changes while editing;
* **Monitor the character count:** keep an eye on the "Characters" panel to stay within the recommended limits and optimize your Agent's performance;
* **Test your changes:** after saving the instructions, always test your Agent's behavior to verify it correctly follows the new directives.
