Skip to main content
The Orchestrate AI Builder is a powerful tool that helps you create and refine agents. It simplifies agent creation by allowing you to describe the agent you want. The AI Builder leverages its internal AI to create a new agent from scratch. The AI Builder can also help with existing agents through conversational interaction where you specify changes, or by using past conversations and feedback to automatically adjust the agentโ€™s behavior to align with expectations.
To use the AI Builder in the watsonx Orchestrate Developer Edition, add the --with-ai-builder flag to the orchestrate server start command. For more information, see Installing watsonx Orchestrate Developer Edition: watsonx Orchestrate server.

Creating agents

Use the Orchestrate AI Builder to guide the agent creation flow. Start from scratch and build the agent through natural conversation.
BASH
Command examples
Basic agent creation:
BASH
Orchestrate AI Builder interaction example The following example shows how you interact with the Orchestrate AI Builder to create an agent. In this example, you have already created and imported the string_reverser tool into your local instance.
BASH

Refining agents

Use the Orchestrate AI Builder to take an existing agent and improve its instructions with your input.
BASH
Command examples
Refine an existing agent and overwrite the input file:
BASH
Orchestrate AI Builder interaction example The following example shows how you interact with the Orchestrate AI Builder to refine an agent. In this example, you have already created and imported the string_reverser tool into your local instance.
BASH

Automatic agent refinement (autotune)

You can automatically refine an agent using feedback from chat sessions. To do this, start by creating an agent and chatting with it. You will see two icons below each agent response that allow you to provide either positive or negative feedback. ai-builder-feedback-section.png After providing feedback, run the following command to refine an agent using feedback from chat sessions:
BASH
Command examples
Autotune an agent with interactive message selection:
BASH
Orchestrate AI Builder interaction example The following example shows how you interact with the watsonx Orchestrate AI Builder to refine an agent. In this example, you have already created and imported a healthcare management agent, chatted with it, and provided feedback.
BASH