agents
latest
false
  • Getting started
    • Overview
  • Installation
    • Installing UI Agent
    • Best practices
UiPath logo, featuring letters U and I in white
PREVIEW

UI Agent user guide

Last updated Jul 16, 2025

Best practices

We recommend one of the following two clear paths to get started, depending on your context:

Upgrading problematic automations

You can use UI Agent activities to fix the problematic steps of your current UIAutomation, such as:
  • Selectors that fail often.
  • Automations that break after UI changes.
  • Compelled to write overly complex logic for seemingly simple tasks.
You can define the actions you use through natural language prompts instead of brittle selectors, or long, custom logic. This helps simplify development, and also make your automation more resilient over time.

Building an automation from scratch with granularity

If you start a UIAutomation from scratch, you can build it entirely using UI Agent with granularity.

Each UI Agent activity must correspond to a small, well-scoped step in your process, ideally two or three steps that naturally belong together.

This granular approach has the following benefits:

  • Maximizes accuracy.
  • Keeps the agent focused.
  • Avoids overloading the model with too much context.

Depending on the complexity of each step, you can choose the appropriate AI model, balancing cost-efficiency and capability.

UI Agent is designed to excel at specific, high-friction points, also known as Controlled agency scenarios, representing small, critical areas of automation where traditional tools are most fragile. Rather than replacing entire workflows, UI Agent brings agentic execution to the parts that need it most.

UI Agent can help fix some of the following traditional UIAutomation issues, delivering improved resilience, smarter handling of complex interactions, and reduced maintenance and supported effort:

  • Brittle selectors that break easily.
  • Complex UI structures and dynamic elements.
  • Hard-to-reach UI elements such as popups, virtualized lists, embedded tables, or custom controls.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2025 UiPath. All rights reserved.