- Get started
- Best practices
- Capabilities
- Skills
- CLI
- Examples
- Examples overview
- Recipe: build an agent
- Recipe: automate with RPA
- Recipe: enter data into a web app
- Recipe: extract data from a desktop app
- Recipe: refactor and test a workflow
- Recipe: a queue-based process with REFramework
- Recipe: build a flow in Maestro
- Recipe: build a Maestro Case
- Recipe: coded app and API workflow
- Recipe: build a coded function
- Recipe: verify a release with Test Manager
- Recipe: extract data from documents with IXP
- Advanced
- CI/CD and automation
- Governance and trust
- Help
Governance and trust
How access, authentication, and safe defaults apply when a coding agent acts on your UiPath organization.
A coding agent has no UiPath access of its own. It acts through the uip CLI as one signed-in UiPath identity.
Recommended guidelines before you start
- Use a dedicated, tokenized account with minimal permissions.
- Keep your coding agent in approval mode, so it asks before running commands or changing files.
- Set guardrails and permissions for your coding agent before granting UiPath access.
- Confirm that your organization's policies and data protection requirements permit personal data processing before enabling or expanding access.
- Keep human oversight wherever your internal processes require a control point or approval.
Disclaimer: A coding agent does not validate the compliance of generated code. You are responsible for reviewing all generated code before deploying it to production, in accordance with your internal policies.
The agent acts as the signed-in identity
The CLI signs in to one identity, organization, and tenant. The agent has that identity's permissions, and no setting grants it less. Scope access through roles, folders, and tenant assignment.
Choosing the identity
| Login method | Identity the agent acts as | Use |
|---|---|---|
Interactive: uip login, which opens your browser | The user account, with all its roles and folders | Local development, with a person reviewing |
Non-interactive: uip login with a client ID, client secret, and scopes | An external OAuth application, with only its granted scopes and folder roles | Automation |
- Interactive login applies your multi-factor and conditional-access policies.
- The agent never needs your password. It uses the CLI session.
Where the credential comes from
Priority order:
- A Robot session, when
UIPATH_CLI_ENFORCE_ROBOT_AUTH=true. UiPath Studio Desktop uses this path. It overrides every other source. - A token from environment variables, when
UIPATH_CLI_ENABLE_ENV_AUTH=true. Any other value leaves either mode off. - Credentials saved by
uip login, from the project directory, your home directory, or the profile named with--profile. - A session from the UiPath Robot on the same machine, when no saved credentials exist. The agent then acts as the Robot's signed-in account.
UIPATH_CLI_ENFORCE_ROBOT_AUTHandUIPATH_CLI_ENABLE_ENV_AUTHare mutually exclusive. Setting both makesuipcommands fail with a configuration error.uip login statusshows the resolved credential source, organization, tenant, and identity.- With saved credentials, a named profile pins the CLI. If its credentials are missing, the CLI reports that you are not logged in and does not fall through to another identity.
Attribution and audit
UiPath records only the identity the CLI signed in as. If several people share a dedicated identity, the record cannot tell them apart, so use one per person or agent workload.
Secrets and credentials
Store credentials and secrets in your secret store or CI/CD secret management. Keep them out of prompts, project files, and source control.
Data we collect
Your coding agent sends prompts, files, and command output to its model provider, under your agreement with that provider.
The uip CLI and the UiPath skills send usage data to one UiPath-managed resource.
What is collected
- Command usage: per
uipcommand: command path (verbs only), duration, result, and error message. - Skill usage: per UiPath skill, subagent, and file tool call on a UiPath file type: skill name, subagent type, model family, duration, and outcome. Shell commands count only as
uipcommand usage. - Session activity: session start, end, and each completed turn.
- File type: the file extension, such as
.flow. - Environment: CLI and skills versions, cloud environment, coding agent, main AI model, permission mode, and effort level.
- Identity: your UiPath cloud user ID, tenant ID, and organization ID. This telemetry is not anonymous.
- Correlation IDs: session and per-call identifiers.
What is never collected
- File contents
- Command output (
stdoutandstderr) - Agent transcripts
- Full command lines
- File paths and your working directory
CLI command telemetry redacts at the source:
- Anything resembling a token, key, secret, password, credential, or certificate becomes
[REDACTED]. - Identifiers and emails are hashed.
- URLs are reduced to their host.
Where it goes
UiPath-owned Azure Application Insights, West Europe region. To route telemetry elsewhere, set UIPATH_AI_CONNECTION_STRING.
Retention
Set by the Application Insights workspace. The Azure default is 90 days. Confirm the configured period with your platform team.
Turning telemetry on or off
UIPATH_TELEMETRY_DISABLED controls both sources:
| Value | Effect |
|---|---|
Unset, 0, or any other value | CLI and skills telemetry send. |
1 or true | Nothing is sent. The CLI keeps local debug logging only. |
Staying in control
Review generated content and proposed commands before you approve changes to your organization.
- Recommended guidelines before you start
- The agent acts as the signed-in identity
- Choosing the identity
- Where the credential comes from
- Attribution and audit
- Secrets and credentials
- Data we collect
- What is collected
- What is never collected
- Where it goes
- Retention
- Turning telemetry on or off
- Staying in control