- Visão geral
- Introdução
- Conceitos
- Usando o UiPath CLI
- Guias de instruções
- Receitas de CI/CD
- Referência de comando
- Visão geral
- Códigos de saída
- Opções globais
- Agente de código uip
- uip coder
- uip context-grounding
- Documento da UIP
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- adicionar-tipo-dados-de-teste
- adicionar-dados-de-teste-fila
- adicionar-teste-variação de dados
- Analisar
- Criar
- criar projeto
- Comparação
- encontrar atividades
- obter-analisador-regras
- obter-padrão-atividade-xaml
- obter-erros
- obter-casos-de-teste-manuais
- obter-etapas-de-teste-manual
- get-library-object-repository
- get-object-repository
- Obter versões
- obter-fluxo-de-trabalho-exemplo
- indicar aplicativo
- indicar elemento
- inspecionar pacote
- instalar-data-fabric-entities
- instalar-ou-atualizar pacotes
- listar-data-fabric-entities
- list-instances
- listar-exemplos-de-fluxo-de-trabalho
- Empacotar
- Publicar
- remote
- restore
- run, debug & execution
- arquivo de execução
- modelos-pesquisar
- Iniciar Studio
- interromper a execução
- tm
- UIA
- uip tasks
- Traces da UIP
- uip traces feedback
- Migração
- Referência e suporte
Syntax for `uip coder`, an autonomous AI coding agent (Pi) that drives the UiPath CLI — a Preview-build-only command.
Preview build only. Unlike most Preview-labeled commands in this CLI (visible in --help, callable, just less stable), uip coder is registered only inside preview builds (previewOnly(...) in source) — it does not exist at all in a stable install. See Versioning and stability for the general Preview convention; this command is a stricter case, gated at build time rather than just labeled.
uip coder runs Pi, an autonomous coding agent, wired to drive uip itself through a UiPath LLM Gateway provider extension. Every argument is forwarded verbatim to Pi's own CLI — there is no uip-specific option surface to document beyond the forwarding behavior below. The tool stays preview-gated while UiPath works out the tool-permission posture for an agent that executes tool calls without per-call approval in customer environments.
Resumo
uip coder [args...]
uip coder [args...]
No arguments opens Pi's interactive TUI. All flags are Pi's own — run uip coder --help (rendered by Pi, not by uip) for the full surface. A few worth knowing from Pi's own package-management subcommand set, which must be the first token and bypasses agent-session setup entirely: install, remove/uninstall, update, list, config.
Como funciona
- Forwarding, not a native command.
uip coderhas no options of its own —allowUnknownOption/allowExcessArguments/helpOption(false)are all set, and every argument is handed to Pi'smain()entry point unmodified. - UiPath system-prompt injection. Unless the first argument is one of Pi's package-management subcommands (
install/remove/uninstall/update/list/config), the CLI prepends--append-system-prompt <guide>with a bundled guide on how to driveuip— so a prompt likeuip coder -p "deploy this process"gets UiPath-specific context even though the command itself never parses-p. - UiPath as a model provider. Pass
--provider uipath --model <id>to route Pi's completions through the UiPath LLM Gateway instead of a directly-configured provider key. - Session continuity.
--continueresumes the previous session, matching Pi's own semantics. - Exit-code passthrough. If Pi exits non-zero,
uip codersurfaces it as aFailurewithMessage: "The coding agent exited with code <N>."andInstructionspointing atuip coder --helporuip login(in case theuipathprovider is missing), then exits with that same code — the underlying detail is whatever Pi printed to its own output above the envelope, not somethinguipre-parses.
Exemplos
# Interactive TUI
uip coder
# One-shot prompt
uip coder -p "explain what uip solution deploy upgrade does"
# Route through the UiPath LLM Gateway
uip coder --provider uipath --model anthropic.claude-sonnet-4-6 -p "list my orchestrator jobs"
# Resume the previous session
uip coder --continue
# Interactive TUI
uip coder
# One-shot prompt
uip coder -p "explain what uip solution deploy upgrade does"
# Route through the UiPath LLM Gateway
uip coder --provider uipath --model anthropic.claude-sonnet-4-6 -p "list my orchestrator jobs"
# Resume the previous session
uip coder --continue
Comportamento de erro
Any non-zero exit from Pi is wrapped in a Failure envelope with the exit code preserved; if the uipath LLM provider isn't configured, run uip login first.
Veja também
uip llm-gateway— the model discovery API Pi's--provider uipathroutes through.- Versioning and stability — this CLI's Preview/GA/Deprecated convention.
- Ferramentas ( plugins )
- Opções globais
- Códigos de saída