- 开始使用
- 构建
- HTTP 请求
- 连接器节点的工作方式
- 创建连接
- 销售和客户关系
- 客户支持和服务台
- 消息传递和会议
- 电子邮件
- 营销
- 社交媒体
- 文件、文档和电子签名
- 项目、协作和代码
- 人员和招聘
- 财务和商业
- AI 模型和智能体
- 语音、视觉和语言
- 数据和位置
- 云、身份和安全性
- 部署并运行
- 示例
- 参考
设置您的编码智能体
安装 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 工作流)的说明。一个安装程序可将两者同时添加。
-
在终端中运行安装程序。
在 macOS 或 Linux 上:
curl -fsSL https://download.uipath.com/uipath-cli/install.sh | bashcurl -fsSL https://download.uipath.com/uipath-cli/install.sh | bash在 Windows 上的 PowerShell 中:
irm https://download.uipath.com/uipath-cli/install.ps1 | iexirm https://download.uipath.com/uipath-cli/install.ps1 | iex -
打开新的终端,然后运行
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.
后续步骤
- 您的第一个工作流:构建并测试完整的工作流。
- UiPath CLI :CLI 的功能及其引用所在。
- 社区:在 UiPath 论坛上与其他构建器一起提问和共享工作流。