# Writing effective instructions for Deep Thinking

Deep Thinking instructions define what your Agent should remember or forget during conversations. Unlike standard instructions that guide behavior, these instructions manage persistent memory: what information to retain in order to improve future interactions, and what to ignore in order to protect privacy.

### Structure of memory instructions

Deep Thinking instructions should follow this structure:

```
INSTRUCTIONS FOR USING KNOWN FACTS:
1. YOU MUST REMEMBER:
 - [List of information to remember]
 
2. YOU MUST NEVER REMEMBER:
 - [List of information to ignore]
```

🔒 User privacy is always the top priority. Make sure your instructions respect and protect users' personal information.

### What to have your Agent remember

When deciding what the Agent should remember, think about information that improves the experience over time:

**User preferences**: preferred communication style, language, desired level of detail;

**Professional context**: job role, industry, ongoing projects;

**Goals and interests**: recurring topics, skills to develop, problems to solve;

**Interaction history**: decisions made, solutions adopted, feedback received;

**Contextual information**: non-sensitive company data, references to tools used.

### Tips for effective configuration

To get the most out of Deep Thinking:

* Be specific: clearly define which types of information should be remembered;
* Stay relevant: focus on data that improves the user's experience in the long run;
* Think about context: tailor the instructions to your Agent's specific purpose;
* Use examples: provide concrete examples to illustrate what to remember and what to avoid;
* Review periodically: update the instructions to make sure they stay relevant.

### Practical examples

**Sales assistant agent:**

```
YOU MUST REMEMBER:
The customer's product sector;
Discussed budget range;
Products already purchased or considered;
Communication preferences (email, phone);
Recurring objections and how they were handled.

YOU MUST NEVER REMEMBER:
Credit card numbers or payment methods;
Full shipping addresses;
Confidential company financial information;
Personal conversations unrelated to work.
```

**Training tutor agent:**

```
YOU MUST REMEMBER:
The user's skill level;
Topics already studied;
Difficulties encountered and overcome;
Preferred learning style;
Stated training goals.

YOU MUST NEVER REMEMBER:
Personal grades or assessments;
Information about other people mentioned;
Full personal identification data;
Conversations unrelated to training.

```

A good Deep Thinking configuration transforms your Agent from a generic assistant into a collaborator who truly knows you. Taking the time to carefully define what to remember and what to forget means creating increasingly personalized and relevant experiences, while keeping user security and privacy at the center of everything.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aisuru.com/en/extensions/deep-thinking/writing-effective-instructions-for-deep-thinking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
