UiPath Documentation
coding-agents
2026.10
false
UiPath for Coding Agents user guide

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.

  • 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.
Warning:

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 methodIdentity the agent acts asUse
Interactive: uip login, which opens your browserThe user account, with all its roles and foldersLocal development, with a person reviewing
Non-interactive: uip login with a client ID, client secret, and scopesAn external OAuth application, with only its granted scopes and folder rolesAutomation
  • 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:

  1. A Robot session, when UIPATH_CLI_ENFORCE_ROBOT_AUTH=true. UiPath Studio Desktop uses this path. It overrides every other source.
  2. A token from environment variables, when UIPATH_CLI_ENABLE_ENV_AUTH=true. Any other value leaves either mode off.
  3. Credentials saved by uip login, from the project directory, your home directory, or the profile named with --profile.
  4. 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_AUTH and UIPATH_CLI_ENABLE_ENV_AUTH are mutually exclusive. Setting both makes uip commands fail with a configuration error.
  • uip login status shows 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 uip command: 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 uip command 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 (stdout and stderr)
  • 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:

ValueEffect
Unset, 0, or any other valueCLI and skills telemetry send.
1 or trueNothing 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.

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated