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

# Automatic Prompt Generation for Simple Agent

> Learn how to automatically generate prompts for simple agents to streamline your workflow and improve agent performance

<Note>
  **What you'll learn:**

  * When to use automatic prompt generation
  * How to automatically generate prompts for simple agents
  * How to customize and optimize generated prompts
  * Best practices for implementing automatic prompt generation
</Note>

<Frame>
  <img height="282" width="833" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/prompt_generation/pg_1.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=2bef7fef8958402d8c5926cfa94e3385" data-path="images/prompt_generation/pg_1.png" />
</Frame>

## When to use automatic prompt generation

Automatic prompt generation is valuable in these scenarios:

* **Limited prompt engineering experience**
  * Helps users without technical expertise create effective agents
  * Removes barriers to entry for non-technical users
  * Enables anyone to create functional agents regardless of skill level

* **Standardized workflows**
  * Ensures consistency across multiple similar agents
  * Maintains quality and predictability in responses
  * Particularly beneficial in business and team environments

* **Time-saving and complexity reduction**
  * Provides ready-to-use templates following best practices
  * Eliminates need to understand prompt engineering nuances
  * Enables quick updates and iterations to agent capabilities

* **Rapid prototyping and testing**
  * Facilitates quick creation and modification during experimentation
  * Speeds up testing of new features and capabilities
  * Reduces time investment during development phases

* **Easier agent maintenance**
  * Simplifies updating agents as needs evolve
  * Makes maintenance more efficient with parameter adjustments
  * Reduces errors compared to manually edited prompts

## Creating a New Prompt

* Click the **Generate** button from the right side of the prompt editor
  <Frame>
    <img height="282" width="833" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/prompt_generation/pg_1.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=2bef7fef8958402d8c5926cfa94e3385" data-path="images/prompt_generation/pg_1.png" />
  </Frame>
* Write a description of the prompt you want to generate
  <Frame>
    <img height="282" width="833" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/prompt_generation/pg_2.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=837018b89b12d1a11a9864f179dfdeb1" data-path="images/prompt_generation/pg_2.png" />
  </Frame>
* Click the **Create** button
  <Frame>
    <img height="282" width="833" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/prompt_generation/pg_3.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=f724663a0c7790316a91e4b0b1d97c52" data-path="images/prompt_generation/pg_3.png" />
  </Frame>

It will take a few seconds to generate the prompt and display it on the prompt editor.

## Update an Existing Prompt

* Click the **Generate** button from the right side of the prompt editor
* Write instructions about what you want to update in the prompt
  <Frame>
    <img height="282" width="833" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/prompt_generation/pg_4.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=2bbaad496adf56bf5356f73bb689e14e" data-path="images/prompt_generation/pg_4.png" />
  </Frame>
* Click the **Update** button.
  <Frame>
    <img height="282" width="833" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/prompt_generation/pg_5.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=674bc92a7961d66a56f913299c0d7fcd" data-path="images/prompt_generation/pg_5.png" />
  </Frame>

It will take a few seconds to update the prompt and display it on the prompt editor.

## Best Practices

<CardGroup cols={2}>
  <Card title="Be Specific" icon="bullseye">
    When describing what you want to generate, be as specific as possible about the agent's purpose and capabilities.
  </Card>

  <Card title="Include Examples" icon="list-check">
    Provide examples of expected interactions to help the generator create more accurate prompts.
  </Card>

  <Card title="Iterative Approach" icon="arrows-rotate">
    Use the update feature to refine your prompt gradually rather than trying to get it perfect in one go.
  </Card>

  <Card title="Focus on Outcomes" icon="flag-checkered">
    Describe the desired outcomes and results rather than just the features you want.
  </Card>

  <Card title="Review & Test" icon="magnifying-glass">
    Always review and test the generated prompt with sample queries before deploying.
  </Card>
</CardGroup>
