UiPath Documentation
getting-started
latest
false
入门开发者指南
  • 简介
    • 概述
    • Environment set up
  • UiPath 智能体入门
  • 开始使用 UiPath 智能体(采用 LangGraph)
    • 简介
    • 设置您的环境
    • 构建智能体
    • Add a tool
    • 评估智能体
    • 连接到 Studio Web
  • 在 Studio Web 中构建低代码智能体
  • 向 UiPath 智能体添加工具
  • Getting Started with UiPath Maestro Flow
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

设置您的环境

安装 UiPath CLI 和编码智能体技能,然后使用 uip codedagent new 构建 LangGraph 智能体项目。

步骤 1 - 安装 UiPath CLI 和编码智能体工具​

UiPath CLI ( uip ) 是一个跨平台命令行工具,用于 UiPath 身份验证、技能和项目工具。它使用模块化工具系统:基本 CLI 处理身份验证和技能,并且您可以为构建的工作流类型安装其他工具。

  1. 使用 npm 在全局安装基本 CLI:

    npm install -g @uipath/cli
    npm install -g @uipath/cli
    
  2. 验证安装:

    uip --version
    uip --version
    

    您应该会看到类似1.201.0的版本号。

  3. 安装编码智能体工具:这将添加在整个实验室中使用的uip codedagent命令组:

    uip tools install @uipath/codedagent-tool
    uip tools install @uipath/codedagent-tool
    
  4. 验证该工具是否安装:

    uip tools list
    uip tools list
    

    您应该在输出中看到codedagent-tool 。


步骤 2 - 为您的编码智能体安装 UiPath 技能​

技能会指导您的编码智能体如何构建 UiPath 自动化、智能体和工作流。它们是安装到编码智能体配置中的参考文件,涵盖项目框架、LLM 集成模式、评估框架和部署。如果没有技能,您的编码智能体都需要针对每个 UiPath 专属模式的详细提示。有了技能,它就已经了解这些技能。

为您的编码智能体安装技能:

uip skills install --agent claude
uip skills install --agent claude

如果您使用的是其他编码智能体,请将claude替换为您的智能体: cursor 、 copilot 、 gemini或codex 。

The command reports success along with the number of skills installed (26 as of this writing). The exact list grows with each CLI release, so do not worry if yours differs.

For Claude Code specifically, skills are registered through a Claude Code plugin marketplace in addition to being copied to your home directory (for example, ~/.claude/skills/). They are available in every project from this point forward. If a re-install looks stale or skills don't show up in your coding agent, re-run the install with --force, which resets the Claude Code marketplace registration and plugin cache.


步骤 3 - 向 UiPath 进行身份验证​

  1. 对您的 UiPath 帐户的 CLI 进行身份验证:

    uip login
    uip login
    

    系统将打开一个浏览器窗口,您可以在其中登录到 UiPath 帐户并选择您的租户(如果有多个租户)。完成后,终端确认您已登录。

  2. 验证您的登录状态:

    uip login status
    uip login status
    

    您应该会看到"Status": "Logged in"以及组织名称和租户名称。

备注:

一个身份验证,一个 CLI。单个uip login已涵盖此实验室中的所有内容:智能体运行、评估以及通过同一个凭据存储发布所有流程。无需单独的 Python SDK 身份验证步骤。


安装 CLI、技能就位且您的帐户通过身份验证后,您就可以在下一部分中构建本地项目了。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新