Sign In

@uipath/codedagents-tool

Package Overview
Dependencies
Maintainers
17
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
This package has malicious versions linked to the ongoing "Mini Shai-Hulud" supply chain attack.

Affected versions:

0.1.12
View campaign page

@uipath/codedagents-tool

Build, run, deploy, and manage AI Agents.

latest
Source
npmnpm
Version
0.1.11
Version published
Weekly downloads
19
-84.43%
Maintainers
17
Weekly downloads
 
Created
Source

Python Tool

A command-line tool over uipath-python

Features

  • Automatic Python version detection
  • Python path caching for improved performance
  • Package installation verification
  • Interactive command execution support

Commands

setup

Detects Python installation and verifies required package is installed.

uipath ca setup [options]

Options:

  • --force - Force re-detection of Python even if cached

exec

Executes the configured Python package with provided arguments.

uipath ca exec [args...]

Options:

  • --interactive - enable interactive mode

All arguments are passed directly to the Python package.

Configuration

Static Configuration

The following settings are configured in the code and can be overridden via environment variables:

Python Versions

Default: 3.11, 3.12, 3.13

Override with PYTHON_TOOL_PYTHON_VERSIONS environment variable:

# Windows
set PYTHON_TOOL_PYTHON_VERSIONS=3.13,3.12,3.11

# Linux/macOS
export PYTHON_TOOL_PYTHON_VERSIONS=3.13,3.12,3.11

Cache File

The tool uses a cache file (.codedagents-tool-cache.json) to store:

  • Detected Python path
  • Python version
  • Package name
  • Last validation timestamp

If the cached Python path no longer exists, will ask user to configure.

uip codedagent init
❌ Invalid config. Python (C:\Users\georgescu.vlad\AppData\Local\Programs\Python\Python311\python.exe) no longer exists.
Run 'uip codedagent setup' to reconfigure.

Examples

# Setup with default package (uipath-python)
uip codedagent setup

# Force re-detection
uipath codedagent setup --force

# Setup with custom package via environment variable
export CLOUD_TOOL_PACKAGE_NAME=my-package
uipath codedagent setup

# Run package with arguments
uipath ca run --help
uipath ca run command --option value

# Interactive command
uipath ca run interactive-shell

# Override Python versions via environment variable
export PYTHON_TOOL_PYTHON_VERSIONS=3.10,3.11
uipath ca setup

# Full configuration example
export PYTHON_TOOL_PYTHON_VERSIONS=3.10,3.11,3.12
export CLOUD_TOOL_PACKAGE_NAME=uipath-python
uipath ca setup
uipath ca run --version

Keywords

cli-tool

FAQs

Package last updated on 07 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts