Create and Configure AI Agents
Agents are one of the building blocks in AI Agent Studio that can create action plans and interact with users. You can add agents to your workflows for improved efficiency.
Here are the steps to create an agent.
- Go to AI Agent Studio and open the
Resources
tab. - From the Agents subtab, select Add.
- On the Agent Settings panel, configure the agent using these tabs.
- Details
- Enter a name for the agent. The code is automatically populated based on the name.
- Select the family to which this agent belongs.
- Select the product within the family to which this agent belongs.
- Enter a description for the agent. You can also generate a description by selecting Generate and then Go.
- In the Maximum Interactions field, indicate the number of times the agent can interact with the topics and tools assigned to it.
- Prompts
- In the Agent Role specify how the agent must behave when responding.
- In Prompt enter the main prompt to guide the agent.
- Select the Summarization Mode.
- Default: The summary specified in Summarization Prompt is used for summarizing the agent's response.
- Custom: Enables you to specify custom summarization instructions in Summarization Prompt.
- Disabled: Indicates that summarization isn't used for the agent.
- LLM: Choose to use the default model or select a model. When using a custom model, specify the model properties.
- Input Variables
- Select Add to pass inputs to the agent.
- Specify the name of the variable and its type.
- Enter a description for the variable.
- Specify the value of the variable.
- Select Apply to save the variable.
- Output: Define the overall structure of the agent’s output.
- Details
- From the Available Tools panel, add the required tools.
- From the Available Topics panel, add the required topics.
- Select Create to save the agent.
Your agent is now available for selection when creating workflows for the family and product the agent belongs to.