- Getting started
- UiPath Agents in Studio Web
- UiPath Agents in Agent Builder
- Building an agent in Agent Builder
- Prompts and arguments
- Tools
- Contexts
- Escalations and Agent Memory
- Evaluations
- Traces
- Migrating agents to Studio Web
- UiPath Coded agents

Agents user guide
This section describes how to design an agent in Agent Builder.
For creating new agents, refer to Building an agent in Studio Web.
- In UiPath® Automation CloudTM, select Agents from the left-hand navigation bar. The Agents workspace is displayed.
- From the list of Preview Agents, select an agent to open the Agent Builder.
- The Agents workspace includes three
tabs: Design, Evaluations, and Traces.
- Use the Design tab to design and define the core elements of your agent. Once you define the input/output arguments, you can use this space to preview your agent runs.
- Use the Evaluations tab to create evaluations and store results. Evaluations objectively measure your agent's output and assess whether or not it is consistent with your objectives.
- Use the Traces tab to log and represent all design and evaluation time traces for this agent. This is where you can see all the agent runs and the details of the run.
- Select the large language model you
want to use with your agent. Models are provisioned through UiPath AI Trust Layer.
- To configure model settings,
select the settings icon next to the Model field. Here you can
configure the Temperature and Max. tokens per response fields.
- The Temperature determines the creativity factor of the LLM generation. You can set a value between 0 (Precise) and 2 (Creative).
- Max. tokens per response refers to the maximum number of tokens to generate with the agent's response.
- To configure model settings,
select the settings icon next to the Model field. Here you can
configure the Temperature and Max. tokens per response fields.
- In the General tab, edit the
agent name and description.
The name and description of the agent must offer details regarding the purpose of the agent in simple language. The description is used to help identify the agent in Studio.
- In the Prompt tab, add a well-structured system prompt and a user prompt to give your agent instructions for what it should do, and constraints it should follow.
- Select Arguments to access the Arguments window, where you can configure the input and output arguments used in your prompt.
- In the Tools tab, add any
tools your agent can use during execution. These can be a set of Integration Service
activities, published processes to which you have access, or other agents.
Each tool must have a detailed description that helps inform the agent how and when to use this tool.
- Use the Contexts tab to add
any necessary context.
Context Grounding indexes give an agent access to permissioned knowledge bases. This helps ground agent actions or answers in your business data.
- Use the Escalations tab to
add a human in the loop and enable Agent Memory.
Adding an escalation allows your agent to involve a human to review, approve, or update output as it is running.
- In the Playground window,
provide input for a test run and select Run.
You must test your agent to ensure it's operating as expected.
- Next, go to the Evaluations
tab to review and measure your agent.
An evaluation is a pair between an input and an assertion made on the output, and can be used to grade your agent during an end-to-end run.
- After you run the evaluations, use the Traces tab to review all the trace logs for your agent.
- Once you have tested, evaluated, and
refined your agent, select Publish to publish it to Orchestrator as a
process.
- Select where to publish:
- Orchestrator Personal Workspace Feed - The process is published to your personal workspace and will only be available to you. This is the default selection.
- Orchestrator Tenant Processes Feed- The process is published to the global tenant feed and will be available to all users assigned to folders that use the tenant feed.
- Select a version. A version is generated automatically starting with 1.0.0 when you first publish, and then incremented automatically every time you republish.
Important: This step is necessary for the agent to be available in the Run Job activity.Select Export to view and package the agent definition as a JSON. You can then use this JSON extract to import the agent in a different organization.
- Select where to publish:
- Finally, insert your agent into an automation using the Run Job activity in Studio. For details, refer to Running the agent.
Using agents as activities means you can incorporate them into workflows to handle parts of larger deterministic processes, have multiple agents act in series, and start agent execution based on triggers.
To incorporate your agent into a workflow, follow these steps:
- Publish your agent to Orchestrator.
- In Studio, use the Run Job activity to integrate your agent into a workflow.
-
Whenever you make changes to your agent, republish the updated agent to Orchestrator and upgrade the corresponding process in Orchestrator.
The Run Job activity always executes the version of the agent currently configured in Orchestrator. This ensures that your workflow consistently uses the most up-to-date version of your agent.
Refer to the System activities guide to learn how to configure and use the Run Job activity in your Studio workflows.