UiPath Documentation
uipath-cli
latest
false
Guía del usuario de UiPath CLI
Importante :
Este contenido se ha traducido mediante traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

uip agent review

Score a low-code agent project against a deterministic rule set with `uip agent review`.

uip agent review runs a deterministic rule set over a low-code agent project and returns a verdict (PASS/FAIL), a score (0-100), a letter grade (A+ through F), and a categorized list of issues and strengths. It's a quality pass, distinct from uip agent validate's pass/fail schema check — review can pass a structurally-valid project with a low score if the rules flag weak prompts, missing guardrails, or other authoring issues.

Local-only — no login required.

Sinopsis

uip agent review [path] [--checks <categories>]
uip agent review [path] [--checks <categories>]

All invocations honor the global options (--output, --output-filter, --log-level, --log-file). Exit codes follow the standard contract.

Argumentos

  • [path] (optional, default .) — Agent project directory.

Opciones

MarcaPredeterminadoPropósito
--checks <categories>all categoriesComma-separated rule categories to run. Known categories: evals, schema, tools, guardrails, code, general.

An empty or all-whitespace --checks value fails with AgentReviewInvalidChecks; an unrecognized category name fails the same way, listing the known set.

Ejemplos

# Review a project at a specific path
uip agent review ./my-agent

# Run only the schema and general rule categories
uip agent review --checks schema,general
# Review a project at a specific path
uip agent review ./my-agent

# Run only the schema and general rule categories
uip agent review --checks schema,general

Forma de datos (--json de salida)

{
  "Code": "AgentReview",
  "Data": {
    "ProjectDir": "./my-agent",
    "Verdict": "PASS",
    "Score": 100,
    "Grade": "A+",
    "Issues": [],
    "Strengths": [],
    "Stats": {
      "errors": 0,
      "warnings": 0,
      "infos": 0,
      "byCategory": { "evals": 0, "schema": 0, "tools": 0, "guardrails": 0, "code": 0, "general": 0 }
    }
  }
}
{
  "Code": "AgentReview",
  "Data": {
    "ProjectDir": "./my-agent",
    "Verdict": "PASS",
    "Score": 100,
    "Grade": "A+",
    "Issues": [],
    "Strengths": [],
    "Stats": {
      "errors": 0,
      "warnings": 0,
      "infos": 0,
      "byCategory": { "evals": 0, "schema": 0, "tools": 0, "guardrails": 0, "code": 0, "general": 0 }
    }
  }
}

Issues and Strengths are populated with rule-specific entries when the project has findings. Review failing to run at all (bad path, unreadable project) uses Code: "AgentReviewFailed".

Ver también

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado