View a markdown version of this page

Configuring Workflow Builder - Generative AI Application Builder on AWS

Configuring Workflow Builder

Workflow Builder enables multi-agent orchestration through a supervisor agent that delegates work to specialized Agent Builder agents.

Creating a workflow

  1. Navigate to the Deployment Dashboard

  2. Select Create Workflow Use Case

  3. Configure the supervisor agent:

    • Name: Descriptive name for the workflow

    • Description: Purpose and capabilities

    • System Prompt: Instructions for agent delegation and coordination

    • Model: Foundation model for the supervisor agent

Best practices for supervisor prompts:

  • Clearly describe when to use each specialized agent

  • Include instructions for aggregating results from multiple agents

  • Define response formatting expectations

  • Set boundaries for delegation behavior

Agent selection

Select Agent Builder agents to include as specialized agents:

  1. Click Add Agent in the workflow configuration

  2. Browse or search available Agent Builder agents

  3. Review agent descriptions

  4. Select agents to include in the workflow

Agent descriptions

The supervisor agent uses agent descriptions to decide which agent to delegate to. Ensure descriptions clearly explain:

  • Agent’s specialized domain or capability

  • Types of tasks the agent handles

  • Input/output expectations

Testing workflows

After deployment:

  1. Access the workflow through the Deployment Dashboard

  2. Test with queries that require multiple agents

  3. Monitor agent delegation in CloudWatch logs

  4. Review response quality and delegation patterns

  5. Adjust supervisor prompt if delegation is suboptimal