🤖 Coding agents are ready for RPA — bring your own agent to UiPath Studio

Claude Code, Cursor, Codex, Gemini CLI — your team is already using them. Today we’re making them work for UiPath projects too.

Why

Coding agents could already read XAML. They couldn’t build, troubleshoot, or manage a project like a UiPath developer would. No PascalCase variables, no in_/out_/io_ argument prefixes, no Try/Catch around RetryScope, hardcoded values instead of Config.xlsx. The output ran, but it didn’t ship.

We wanted to fix that without forcing you to switch agents. The goal: any coding agent can scaffold, edit, and review a UiPath automation that follows the same conventions a senior RPA developer would — with Studio still the place you visualize, debug, and govern what gets shipped.

How

The uip CLI installs the UiPath toolset into your agent. It wires up the MCP servers, drops the skill definitions in the right place, and configures the agent to talk to Studio, Orchestrator, and your local project.

​ npm install -g @uipath/cli ​
​ uip skills install ​
Pick your agent — they all work on day one.

Under the hood:

  • @uipath/cli — the npm package that installs the toolset and configures your agent
  • UiPath/skills — the public skills repo with the instructions, examples, and patterns.

Studio or Studio Web stays the visual layer — every change the agent makes is something you can open, inspect, and debug there.

Heads up:

Autopilot is getting a massive upgrade soon and will use the same skills and tools we’re shipping for third-party coding agents. Same conventions, same prompts, same patterns — whether you’re using Claude Code, Cursor, Copilot, Gemini CLI, or Autopilot.

What you can build

Five things we’ve already shipped internally — not a ceiling:

  1. Invoice intake — REFramework process, SharePoint → Document Understanding → vendor validation → Slack
  2. Migration & refactoring — convert hardcoded values to Config.xlsx, wrap external calls in Try/Catch + RetryScope, feed it a 5-year-old project, ask it to rewrite for Maestro.
  3. Selector hardening — swap brittle selectors for Unified Target with fallbacks
  4. Test generation — generate a Test Manager suite covering happy path and edge cases
  5. PR review — wire your agent into GitHub so UiPath PRs get reviewed against your conventions before a human looks

Sky’s the limit. If you can describe it, the agent can probably scaffold it.

UI Automation works too

The thing that makes RPA RPA — driving real applications through their UI — is supported on day one:

  • Build new UI automations end-to-end with the agent
  • Targets stored in the Object Repository so they’re reusable across workflows and survive UI changes
  • Strict selectors (find-one) for deterministic target creation — no fuzzy matches, no surprises at runtime
  • All major selector technologies supported: wnd, html, webctrl, aa, uia, java, sap

This is the part that’s hard for general-purpose coding agents — they don’t know what a selector is, let alone the difference between AA and UIA, or why you’d reach for the SAP scripting interface before falling back to image-based targeting. The skills bake that knowledge in.

Demo: building with UIAutomation

More than building

Building is the headline, but it’s just part of the story. Once an automation is in production, the same agent — same skills, same tools — handles the rest of the lifecycle:

Troubleshooting failed jobs

  • Pull the failed queue items from Orchestrator, read the exception traces, group them by root cause, and propose fixes
  • “Why did the invoice process fail at 3am?” → agent reads the logs, identifies the broken selector, opens a PR with the fix
  • Replay a stuck transaction in a sandbox, watch where it diverges, patch the workflow
  • Diagnose flaky test runs — is it the environment, the data, or a real regression?

Managing deployments

  • Promote a package from dev → test → prod across tenants, with governance checks at each gate
  • Bulk-update connections, assets, and queues when you migrate environments
  • Audit what’s actually running in Orchestrator vs what’s in your repo — find the drift before it bites you
  • Generate release notes from the Git diff so your CAB meeting takes 5 minutes instead of 50

Operating the estate

  • “Which processes haven’t been touched in 6 months?” → agent queries Orchestrator and gives you the deprecation candidates
  • Reconcile licenses against actual robot utilization
  • Find duplicate processes across folders — agent reads the XAML, clusters by similarity, flags the candidates for consolidation

Same agent. Same uip skills install. The conventions and tools that work for building also work for everything that comes after.

Try it

​ npm install -g @uipath/cli ​
​ uip skills install ​

Pick your agent, point it at a project, tell it what to build.

If it worked: reply in this thread with what you built, which agent, and the prompt. Best examples end up in the docs.

If it broke: use /uipath-feedback from inside your agent. It captures the intent, and what the agent tried, and routes it to the team. No screenshots, no repro steps.

This is going to be AMAZING!! :smiling_face_with_sunglasses:

It will be game changer :smiley:

Great News! Thanks a lot for that update. Hope to see it available soon in Copilot! :slight_smile:

