This document describes how to use the AI assistant in Agent Studio
to help you refine and generate prompts. AI assistant can speed up your prompt
writing process.

## Refine prompts

The AI assistant in Agent Studio can help you refine your prompts
based on your targeted results.

To refine prompts, do the following:

1. Open Agent Studio and click **Create prompt**:

   [Open Agent Studio](https://console.cloud.google.com/agent-platform/studio/multimodal)
2. In the prompt box, add your prompt.

3. Click **Submit**.

4. Click auto_fix
   **Refine prompt**.

5. Enter feedback about what you'd like to change about the model's response
   to your prompt, or select one or more of the following prefilled feedback
   options:

   - Make shorter
   - Maker longer
   - More professional
   - More casual
6. Click **Apply and run**.

7. Repeat the process until you're satisfied with the model's response.

## Generate prompts

Use the Agent Studio AI prompt assistant to generate your prompts.
Generating prompts can help you speed up the prompt-writing process.

To generate prompts, do the following:

1. Open Agent Studio and click **Create prompt**:

   [Open Agent Studio](https://console.cloud.google.com/agent-platform/studio/multimodal)
2. In the prompt box, click **Help me write**.

3. Enter a description of what you would like your prompt to achieve. For
   example, `Music recommendation bot`.

4. Click **Generate prompt**.

5. Click **Insert**.

6. Click **Submit**.

7. If you aren't satisfied with the model's response, delete the prompt then
   repeat the process.

## What's next

- Learn more about [prompting strategies](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/prompts/prompt-design-strategies.md.txt).
- Learn about [responsible AI best practices and Agent Platform's safety filters](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/responsible-ai.md.txt).