- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- create-project
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-library-object-repository
- get-object-repository
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-instances
- list-workflow-examples
- pack
- publish
- remote
- restore
- run, debug & execution
- run-file
- search-templates
- start-studio
- stop-execution
- tm
- uia
- uip tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
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.
Synopsis
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.
How it works
- 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.
Examples
# 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
Error behavior
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.
See also
uip llm-gateway— the model discovery API Pi's--provider uipathroutes through.- Versioning and stability — this CLI's Preview/GA/Deprecated convention.
- Tools (plugins)
- Global options
- Exit codes