- Overview
- Getting Started with UiPath Agents
- Getting Started with UiPath Agents using LangGraph
- Building a Low-Code Agent in Studio Web
- Introduction
- Build the agent
- Test the agent
- Adding Tools to Your UiPath Agent
Use Autopilot to generate the agent configuration, then review and refine the system prompt, inputs, and outputs.
Step 1 - Open Studio Web
Log in to UiPath Automation Cloud and open Studio Web from the left navigation. You land on your Cloud Workspace, which shows your existing solutions and a Create New button.
- Select Create New.
- Select the Agent project type from the available options.
Step 2 - Generate the agent with Autopilot
Studio Web's Autopilot can configure an agent from a plain-language description. You describe what you want, and Autopilot proposes the system prompt, input schema, and output schema.
-
Select Autonomous as the agent type.
-
In the What should your agent do? field, paste the following brief description:
Build a Quest Advisor for a fantasy RPG Adventurer's Guild. Given a quest description (questDescription - string), classify the quest difficulty tier (tier - number) using four tiers from local village threats up to cosmic and planar threats, suggest up to five monsters likely to be encountered (monsters - string array), and include a brief reasoning for the classification (reasoning - string).
Build a Quest Advisor for a fantasy RPG Adventurer's Guild. Given a quest description (questDescription - string), classify the quest difficulty tier (tier - number) using four tiers from local village threats up to cosmic and planar threats, suggest up to five monsters likely to be encountered (monsters - string array), and include a brief reasoning for the classification (reasoning - string).
-
Select Generate Agent, then review Autopilot's suggestions and accept them to create the agent.
Autopilot is non-deterministic. Your generated configuration may differ from the screenshots - that is expected. What matters is that the agent canvas loads. If the canvas shows an error or fails to load, refresh the page and repeat this step.
Step 3 - Review the agent canvas
Autopilot analyzes the prompt you gave it and walks you through building and configuring it. Use the Autopilot window to review the suggestions and agree on the final agent design.
Once the agent is created, the Agent Canvas opens. Select the agent node to open its Properties panel on the right side of the screen. You can also open properties using the wrench icon in the upper-right corner of the canvas.
Confirm that Autopilot configured the following correctly:
- Input -
questDescription(string) is listed - Outputs -
tier(number),monsters(array), andreasoning(string) are listed - System prompt - references tier classification and monster selection
Refine the system prompt (optional)
Autopilot generates a working system prompt from your brief description, but it may not include precise tier boundaries. If you want consistent, well-defined tier classifications, replace the system prompt in the Properties panel with the following:
You are an RPG game master helping to select the difficulty tier for a quest, as well as monsters that are most likely to be encountered on the quest.
Given a quest description, return three things:
- tier: the difficulty tier that best describes the quest (a number: 1, 2, 3, or 4)
- monsters: a list of up to five monsters likely to be encountered by adventurers on that quest
- reasoning: a brief, two-sentence explanation of why you chose this tier and these monsters
Quest Tiers:
Tier 1: Local Heroes (Levels 1-4) - scope: local villages, small dungeons. Threats: goblins, bandits, wolves, low-level cultists.
Tier 2: Heroes of the Realm (Levels 5-10) - scope: entire kingdoms, major cities. Threats: orc hordes, young dragons, giants, powerful mages.
Tier 3: Masters of the Realm (Levels 11-16) - scope: whole continents, other planes of existence. Threats: adult dragons, liches, demons, powerful spellcasters.
Tier 4: Masters of the World (Levels 17-20) - scope: entire multiverse, cosmic planes. Threats: ancient dragons, demon lords, archdevils, god-like entities.
You are an RPG game master helping to select the difficulty tier for a quest, as well as monsters that are most likely to be encountered on the quest.
Given a quest description, return three things:
- tier: the difficulty tier that best describes the quest (a number: 1, 2, 3, or 4)
- monsters: a list of up to five monsters likely to be encountered by adventurers on that quest
- reasoning: a brief, two-sentence explanation of why you chose this tier and these monsters
Quest Tiers:
Tier 1: Local Heroes (Levels 1-4) - scope: local villages, small dungeons. Threats: goblins, bandits, wolves, low-level cultists.
Tier 2: Heroes of the Realm (Levels 5-10) - scope: entire kingdoms, major cities. Threats: orc hordes, young dragons, giants, powerful mages.
Tier 3: Masters of the Realm (Levels 11-16) - scope: whole continents, other planes of existence. Threats: adult dragons, liches, demons, powerful spellcasters.
Tier 4: Masters of the World (Levels 17-20) - scope: entire multiverse, cosmic planes. Threats: ancient dragons, demon lords, archdevils, god-like entities.
With the agent configured, you are ready to test it against real quest descriptions in the next section.