Installation¶
Have an Agent CLI that you have signed into. Run Reins and the Agent under the same user account.
Install with npm (Linux x64, macOS, Windows x64)¶
The prebuilt packages need no Python. On Linux and macOS they include the Zellij and the panel that reins tui uses; reins tui does not run on Windows. macOS packages cover Apple silicon and Intel:
Install from source¶
Linux arm64, musl-based Linux such as Alpine, and machines without Node install from source, with Python 3.9 or later and Git. Keep the virtual environment after installation: it holds Reins and its dependencies.
git clone --depth 1 https://github.com/lz59970062/harness-reins.git
cd harness-reins
python3 -m venv .venv
source .venv/bin/activate
python -m pip install '.[tui]'
reins setup --enable --now
reins --version
[tui] adds the panel for reins tui; install Zellij from your package manager to use it.
setup installs the Agent skills and configures the background coordinator. The last command prints the installed version. On Windows, you can continue using the full path to .venv\Scripts\reins.exe.
Choose your runtime¶
| Environment | Task owner | Setup |
|---|---|---|
| Linux desktop or server | systemd user service | Use the default setup |
| macOS desktop login session | launchd | Run setup in the current user's terminal |
| Windows 10 or later | Task Scheduler and Job Object | Keep the user logged in and use a local NTFS directory |
| Docker, AutoDL, or Linux with screen | GNU screen | Follow the container steps below |
In a Debian or Ubuntu container, install screen and start the coordinator:
Place Reins, the Agent, the working directory, and the session files in the same runtime environment. Mount ~/.reins, the Agent configuration directory, and the project directory on persistent volumes to retain task records across restarts. See the container deployment notes for images and startup configuration.
Upgrade¶
Finish the queued tasks and callbacks first. Install the new version (npm: npm install -g harness-reins; source: git pull in the same directory and pip install again), then run reins setup --keep-skill --force --enable --now to update the coordinator and retain your existing skill content.
Continue with Your first task.