Running commands on your computer
Assistants can run commands on a computer of yours — to check a project, run tests or a script — through a small program called the command runner. You approve every command before it runs.
Set up the runner
- On the computer, create a separate user for it (recommended), so assistants only reach what that user can.
- Get the runner from the vexyline-tools repository —
git clone https://github.com/vexyline/vexyline-tools(or downloadvexyline-runner/runner.pyfrom https://github.com/vexyline/vexyline-tools) — and start it as that user:python3 runner.py --token <a long random secret> --cwd <folder> --port 8765It refuses to start without a token. Add--readonlyto allow only read-only commands, or--allow <file>with patterns of allowed commands. The terminal shows each command and its output as it runs (secrets hidden); add--quietto show only the commands. - In the app: Settings → Providers and machines → Add a provider → Command runner. Enter
http://<the computer's address on your Wi-Fi>:8765and the token as the key, then tap Check the connection: it shows the user and computer.
Let an assistant use it
Open the assistant's settings and turn on the Commands chip under Answers with. It is off by default.
Approving commands
When the assistant wants to run something, a card appears in the room with the computer, the folder and the exact command. Nothing runs until you tap Approve and run. Deny means it never reaches the computer; a card left unanswered expires after a few minutes and is treated as denied. The result — exit code and output — goes back to the assistant and appears in its steps.
Safety
The runner works on your local network over plain HTTP, protected by the token. It runs as the user that started it, so give that user only what it should touch. Every command is logged on the computer.
How often it asks
In the assistant's editor, with Commands on, choose Ask before running a command:
- Every command (default) — each one waits for Approve.
- Only risky ones — read-only commands (
ls,git status,cat, tests) run at once; anything that deletes, moves, installs, pushes, writes files, changes permissions or sends data waits for you. - Never — the assistant runs commands and scripts on its own.
In every mode, commands that could wipe a disk or your home folder, format a drive, shut the machine down or pipe a download into a shell always ask. Each result says whether it was approved or ran without asking. Stopping the reply withdraws a pending approval at once.