Running the AI agent as a task from the UI
You can run the AI agent that is configured either in your local environment or in an external environment as a task from the UI. The AI agents configured with either the basic agent type or Agentic AI builder can be run as a task. After the run is completed, you an view the results in the task log.
Before you begin
- Created and saved the AI agent definition. For more information, see Managing an AI agent using the UI or Managing an AI agent using Orchestration CLI.
- Obtained Use access on the agent.
About this task
An AI agent is a framework that utilizes an AI model (LLM) to interact with a context to obtain a user-defined objective. After you create an AI agent, you can run it as task to get the required results.
Procedure
- Log in to the UI using valid user credentials.
- Select the Design tab from the home page.
- In the Graphical Designer page, select the Assets tab.
- Click the Plus icon.
- From the drop-down menu, select Task template.
- Click the AI agent from the Add new task template dialog.
-
Select either Run UnO AI Agent or Run Remote
UnO AI Agent, and then click Next.
Note: If the AI agent is configured in your local machine, then select Run UnO AI Agent, or else Run Remote UnO AI Agent.
The Add new task template dialog opens. Enter valid details for the mandatory fields. If required, you can also specify the optional fields.
Table 1. Mandatory fields Option Description General information Folder Specify a folder to save the task definition. The default value is the root folder (/). The name must start with a letter, and can contain alphanumeric characters, dashes, and underscores. The name of the folder cannot contain spaces. Name Specify a name for the task. The name must start with a letter, and can contain alphanumeric characters, dashes, and underscores. The name cannot contain spaces.
Workstation You can specify the name of the workstation and also the name of the folder in which the workstation is defined, if any. The name must start with a letter, and can contain alphanumeric characters, dashes, and underscores. The name cannot contain spaces. Action Agent Reference Select the AI agent that you want to run, from the drop-down list. Prompt Enter the query or the information that you want to obtain by running the agent. You can add your query in free-form text. Table 2. Optional field Option Description General information Description You can add a description for the task. Ensure the Edit button is selected to add text in the field. Note: If required, you can add recovery option, affinity, or output conditions to the task. - Click Add.