Skip to main content

What You’ll Build

In this tutorial, you’ll:
  1. Create a simple process
  2. Run it with an AI agent
  3. Use HITL controls to oversee execution
  4. View the results
Prerequisites:
  • A Granite account (sign up)
  • At least one driver machine connected (or use a shared demo driver)

Step 1: Navigate to Processes

1

Open the Dashboard

2

Click Processes

In the left sidebar, click Processes

Step 2: Create a New Process

1

Click New Process

Click the + New Process button in the top right
2

Enter Process Details

Fill in the form:
FieldExample Value
NameOpen Calculator
DescriptionOpen the Windows Calculator app and perform a simple calculation
3

Save the Process

Click Create to save your process

Step 3: Run the Agent

1

Click Run

On your new process page, click the Run button
2

Wait for Driver Assignment

Granite will:
  1. Find an available driver machine
  2. Connect to the Windows desktop
  3. Start streaming video to your browser
3

Watch the Execution

You’ll see:
  • Live video of the Windows desktop
  • Chat panel showing each action
  • HITL controls for approving actions

Step 4: Use HITL Controls

During execution, the agent may pause for your approval:

Approve

Let the action proceed as planned

Modify

Change what the agent will do

Skip

Skip this action and continue

Cancel

Stop the entire execution

Example HITL Interaction

Agent: I'm about to click the Calculator icon on the taskbar.
       [Approve] [Modify] [Skip] [Cancel]

You: Click [Approve]

Agent: Calculator is now open. I'll type 2+2 and press Enter.
       [Approve] [Modify] [Skip] [Cancel]

You: Click [Approve]

Agent: The result is 4. Task complete!

Step 5: View Results

After execution completes:
See the outcome:
  • Status: Success, Failed, or Cancelled
  • Duration: How long it took
  • Actions: Number of steps executed

Congratulations!

You’ve just run your first Granite automation. Here’s what you learned:
  • Creating a process with a description
  • Running an AI agent to execute it
  • Using HITL controls for oversight
  • Viewing execution results

What’s Next?

Common Issues

You need at least one connected driver. Options:
  • Check if it’s waiting for HITL approval
  • The video stream shows what’s happening
  • Use Cancel if needed and try again
  • Review the error in the chat panel
  • Check screenshots for visual context
  • Try a more specific description