- Introducción
- Primeros pasos con los agentes de UiPath
- Primeros pasos con los agentes de UiPath utilizando LangGraph
- Crear un agente de código bajo en Studio Web
- Añadir herramientas a tu agente de UiPath
- Getting Started with UiPath Maestro Flow
Cree, evalúe y publique un agente de LangGraph codificado utilizando la UiPath CLI y las habilidades del agente de codificación.
En este lab, instalará UiPath CLI y las habilidades del agente de codificación, y luego utilizará su agente de codificación para crear, ejecutar y evaluar un agente de LangGraph. Harás lo siguiente:
- Instala la UiPath CLI y las habilidades del agente de codificación.
- Aplique andamios a un proyecto local y cree un agente de LangGraph guiado por habilidades.
- Add a live external lookup tool to the agent.
- Ejecuta y evalúa el agente localmente.
- Conecta el proyecto a UiPath Studio Web y envía tu primera versión.
Al final, tendrás un agente de LangGraph en funcionamiento creado a través de tu agente de codificación, guiado por las habilidades de UiPath, con seguimientos de evaluación que fluyen a Studio Web.
There are three approaches to create UiPath agents. This uses the LangGraph SDK; you can also create agents using the low-code Agent Builder and using the UiPath CLI.
Tiempo estimado: 45-60 minutos
Qué estás creando
This lab walks you through building a quest intake classifier for a fictional adventurer's guild: a coded LangGraph agent that reads a quest description and sorts it into one of four difficulty tiers.
It starts as a simple, single-node classifier so the focus stays on the CLI workflow, not the domain logic. Then you give it a tool so it can check its answer against a live external API before finalizing a tier, instead of guessing from vibes alone.
Este es el diseño completo de lo que estás creando:
| Componente | Detalles |
|---|---|
Entrada: description | string; the incoming quest description |
Salida: tier | A Literal type constrained to exactly "Trivial", "Standard", "Heroic", or "Legendary", not a plain string, so the model cannot emit an out-of-vocabulary tier |
Salida: reasoning | string; the agent's explanation for the tier it chose |
Tool: get_challenge_rating | A LangGraph tool, called only when a quest names or implies a specific creature, that looks up its challenge rating from the Open5e System Reference Document (SRD) API and cites it in the reasoning |
Why add a tool at all? A driving reason to run a LangGraph agent on UiPath, instead of a low-code agent, is complex Python logic that can call out to external systems, not just classify text. The tool step in this lab demonstrates that: the agent decides at runtime whether a quest needs verification, calls a live API, and reasons over the result.
Requisitos previos
- CLI version - validated against UiPath CLI v1.201.0 (installed in Step 1). Different versions may behave differently; report drift with
uip feedback send. - Cuenta de UiPath : regístrate o inicia sesión en UiPath Automation Cloud antes de comenzar.
- Node.js 18+ : necesario para instalar UiPath CLI. Consulta con
node --version. Descárguelo desde nodejs.org si es necesario. - VS Code con un agente de codificación (Claude Code, Copilot o Cursor). Las instrucciones de laboratorio utilizan Claude Code, pero cualquier agente de codificación compatible funcionará.
- Terminal Bash : los comandos de este lab utilizan la sintaxis Bash. En VS Code, abre un nuevo terminal y selecciona Git Bash (o equivalente) como tipo de terminal. La sintaxis de PowerShell y CMD difiere y puede causar errores inesperados.
- uv : un gestor de paquetes de Python rápido. Instálalo con:
o consulta los documentos de instalación de uv para ver otras opciones.
pip install uvpip install uv - Derechos de administrador : la instalación de paquetes npm globales y dependencias de Python requiere permisos de administrador/elevados. Si utilizas un portátil de trabajo con restricciones, confirma que puedes instalar paquetes antes de comenzar, o trabaja con tu equipo de TI con antelación.
No se requiere ningún conocimiento previo de UiPath para este lab, pero lo hará ir más rápido.
Dos "agentes" en este laboratorio. "Agente codificado" es el término de UiPath para un agente de Python implementado en la plataforma; este lab crea uno utilizando el SDK de LangGraph. Las instrucciones de laboratorio también hacen referencia a tu "agente de codificación" (Claude Code, Copilot, Cursor) para ayudar a escribir el código Python.
When the instructions say "ask your coding agent," they mean your integrated development environment (IDE) assistant; when they say "run the agent" or "your LangGraph agent," they mean the UiPath agent being built.