UiPath Documentation
maestro-automate
latest
false
Maestro Automate 用户指南

设置您的编码智能体

安装 UiPath CLI 和技能,登录,并检查您的编码智能体是否可以构建 Maestro Automate 工作流。

编码智能体(例如 Claude Code、Codex、Cursor 或 GitHub Copilot)可以根据描述构建 Maestro Automate 工作流:您只需指定工作流应执行的操作,然后智能体即可编写这些描述。然后,您会在流画布上看到结果,进行测试并进行更改。此页面通过三个步骤让您的编码智能体准备就绪。

开始之前​

  • 安装在您计算机上的编码智能体。Coding Agents 指南列出了受支持的编码智能体。
  • UiPath 帐户。“注册”介绍了如何创建注册。
  • 具有您计算机的管理员权限,以便安装程序可以添加 CLI 所需的内容。

1. 安装 UiPath CLI 和技能​

UiPath CLI 是一个命令行工具,可让您的编码智能体与 UiPath 一起使用。技能是指导智能体如何构建各种 UiPath 项目(包括 Maestro Automate 工作流)的说明。一个安装程序可将两者同时添加。

  1. 在终端中运行安装程序。

    在 macOS 或 Linux 上:

    curl -fsSL https://download.uipath.com/uipath-cli/install.sh | bash
    curl -fsSL https://download.uipath.com/uipath-cli/install.sh | bash
    

    在 Windows 上的 PowerShell 中:

    irm https://download.uipath.com/uipath-cli/install.ps1 | iex
    irm https://download.uipath.com/uipath-cli/install.ps1 | iex
    
  2. 打开新的终端,然后运行uip --help 。

结果: CLI 列出其命令。安装程序还会添加 Node.js、.NET SDK 和 Python(如果缺少),并且您可以安全地再次运行它。Coding Agents 指南描述了安装程序的功能,以及如何跳过部分操作。

2. 登录​

从终端登录您的 UiPath 帐户,以便智能体为您创建和运行工作流。

uip login
uip login

系统将打开浏览器。使用您的 UiPath 帐户登录。

结果: CLI 已登录到您的帐户。

3. 检查其是否正常​

Open your coding agent and ask: "What UiPath skills do you have installed?" The answer should list the UiPath skills, including the one for flows in Maestro.

试试吧​

向您的智能体描述一个工作流,并要求它以 Maestro Automate 的身份构建,例如:

Build a Maestro Automate workflow that starts manually with a productId, gets the product from https://dummyjson.com/products/{productId}, and asks an AI agent whether the product is in stock. If it is, return "accepted". Otherwise, return "rejected".
Build a Maestro Automate workflow that starts manually with a productId, gets the product from https://dummyjson.com/products/{productId}, and asks an AI agent whether the product is in stock. If it is, return "accepted". Otherwise, return "rejected".

The agent creates the workflow file. Open it on the Flow canvas to see what it built, then test it in debug mode. Flows in Maestro in the Coding Agents guide has more prompts to try.

后续步骤​

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新