Hi @alexandru !, I was trying to make a simple workflow for login and I have this issue with the CLI

PS E:\Test Claude> uip rpa uia object-repository link-screen  --workflow-file-path "Workflows\Login.xaml" --activity-id "NTypeInto_1" --reference-id "LoginScreen" --project-dir "E:\Test Claude"
Unable to connect to the UiPath UIAutomation. Use the "--project-dir" option to specify the project directory path.

Please let me know if you encountered this error and how you resolved it.

Hello, everyone.

Please excuse my ignorance and boldness in asking this question… but doesn’t Autopilot already do this?

I currently analyze my projects with Autopilot in Studio, and if necessary, it can rebuild and generate frameworks.

Does Autopilot do the same thing from the terminal? Am I right, or am I missing something…?

Sorry if this is a silly question! :slight_smile:

Best regards!

Hi @Sergio_Perez1 !

This looks like a path/configuration issue. That error message is a bit misleading: “Unable to connect to UIAutomation… use --project-dir” can fire even when --project-dir is set, usually because of how the path is being parsed or what the project actually contains.

A few things worth checking:

  1. Try renaming the project folder to something without spaces (e.g., E:\TestClaude) and re-running. On Windows, the embedded space in E:\Test Claude often gets re-split during argument handling and produces this exact message — it resolves it for most people who hit it.
  2. You can also cd into the project directory and drop --project-dir entirely. Your prompt (PS E:\Test Claude>) shows you’re already there.
  3. Worth confirming that E:\Test Claude is the project root — i.e., the folder where project.json lives.
  4. In project.json, check that UiPath.UIAutomation.Activities is referenced and pinned to version 26.4.1-preview — link-screendepends on that package.
  5. And check that an Object Repository exists in the project (a .objects folder with references.json); link-screen needs that to write the link into.

One thing that would help us narrow it down further: are you running this command yourself, or is the coding agent running it on your behalf? If it’s the agent, knowing what you asked it to do and the steps it took before landing on this command would tell us a lot — there’s a chance the agent ended up somewhere it shouldn’t have, and that’s something we’d rather address in the skills than have you work around.

Thank you!

This feature is amazing !

Wow This is really Amazing News :heart_eyes: Future is here

Anyone else getting hit by this?

This is on Staging tenant.

-Jeppe

Hi @andreea.oprita !, Thanks for your response!

I changed the project name, but it’s still failing. I’m running claude in the UiPath terminal. I requested to create a login on this webpage as a test Test Login Page for Automation Testing Practice.

I have the folder .objects but not the file references.json
The agent is stuck trying to capture the selectors.
Thank you!

hi, @Sergio_Perez1 !

Thanks for reaching out, we are looking into it, as a workaround please ask the coding agent to restore the project if that happens again until we have a fix.
uip rpa restore --project-dir <path>

Thank you!

Coded workflow and Test Case edited/generated by Claude Code becomes corrupt and not registered in namespace. It can also not be ran unless I create a new workflow and copy paste code manually into a new workflow. Known bug?

i seem to have the same issue :frowning:

I havent been able to resolve it, not sure if its related to our on-prem installation?

That’s a very good question.

Yes, Autopilot can already do many of these things. We are now on a path of convergence between Coding Agents and Autopilot. The advantage of Coding Agents is that they are living in Claude Code and enable you to easily add your own skills, tools and integrate the RPA development into a much wider context, which is non-UiPath but company-specific. For example, you can use Coding Agents to add an automatic code review agent to the automation deployment pipeline or automatically trigger small workflow updates when some small runtime issues emerge.

Autopilot has the advantage that it lives inside Studio, is much more visual, is far more contained, and can be governed from Automation Ops (enable/disable tools, add custom instructions) and easily switched between different LLMs.

What Studio/Robot versions does this tool need to work? Docs state that it connects to Cloud, but does it also work on OnPrem? Or without connection to Orchestrator?

Its really Cool, Can anyone have proper documentation in place for these?
And if anyone have a good PPT, please share

the bring your own agent capability is interesting from an operations automation perspective. been thinking about how this could apply to inventory and procurement workflows specifically.

we manage operations for Anwer Hardware and the manual processes around stock level monitoring, supplier order triggering, and inventory reconciliation are exactly the kind of repetitive rule based workflows that coding agents should theoretically handle well. the challenge we keep running into is that our hardware store inventory system was not built with API integration in mind which makes the agent connection layer more complex than the agent development itself.

has anyone here successfully built coding agents that interact with legacy inventory systems that lack modern API endpoints? curious whether the document understanding capabilities handle the kind of unstructured supplier invoice data that a hardware store environment typically generates.