Creating a workflow

Learn about creating a workflow in Agent Studios.

Ensure to register a LLM model

Creating a workflow without a Manager Agent

  1. Click the Create button in the Agentic Workflows window.
  2. Provide a Workflow Name and click the Create Workflow button.
  3. A draft workflow is created and a workflow wizard pops up with the following options:
    • Is Conversational – Makes a workflow conversational or non- conversational.
    • Smart Workflow – Enables the Smart Workflow feature. It is enabled by default.
    • Manager Agent – Allows for adding a manager agent.
    • Planning – Enables the Planning feature. Can only be enabled by also enabling the Manager Agent feature.
  4. Click the Create or Edit Agents button, and a modal window pops up.
  5. To initiate the Agent creation process, you can choose one of the following methods:
    • Manually entering the necessary details
    • Using the Cloudera Generate with AI feature. Within the dedicated AI input box, provide a clear and concise description of the intended Agent function and scope, then click the Apply the Suggestions option.
  6. This AI feature automatically analyzes your description and populates the following metadata fields:
    • Name: The identifier for the Agent.
    • Role: The primary job or function of the Agent.
    • Backstory: The context or history of the Agent.
    • Goal: The objective or purpose of the Agent.

Integrating Tools for Artifact Generation:

To design an effective Agent, you must enable interaction and the creation of concrete, shareable results that are artifacts. Cloudera recommends integrating specific tools that allow the agent to create Artifact Files.

Recommended Artifact Tools

Clicking the Artifact Files toggle integrates the following necessary tools into your Agent configuration:
Tool name Primary function
Artifact Files Read/Write Tool Enables the Agent to ingest, process, and persist various file types as workflow output.
Code Execution Tool Allows the Agent to run embedded or generated code snippets, to produce data transformations, statistical analysis, or complex computational results.

This integration enables the Agent to follow instructions and to generate and share its own artifacts and output during the entire workflow execution lifecycle.

The Add Tools section of the Agent configuration interface lists the integrated tools. You can further create or edit the tools. Click the Save and Next button to complete creating the workflow.

The following flow diagram shows the constructed Agent:

  • It comprises a Conversational Task.
  • The Conversational Task is assigned to the "Task Management Specialist" agent.
  • The workflow incorporates the two added tools.

Creating a workflow with a Manager Agent

Select the Manager Agent and the Planning toggles in the Workflow wizard to create a workflow with the Manager Agent and Planning features.