- Información general
- Comience ya
- Conceptos
- Uso de UiPath CLI
- Guías prácticas
- Recetas de CI/CD
- Referencia de los comandos
- Información general
- Códigos de salida
- Opciones globales
- agente de código UIP
- uip coder
- uip context-grounding
- UIP Docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- añadir-entidad-de-datos-de-prueba
- añadir-cola-de-datos-de-prueba
- añadir-variación-de-datos-de-prueba
- Analizar
- Crear
- Crear proyecto
- Diferencia
- Buscar actividades
- obtener-reglas-del-analizador
- obtener-predeterminado-actividad-xaml
- obtener-errores
- obtener-casos-de-prueba-manual
- obtener-pasos-de-prueba-manual
- get-library-object-repository
- get-object-repository
- obtener versiones
- get-workflow-example
- indicar-aplicación
- indicar-elemento
- inspeccionar-paquete
- install-data-fabric-entities
- instalar-o-actualizar-paquetes
- enumerar-data-fabric-entities
- list-instances
- ejemplos-de-flujo-de-trabajo-de-lista
- Paquete
- Publicar
- remote
- restore
- run, debug & execution
- archivo de ejecución
- plantillas-de-búsqueda
- iniciar-studio
- detener la ejecución
- tm
- UIA
- uip tasks
- Seguimientos de UIP
- uip traces feedback
- Migración
- Referencia y soporte
Scaffold, validate, refresh, review, and manage low-code agents using the `uip agent` tool.
uip agent is the Agent tool: it scaffolds, validates, migrates, and reviews low-code agents — the agent.json-driven projects authored in Agent Builder / Studio Web. Install it with uip tools install agent, or invoke uip agent … and let auto-install run. See Tools (plugins) for the install model and uip tools for the command that manages tool installation.
This tool is distinct from the coded agent tool (uip codedagent), which targets Python agents built with LangGraph / LlamaIndex / OpenAI Agents. uip agent only operates on low-code agent projects: a directory containing agent.json, entry-points.json, project.uiproj, an evals/ tree, and features/ / resources/ folders — or, for an agent embedded in a Maestro Flow, a UUID-named subdirectory inside the flow project (--inline-in-flow).
uip agent has no pack, publish, deploy, push, pull, run, list, share, file, config, context, escalation, input, or output command — packaging and shipping an agent project goes through uip solution instead (the agent project is one project inside a solution). Resource authoring (tools, contexts, escalations, I/O schema) is done by hand-editing agent.json, not through a dedicated CLI verb.
Qué es un agente de UiPath
Un agente de código bajo se describe de forma declarativa mediante un único archivo agent.json : modelo, solicitudes, esquemas de entrada/salida, herramientas, contextos, escaladas y configuración. Los archivos compatibles describen los puntos de entrada que Studio Web utiliza para invocar el agente, el conjunto de evaluación predeterminado y cualquier recurso RAG/HITL.
The real lifecycle covered by uip agent is:
- Scaffold a project on disk with
uip agent init(standalone, or--inline-in-flowinside a Maestro Flow project). By default the project auto-registers into a surrounding solution's.uipx, or a new<Name>Solutionis scaffolded automatically when none exists. - Author by hand-editing
agent.json(and the files underresources/,evals/). - Refresh the project (
uip agent refresh) after every edit — applies pending schema migrations and regeneratesentry-points.json/bindings_v2.json. This is the only command that writes derived files. - Validate the project (
uip agent validate) — strict, read-only: answers "would Studio Web accept this directory as-is?" without writing anything. - Review the project against a deterministic rule set (
uip agent review) for a scored quality verdict, and optionally record the grade over time (uip agent review-history add). - Configure LLM models (
uip agent model list), memory spaces (uip agent memory), guardrails (uip agent guardrails), and tools (uip agent tool list) as needed. - Debug the agent against Studio Web (
uip agent debug) to run it end-to-end with sample inputs before shipping. - Ship with
uip solution pack/publish/upload/deploy—uip agenthas no packaging or deployment verb of its own. - Evaluate the agent against an evaluation set (
uip agent eval run start) — works against a cloud-pushed solution (--solution-id, or auto-detected fromSolutionStorage.json) or, when neither is available, an implicit local-workspace evaluation path.
Verbos
| Comando | Propósito |
|---|---|
| Init | Andamiar un nuevo proyecto de agente en el disco (independiente o en línea dentro de un proyecto de flujo). |
| Validar | Strict read-only check: would Studio Web accept this project as-is? |
| refresh | Apply pending schema migrations and regenerate entry-points.json / bindings_v2.json. |
| review | Score the project against a deterministic rule set (verdict, score, grade, issues). |
| review-history | Record a review grade in the project's local review-history file. |
| tool list | List the tool resources configured on the agent. |
| memory | Attach, list, and remove memory spaces and memory items. |
| Evaluación | Gestiona evaluadores, conjuntos de evaluación, casos de prueba y ejecuciones de evaluación. |
| guardrails | List guardrail definitions, BYOG guardrails, LLM-as-judge models, and the guardrail catalog. |
| model | List LLM models available for the authenticated tenant. |
| Depurar | Run the agent against Studio Web with sample inputs and stream the result. |
Sinopsis
uip agent <verb> [subverb] [arguments] [options]
uip agent <verb> [subverb] [arguments] [options]
Siempre uip agent, nunca uip agents o uip a. agent es el commandPrefix de la herramienta (ver uip tools list).
Todos los verbos uip agent respetan las cuatro opciones globales (--output, --output-filter, --log-level, --log-file). Los códigos de salida siguen el contrato compartido.
Flujo de extremo a extremo
# 1. Scaffold (auto-registers into the surrounding solution, or creates one)
uip agent init ./my-agent --model gpt-5.4
# 2. Refresh after any edit to agent.json (migrates + regenerates derived files)
uip agent refresh ./my-agent
# 3. Validate the project is ready for upload (strict, read-only)
uip agent validate ./my-agent
# 4. Review for quality issues before shipping
uip agent review ./my-agent
# 5. Ship via the solution the project was registered into
uip solution pack . ./dist
uip solution upload .
# 6. Evaluate (against the cloud project once pushed, or the local workspace)
uip agent eval run start --set default --path ./my-agent --wait
# 7. Debug a specific run against Studio Web
uip agent debug ./my-agent -i '{"input":"hello"}'
# 1. Scaffold (auto-registers into the surrounding solution, or creates one)
uip agent init ./my-agent --model gpt-5.4
# 2. Refresh after any edit to agent.json (migrates + regenerates derived files)
uip agent refresh ./my-agent
# 3. Validate the project is ready for upload (strict, read-only)
uip agent validate ./my-agent
# 4. Review for quality issues before shipping
uip agent review ./my-agent
# 5. Ship via the solution the project was registered into
uip solution pack . ./dist
uip solution upload .
# 6. Evaluate (against the cloud project once pushed, or the local workspace)
uip agent eval run start --set default --path ./my-agent --wait
# 7. Debug a specific run against Studio Web
uip agent debug ./my-agent -i '{"input":"hello"}'
Autenticación
debug, eval run *, guardrails llm-as-judge-models, and model list call Studio Web / the LLM gateway and require an active CLI session. Run uip login first. See Authentication for the session model.
init, validate, refresh, review, review-history, tool list, memory, guardrails list, and guardrails catalog are local-only and do not require a session.
Ver también
- Conceptos: herramientas (complementos) : el modelo de complemento y la fijación de versiones.
- uip solution — packaging, publishing, and deploying the solution an agent project lives in.
- Autenticación : sesiones, tenants y carpetas.
- Opciones globales, códigos de salida.