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

# Magic Prompt Refiner

> Learn how to use our Magic Prompt Refiner to automatically improve your prompts and create high-quality AI agents.

The Magic Prompt Refiner is a powerful tool designed to turn a simple idea into a detailed, high-quality prompt. If you're not sure how to write an effective prompt, this feature will guide you through the process, ensuring your agent behaves exactly as you intend.

### 1. Write Your Initial Prompt

Open your agent, select the **Conversation** tab, choose **Custom Prompt**, and write a basic instruction in the system prompt editor. Don't worry about getting it perfect; just describe the agent's main goal with any additional details you can think of. Once you're ready, click the **Refine** button.

<Frame>
  <img src="https://mintcdn.com/heffronai/KV6HO4h8tpBJL03E/images/prompt-refiner/step-1.png?fit=max&auto=format&n=KV6HO4h8tpBJL03E&q=85&s=762021bcd9b5e97dd24c9e436b4d7e45" style={{ borderRadius: '0.5rem' }} width="1558" height="542" data-path="images/prompt-refiner/step-1.png" />
</Frame>

### 2. Add Key Details

Our AI will analyze your prompt and ask for specific information to improve it.

<Frame>
  <img src="https://mintcdn.com/heffronai/KV6HO4h8tpBJL03E/images/prompt-refiner/ai-analysis.png?fit=max&auto=format&n=KV6HO4h8tpBJL03E&q=85&s=15dd7a935af89220841daa3845f13c5b" style={{ borderRadius: '0.5rem' }} width="870" height="856" data-path="images/prompt-refiner/ai-analysis.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/heffronai/KV6HO4h8tpBJL03E/images/prompt-refiner/step-2-blank.png?fit=max&auto=format&n=KV6HO4h8tpBJL03E&q=85&s=a7163d4bb07a32fa7ac3974848c9f9f0" style={{ borderRadius: '0.5rem' }} width="1004" height="1356" data-path="images/prompt-refiner/step-2-blank.png" />
</Frame>

Fill in the fields with the requested details. The more specific you are, the better the final prompt will be. When you're finished, click **Submit & Refine**.

<Frame>
  <img src="https://mintcdn.com/heffronai/KV6HO4h8tpBJL03E/images/prompt-refiner/step-2-filled.png?fit=max&auto=format&n=KV6HO4h8tpBJL03E&q=85&s=74423d755c5b3c1f92c771c6eb9ce2f8" style={{ borderRadius: '0.5rem' }} width="1006" height="1352" data-path="images/prompt-refiner/step-2-filled.png" />
</Frame>

### 3. Review and Accept the Refined Prompt

The Magic Refiner will generate a new, professionally structured prompt that incorporates best practices based on your input.

You can easily review all the changes. New additions are highlighted in green.

<Frame>
  <img src="https://mintcdn.com/heffronai/KV6HO4h8tpBJL03E/images/prompt-refiner/step-3.png?fit=max&auto=format&n=KV6HO4h8tpBJL03E&q=85&s=6566401cd77e1d90743cbf033ff372ae" style={{ borderRadius: '0.5rem' }} width="1768" height="1372" data-path="images/prompt-refiner/step-3.png" />
</Frame>

If you're happy with the result, click **Accept Changes** to save the new prompt. You can also choose to **Discard** and start over.
