← Back to Guides

Running Verdalia Relay on Your Computer#

Verdalia Relay is a small program that runs on your own computer and lets your Verdalia workspace use what only exists there: folders on your disk, a coding agent installed on the machine, the desktop itself, and the Philips Hue lights on your home network. The workspace sends signed requests; Relay carries them out on the computer, as you, and answers.

That makes things like these possible:

  • an assistant reads and updates notes in a folder you chose;
  • a scheduled workflow asks a coding agent to review a project and reports back to you;
  • a workflow dims the living-room lights in the evening;
  • an agent finds a file in Downloads and attaches it in a program that has no tools of its own.

By the end of this guide Relay runs as a service that comes back after every reboot, and you have used it for files, coding sessions, and lights.

What you will set up#

Your workspace                                   Your computer
                                                 ┌──────────────────────────────────┐
  Coding Agents page─┐                           │ verdalia-relay  (user service)   │
  Workflows          ├── signed requests ◄────── │  ├─ mounts ─► folders you named  │
  Assistant tools   ─┘   over Relay's own        │  ├─ coding agents (see below)     │
                         outbound connection     │                                  │
                                                 │  ├─ computer ─► your desktop     │
                                                 │  └─ Hue ─► bridge on your LAN    │
                                                 └──────────────────────────────────┘

Prerequisites#

  • Linux on x86_64 with systemd and glibc 2.36 or newer. ALSA is needed for audio playback; both are present on any desktop Linux with working sound. Windows is covered in Running on Windows.
  • For coding agents: Claude Code 2.1.330 or later, Oh My Pi (omp), or OpenCode installed and signed in on this computer, or Paseo running on it.
  • For lights: a Philips Hue Bridge on the same network as the computer.
  • For computer use: GNOME or KDE on Wayland, or an X11 session, with PipeWire and libxkbcommon, which both desktops already have. On Windows, Relay must run in your logged-on session.

How Relay works#

Relay is one process, verdalia-relay serve, running as your user. It reads its settings from config.json once, when it starts, and keeps its keys and pairings next to it in state.db. Both live in ~/.config/verdalia-relay/ (or $XDG_CONFIG_HOME/verdalia-relay/ when that is set).

On a personal computer the connection is Dynamic: Relay opens an outbound connection to your workspace and requests arrive over it, so nothing on your computer is exposed to the internet. While Relay is not running, or the computer is asleep, requests fail; nothing is queued for later.

What Relay can do is split into plugins, each with its own switch:

Plugin Name in commands Default Needs
Filesystem filesystem on at least one mount
Coding agents coding_agents on a mount for Claude Code, Oh My Pi or OpenCode; Paseo running for Paseo
Hue hue on a paired bridge
Audio audio on a sound output device
Shell shell off a mount; turn it on with verdalia-relay config enable shell
Computer computer off a desktop session; turn it on with verdalia-relay config enable computer

A plugin that is on but missing what it needs waits, and a request to it is answered with an error that names what to do.

What runs where. The files, the coding agent and its sign-in, and the Hue pairing stay on the computer. Your workspace holds a Verdalia Relay connection, which names one computer, and the pages, workflows, and agents that send requests over it. The workspace reaches only what the computer's enabled plugins offer.

There are four ways to reach Relay:

  • the Coding Agents page, for coding-agent sessions;
  • workflow nodes: Relay Filesystem, Relay Shell, Relay Coding Agent, On Coding Agent Event, Hue Action, Relay Audio, Relay Status, and Relay Request;
  • agent tools: the Relay and Computer use tool groups, which an agent asks for when it needs them, tools you build from workflows, and Push panel in the Panels tool group;
  • the verdalia-relay command on the computer itself, for setup and inspection. None of its subcommands except serve needs Relay to be running.

Two things Relay is not:

  • It is not a sandbox. A mount limits what the filesystem plugin will touch. A coding agent or shell command started inside a mount runs as you and can reach anything you can.
  • It is not your terminal. Relay runs with the environment its service manager gives it, and never reads your shell profile. The agents and shell commands it starts find your tools on the PATH you declare in ~/.config/environment.d, which Run it as a user service explains.

Install and pair#

1. Install the binary. In a terminal, run the installer:

curl -fsSL https://verdalia.io/relay-install.sh | bash

Before it downloads anything, it shows a checklist of what to install. ↑ and ↓ move, Space selects, Enter installs, and Ctrl-C cancels with nothing changed:

  • Verdalia Relay is always installed, to ~/.local/bin/verdalia-relay.
  • Start at login writes the unit from Run it as a user service, then enables and starts it. It starts unselected. When the unit file already exists, the row reads already set up and the file is left as it is.
  • Keep running without a login turns on lingering with loginctl enable-linger, so the service starts at boot and keeps running after you log out. It can be selected only together with Start at login, or when the unit already exists.
  • Share your PATH with Relay writes your terminal's PATH to ~/.config/environment.d/99-user-path.conf, the file Run it as a user service describes, then runs systemctl --user daemon-reload. It starts selected and shows the line it will write. When a file in ~/.config/environment.d already declares PATH, the row reads already declared in <file> and nothing is written.

When systemctl --user is not available, the two service rows and Share your PATH with Relay are left out. Without a terminal, the installer shows no checklist and installs the binary only.

The installer checks the download against the published SHA256SUMS and runs it once with --version before it replaces anything. Running it again updates Relay in place and prints the previous and the new version. It finishes by printing the line to add to your shell profile when ~/.local/bin is not on your PATH, and the pairing steps when this computer is not paired yet.

The installer is for Linux on x86_64. To install by hand, get the Linux build from the Downloads page, then, in the directory holding it:

sha256sum -c SHA256SUMS
tar -xzf verdalia-relay-linux-x86_64.tar.gz
install -Dm755 verdalia-relay ~/.local/bin/verdalia-relay
~/.local/bin/verdalia-relay --version

The service below starts Relay by this path, so keep it stable. Relay updates itself from then on: see Updates.

2. Create the connection. In your workspace open Settings → Connections, choose Add Connection, then Verdalia Relay. The connection is saved as the dialog opens, under a name you can change at its top, and Pair your Relay shows the pairing command. Copy it with the button beside it. When an agent asks for the Relay tools and no computer is paired yet, its request card opens this same dialog.

3. Pair this computer. Paste the command into a terminal. It has this shape:

verdalia-relay dynamic pair <PAIRING-CODE> --api-base-url <API-URL>

Add --label "<machine name>" to name the computer in the workspace. Pairing writes a private key and the dynamic section of config.json; nothing else needs to be copied anywhere.

Note: a pairing code expires after ten minutes. If the card says the command expired, choose Generate new pairing command and run the new one.

Note: when the service from the installer's Start at login is running, skip the verdalia-relay serve the pair command prints, since the service already holds Relay's port. Run systemctl --user restart verdalia-relay: pairing applies at the next restart.

4. Add a mount. Give Relay one folder to work in:

verdalia-relay config mount add projects ~/projects

Mounts and what they allow covers names, read-only mounts, and what a mount does and does not limit.

5. Check the result.

verdalia-relay status

It prints where the config and state are, whether each plugin is on, off, or on, waiting for a filesystem mount, the paired workspace, the paired Hue bridge, and whether anything is listening on Relay's port. --format json prints the same for a script.

Run it as a user service#

Relay keeps its config, keys, and Hue pairing in your home directory and runs agents as you, so it belongs in your user service manager (systemctl --user), not the system one.

The installer's Start at login writes the same unit as step 2 below, and its Share your PATH with Relay writes the file from step 1. If you chose them, the steps below are how to check them or change them.

Two properties of the user manager decide how the unit has to look:

  • When it runs. The user manager starts with your first login and stops after your last session ends, taking Relay with it. With lingering turned on, it starts at boot and keeps running after you log out. loginctl show-user "$USER" -p Linger says which you have.
  • What environment it has. The manager does not read .bashrc, .zshrc, or .profile. It starts from a short built-in PATH, typically /usr/local/bin:/usr/bin (on your distribution, systemd-path search-binaries-default prints it), adds what the files in environment.d declare, and gives the result to every user service it starts. Some desktops also copy the login session's environment into the manager when you log in.

Every program Relay starts for you, a coding agent and each command it runs, or either form of Relay Shell, gets Relay's own environment with two changes:

  • PATH is the one your ~/.config/environment.d declares, worked out again for each program Relay starts. An edit to the file applies to the next program, with no Relay restart and no daemon-reload. While no file there declares PATH, programs get Relay's own PATH, the one the unit sets.
  • While someone is logged in to the desktop, WAYLAND_DISPLAY, DISPLAY, XAUTHORITY, XDG_SESSION_TYPE and XDG_CURRENT_DESKTOP of that session, so a coding agent can open a browser window. Before anyone logs in, and after logging out, programs get none of them.

Nothing else from your login session or shell profile reaches them: a token your profile exports stays in your terminal.

1. Declare your PATH in environment.d. Create ~/.config/environment.d/99-user-path.conf with every directory your tools live in, ending in ${PATH}:

PATH=${HOME}/.local/bin:${HOME}/.opencode/bin:${HOME}/.cargo/bin:${HOME}/.bun/bin:${PATH}

${HOME} and ${PATH} expand; ${PATH} is the manager's built-in list, so it keeps /usr/local/bin:/usr/bin at the end. ~ does not expand. The installer's Share your PATH with Relay writes this file from the whole PATH of the terminal you ran it in.

The same declaration reaches every other user service from its next start, once systemctl --user daemon-reload has run, and GNOME Terminal's shells start from it.

Note: files are applied in file-name order across your directory and the system's, the last PATH winning, and systemd reads /etc/environment as /usr/lib/environment.d/99-environment.conf. Where /etc/environment sets PATH, as Ubuntu's does, a file of yours named 60-path.conf loses to it and the system's value is the one in force. Name your file so it sorts after 99-environment.conf, as 99-user-path.conf does. Relay's log names the file that overrides yours.

Note: in your login profile, extend PATH rather than replace it: export PATH="$HOME/bin:$PATH", not export PATH="$HOME/bin:/usr/bin". A desktop that copies your login environment into the manager otherwise gives your terminal a PATH without the directories Relay's programs find.

2. Write the unit. Create ~/.config/systemd/user/verdalia-relay.service:

[Unit]
Description=Verdalia Relay

[Service]
Type=simple
ExecStart=%h/.local/bin/verdalia-relay serve
# How Relay itself starts; the programs it starts use the PATH from environment.d.
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin
Environment=RUST_LOG=info
Restart=always
RestartSec=10

[Install]
WantedBy=default.target

systemd expands %h to your home directory. It does not expand ~ or $PATH, so a value like $PATH:%h/.cargo/bin is taken literally.

Note: do not hand Relay your whole shell environment, with systemctl --user import-environment and no variable names, or by starting it through bash -lc or zsh -i. A shell environment usually carries API tokens and credentials, which every agent and command Relay starts then receives, and an interactive startup file can prompt, print, or fail when no terminal is attached. Set the variables Relay needs, by name.

Note: directive names are case-sensitive. execstart= is discarded as an unknown key and the unit then refuses to load with Service has no ExecStart=.

3. Enable and start it.

systemctl --user daemon-reload
systemctl --user enable --now verdalia-relay
systemctl --user status verdalia-relay

Within a few seconds the dialog reads Relay is online; choose Finish. Closing it earlier with Pair later keeps the connection, which finishes pairing whenever the Relay comes online.

4. Keep it running without a login (optional). For a computer that should serve your workspace from boot, and keep doing so after you log out:

loginctl enable-linger "$USER"

Relay then starts before any login, with nothing but the manager's environment and the unit's own lines. Its programs still find your tools, because environment.d is there before anyone logs in.

Note: computer use waits for someone to log in to the desktop, and starts by itself once they do, with no Relay restart; see Computer use.

5. Check what Relay's programs get. command -v omp in your terminal answers for your shell, not for Relay. Ask Relay instead: a Relay Shell node in Program form with the three arguments sh, -c and printf %s "$PATH" returns in stdout the PATH the next program gets.

A program run by name that is not on it fails with a message saying which PATH was searched:

Message ends in Meaning
on your PATH (environment.d) The PATH from your environment.d lacks the program's directory.
on your PATH (Relay's PATH: no PATH in ~/.config/environment.d) No file there declares PATH; do step 1.
on your PATH (Relay's PATH: no environment.d generator on this system) A system without systemd's environment.d, such as Windows; programs get Relay's own PATH.
on your PATH (Relay's PATH: the environment.d generator failed) systemd could not work out the PATH; the Relay log says why.

Which value wins#

For the programs Relay starts, the PATH from environment.d wins over the unit's. For Relay itself, the unit's Environment= lines replace whatever the manager holds for the same variable, whether from environment.d or copied from a login. Within the unit, later settings win: a drop-in in ~/.config/systemd/user/verdalia-relay.service.d/ is read after the unit, in file-name order, and EnvironmentFile= overrides Environment=. That gives one clean place for settings specific to one computer:

systemctl --user edit verdalia-relay      # writes verdalia-relay.service.d/override.conf
[Service]
Environment=RUST_LOG=debug

Remove the drop-in, then systemctl --user daemon-reload, to go back to the unit's own value.

Day to day#

To Run
See whether it runs systemctl --user status verdalia-relay
Follow its log journalctl --user -u verdalia-relay -f
Apply a change to where it listens systemctl --user restart verdalia-relay
Apply a unit change systemctl --user daemon-reload, then restart
Change the PATH Relay's programs get Edit ~/.config/environment.d/99-user-path.conf; the next program gets it
Stop it until next login or boot systemctl --user stop verdalia-relay
Stop it starting on its own systemctl --user disable --now verdalia-relay

A running Relay checks its config file every two seconds and applies a change without a restart: mounts, plugins switched on or off, the coding agent's command and session cap. Running coding agents keep going, and an agent started afterwards gets the new settings. The exceptions are server.host, server.port, the TLS paths, and the pairing: those apply at the next restart, and verdalia-relay config says so when you change one. A config that fails to load, such as a mount whose directory does not exist, is skipped with a warning in the log, and Relay keeps the previous one.

Relay logs to stderr only, which journald keeps; there is no log file. RUST_LOG=debug in the unit adds each line a coding agent writes to its stderr, which is where an agent's own startup failures show.

Note: a restart or stop ends every running mount session and the processes it started. The sessions stay stored by their providers; open them again from Coding Agents. Paseo keeps running separately.

Updates#

Relay checks for a new version every hour and installs it itself: it downloads it next to its own executable, checks it, waits until no mount session is running, replaces the file, and restarts into it. Paseo sessions run in Paseo and carry on. The log names each update.

Relay must be able to write the directory its executable is in. ~/.local/bin is yours; for a copy installed somewhere you cannot write, such as /usr/local/bin, updates fail with a warning in the log, and replacing the file by hand and restarting the service is the update.

To keep the version you have:

verdalia-relay config set autoupdate false

verdalia-relay --version prints the version you run.

Running on Windows#

Relay is a console program, so on Windows it runs in the background as a scheduled task. Unpack the zip anywhere and check it against SHA256SUMS with Get-FileHash. The binary is unsigned, so SmartScreen warns the first time; choose More info → Run anyway. Configuration lives in %APPDATA%\verdalia-relay\, and mount paths are Windows paths.

From PowerShell, with the path you unpacked to:

$exe = "C:\Tools\verdalia-relay\verdalia-relay.exe"
$action   = New-ScheduledTaskAction -Execute "cmd.exe" `
    -Argument "/c `"$exe`" serve >> `"$env:LOCALAPPDATA\verdalia-relay.log`" 2>&1"
$trigger  = New-ScheduledTaskTrigger -AtLogOn -User $env:USERNAME
$settings = New-ScheduledTaskSettingsSet -RestartCount 999 -RestartInterval (New-TimeSpan -Minutes 1) `
                                         -ExecutionTimeLimit 0 -AllowStartIfOnBatteries
Register-ScheduledTask -TaskName "Verdalia Relay" -Action $action -Trigger $trigger `
                       -Settings $settings -RunLevel Limited
Start-ScheduledTask -TaskName "Verdalia Relay"

-RunLevel Limited runs it as you, where its config and Hue pairing are; SYSTEM has a different profile. -ExecutionTimeLimit 0 stops Windows ending it after three days, and the cmd.exe wrapper keeps the log, which a scheduled task otherwise discards.

The trigger is At log on and the task runs only when you are logged on, so Relay runs in your interactive session, on the desktop you see. Computer use controls that desktop; a task set to run whether or not you are logged on runs without a desktop, and computer use has no screen to use.

Updates work the same on Windows: the folder you unpacked to must be one you can write, and Relay moves its old executable aside as verdalia-relay.old until its next start.

Note: Relay starts the agent directly rather than through a shell, and a bare opencode only finds opencode.exe, not the opencode.cmd shim npm installs. Set coding_agents.opencode.command to the full path of opencode.exe or opencode.cmd.

Mounts and what they allow#

A mount is a name for one folder on your computer. Everything in the workspace that touches files picks a mount by that name: the mount projects in Coding Agents, the mount field of the Relay Filesystem, Relay Shell, and Relay Coding Agent nodes, and the mount in each Relay filesystem tool.

verdalia-relay config mount add projects ~/projects
verdalia-relay config mount add notes ~/Documents/notes --read-only
verdalia-relay config mount list
verdalia-relay config mount remove notes

A name is lower-case letters, digits, -, and _. The folder must exist; a relative path is made absolute before it is stored.

What a mount limits depends on who is using it:

Used by Bounded by the mount
Relay Filesystem node, Relay filesystem tools Yes. Paths are relative to the mount; absolute paths and .. are refused; a symlink is followed only when its target stays inside. A read-only mount refuses write, append, edit, create, move, and delete.
Panel push Yes, the same way, and it only reads, so a read-only mount works.
Coding agent Only where it starts. The agent's folder is inside the mount; what it does from there is limited by your user account and the agent's own permission settings.
Shell Only where it starts. A read-only mount refuses every command, since a command cannot be kept to it.

Mount the folders the workspace should work in, not your home directory, and use read-only for anything only to be read.

Pushing a panel build#

A panel built on this computer, such as a Vite project's dist directory, goes into the workspace straight from a mount. Ask an agent with the Push panel tool: "Push lights/dist in my projects mount to my Lights panel, with the UI kit pinned." With more than one Relay connected, name the computer too.

The push takes every file under the directory, each named by its file name alone, and reads only the files the workspace does not already hold. Before reading any, it refuses a directory of more than 64 files, two files with one name, a file over 1 MiB, or a file that is not .html, .js, .mjs, .css or .svg: an image or font the bundler left as a separate file has to be inlined as a data: URI. The result is a new version of the panel, live at once unless you ask the agent to stage it. Run the build first, in a terminal or with Relay Shell: the push sends what the directory holds.

Note: a Relay from before panel pushes cannot push a panel; the push is refused. Relay installs new versions itself within the hour unless updates are turned off; see Updates.

Automating with workflows#

Every Relay node has a Connection field, which picks the computer, and works the same over a Dynamic or Static connection. A node with a mount field takes a mount name from that computer's config, and its paths are relative to the mount.

Node Does
Relay Status Reports the connection's state. For a Dynamic connection that is the live link: online, a reason when it is down, and the Relay's capabilities. A Static connection always reports online: true, which is not a check that the computer answers.
Relay Filesystem One file operation in a mount: list, stat, read, write, append, edit, create a directory, move, delete, or grep.
Relay Shell Runs one command in a folder inside a mount. Needs the shell plugin.
Relay Coding Agent Drives coding-agent sessions: list, start, open, read, prompt, cancel, answer permission, set a config option, close.
On Coding Agent Event Trigger: starts a workflow from what a coding session reports.
Hue Action Lists and controls lights, rooms, zones, and scenes.
Relay Audio Plays a clip on the computer's speakers, stops one, or reports what is playing.
Relay Request Sends a request to any Relay route under /api/, for what the other nodes do not cover. Its status is always 200 and its headers always empty; the Relay's answer is in body.

The JSON in the rest of this guide is node configuration in the shape the workflow editor saves, written as illustrations, not copied from a running workflow. You fill the same fields through each node's form. <your relay connection> stands for the connection picked in Connection, projects is the mount from step 4, and file, room, and scene names are examples to replace with your own. A text field is saved as { "mode": "raw", "content": "..." } for a literal value, or with "mode": "template" when its {{ ... }} placeholders are filled from the node's input.

Reading and writing files#

Read a file from the projects mount:

{
  "relay_filesystem": {
    "connection": "<your relay connection>",
    "mount": "projects",
    "operation": { "op": "read_file", "path": "notes/todo.md", "encoding": "utf8", "max_bytes": 65536 }
  }
}

The other operations are list, stat, write_file, append_file, edit_file, create_directory, move_path, delete_path, and grep, each on a path relative to the mount. To see which mounts a computer offers, use Relay Request with method GET and path /api/filesystem/mounts; the list is in body.mounts.

Running shell commands#

Relay Shell is off until you run verdalia-relay config enable shell, and it refuses every command on a read-only mount. It runs the command through $SHELL -c, which is not a login or interactive shell: there is no terminal and no stdin, zsh reads only .zshenv, and bash reads only the file $BASH_ENV names, if any. Both forms find programs on the PATH from ~/.config/environment.d, or Relay's own PATH when no file there declares one; see Run it as a user service.

A command gets timeout_seconds of 1 to 50 (default 30). When it ends, anything it left running in the background is killed, so Relay Shell cannot start a long-running service. The node fails on a non-zero exit unless fail_on_error is off.

Note: a template inside command is inserted as plain text, not quoted for the shell. A value holding a space, quote, or ; changes the command that runs, so do not template text you did not write into it.

Coding agents#

Relay starts Claude Code, Oh My Pi and OpenCode in folders inside mounts. It can also connect to Paseo:

  • Claude Code, Oh My Pi and OpenCode each run in a separate process per session. A new install has Claude Code and OpenCode on and Oh My Pi off.
  • Paseo, a program that runs many coding agents (Claude Code, Codex, OpenCode, Oh My Pi, and others) and keeps its own projects and git worktrees. Relay does not start Paseo; it connects to the Paseo already running on the computer and drives its sessions. Paseo is on by default, and a computer without Paseo simply has no Paseo projects.

Every session names the agent that runs it, and each agent uses its own configuration and sign-in on this computer; Relay adds none of its own.

Coding Agents shows a tree of projects: each Relay by its connection name, its projects under it, and their sessions under each project. A project is either one of the Relay's mounts, shown with a folder, or one of Paseo's projects, shown with Paseo's logo. Under a Paseo project, sessions are grouped by Paseo workspace. Projects appear and disappear with what the Relay reports: removing a mount, or a project from Paseo, removes it and its sessions from the tree. A folder that is both a mount and a Paseo project shows up twice, once for each.

1. Switch on the agents you use.

verdalia-relay config set coding_agents.omp.enabled on
verdalia-relay config set coding_agents.opencode.enabled off   # only if you do not use OpenCode
verdalia-relay config set coding_agents.paseo.enabled off      # only to keep Paseo out of Verdalia
verdalia-relay config set coding_agents.claude.enabled false   # true turns it back on

Note: older Relay setups keep their previous OpenCode or Oh My Pi selection.

2. Point Relay at it. Put the agent's directory on the PATH declared in environment.d. Relay looks for claude, omp or opencode by default. On the Relay computer, sign in with claude auth login to use Claude Code; Claude Code itself is the only extra installation. If claude is elsewhere, set the full path to the executable:

verdalia-relay config set coding_agents.claude.command /path/to/claude

The full path only finds the agent itself. The commands the agent runs while working are found through PATH, so the declaration is still needed.

Claude Code reads the same settings, CLAUDE.md, MCP servers, hooks, skills and permission rules as in the terminal. Set coding_agents.claude.args to a comma-separated list of arguments. Relay passes them before its own flags; for example, --add-dir,/home/me/notes adds a directory.

Note: a missing command keeps an enabled mount provider out of the picker. The relay_list agent tool shows available providers and lists missing commands under unavailable. For example: “claude was not found on your PATH (environment.d); run verdalia-relay config set coding_agents.claude.command <full path>”. That message also accompanies CODING_SESSION_PROVIDER_NOT_FOUND when starting, importing or reopening a session for an enabled provider whose command is missing. A disabled provider gives CODING_SESSION_PROVIDER_DISABLED.

3. Decide what it may do without asking. Oh My Pi asks before every shell command, delete, and move in a Relay session unless an approval mode is set explicitly, and an agent working alone then stops at its first command until someone answers. To let it work unattended in Relay sessions:

verdalia-relay config set coding_agents.omp.approval_mode yolo     # or: write, always-ask

omp config set tools.approvalMode yolo sets the same everywhere you run Oh My Pi. OpenCode asks as its own permission configuration says.

4. Start a session. A running Relay picks up the agent settings above within a few seconds.

On a mount, New session in that mount asks for a Folder (relative to the mount, empty for its root) and a Coding agent among the available providers, then Start session. On a Paseo project it opens a new session in the transcript.

Note: if your Claude Code version is too old, Relay refuses to start the session with agent_outdated: “Claude Code X is older than 2.1.330, the oldest this Relay supports; run claude update”.

An agent that reads images takes them in a message: attach, paste or drop JPEG, PNG or WebP images, up to 8 MB per message. The attach button shows only for agents that accept images.

A session started outside Verdalia in Claude Code, Oh My Pi or OpenCode can be brought in. Import sessions in a mount's menu asks for the folder and the Coding agent, and lists the sessions that agent has stored for the folder: those already in Verdalia are marked Imported with Open, the rest offer Import. Paseo sessions need no import.

Answer Claude Code's questions, including forms from its MCP servers, in the session. If a server asks you to visit a URL, the card shows the full address; Open link opens it in a new tab. Return to the card to answer or decline. See Answer questions.

For workflows and agent tools, a mount session has location.kind: "mount" and location.directory. Change any workflow that tests location.kind == "acp" to test location.kind == "mount".

An operation without a provider uses the only available mount provider. If none or several are available, name the provider to avoid “provider required”.

Paseo#

Relay talks to Paseo on ws://127.0.0.1:6767/ws, Paseo's default, and signs in with the local credential Paseo keeps in ~/.paseo. With Paseo installed and running as you, nothing needs setting; Set up Paseo and start it automatically shows how to keep it running without its app. Relay checks for Paseo in the background, so starting or quitting Paseo needs no Relay restart: its projects appear once it runs, and new Paseo sessions cannot start while it does not.

Every Paseo agent that is not archived is a session in Coding Agents, without importing it; Paseo's background agents and the sub-agents an agent starts are not.

A Paseo project lists one entry per Paseo workspace that has sessions, named as in Paseo, with its branch when that differs from the name, a state dot, and how long ago it last worked. The dot shows what the agents in that workspace are doing in Paseo, the one that most needs you first: needing you, in error, working, idle or closed, whether or not you have opened them. Opening the workspace opens the session you last opened there, or else the one that worked most recently, with every session of the workspace as a tab above the transcript, oldest first. The + tab opens a new session in that workspace.

For Paseo sessions:

  • Archiving or deleting an agent in Paseo takes its session out of the tree.
  • A rename on either side renames the other.
  • Close stops Verdalia watching the session; the agent keeps running in Paseo.
  • Remove from Verdalia archives the agent in Paseo.

New session in a Paseo project, or a workspace's + tab, opens an empty session whose first message starts it. The toolbar under the message box picks where it runs:

  • Existing workspace: one of the project's Paseo workspaces, by name and branch. The + tab starts with its own workspace picked.
  • New local workspace: a new workspace in the project's own folder.
  • New worktree: a new git worktree on a branch. The branch picker searches the project's branches; picking one checks it out, and typing a new name offers Create '', a new branch off the default branch. More sets the base branch, the worktree name, or a pull request number and forge to check out instead.

Beside it, Coding agent lists every agent Paseo knows, such as Claude Code or Codex, with its Model, Thinking, and Mode. An agent Paseo is still checking shows a spinner; one that cannot run shows why. The session header shows the agent and model the session runs on.

Relay remembers, for each Paseo project, the last session started there: in Verdalia, from an agent or a workflow, or in Paseo's own app. A new session starts with that coding agent, its model, thinking and mode, and where it ran: the same existing workspace while it still exists, or a new local workspace or new worktree when that is how it started. Relay also remembers each coding agent's own last model, mode and thinking, so switching agents brings back that agent's choices. In a project with nothing remembered, pick the Coding agent first; its model and mode start at the ones Paseo marks as its defaults, and Start the session waits until everything it needs is picked.

When Relay cannot reach Paseo, the project shows the reason and no new session starts there.

A Paseo session differs from an Oh My Pi or OpenCode one in four ways:

  • A message sent while the agent is working joins the turn it is on, instead of waiting for it to end.
  • Opening a session shows its most recent turns; Load earlier at the top of the transcript fetches the ones before.
  • It holds none of the max_sessions places and is never closed for being idle.
  • An image the agent opens (PNG, JPEG, GIF or WebP, up to 8 MB) shows under that step.

Note: a Paseo started with a password, or listening elsewhere, needs Relay told so: coding_agents.paseo.password, and coding_agents.paseo.endpoint (ws://, wss://, or ws+unix://<socket>:/ws). coding_agents.paseo.home is where Relay looks for the local credential; change it only if Paseo's home is not ~/.paseo.

Set up Paseo and start it automatically#

Paseo is described at the start of Coding agents. Run as a user service, Paseo keeps running without its app open. The unit is built like the relay's in Run it as a user service, which explains the user manager, its PATH, and lingering.

1. Install Paseo. Either Paseo's desktop app, whose RPM installs its CLI at /opt/Paseo/resources/bin/paseo, not on PATH, or its CLI alone, which puts paseo on PATH:

npm install -g @getpaseo/cli

Paseo's own docs cover installing it. Relay connects to it as it is: nothing in Relay needs setting while Paseo uses its default address and home.

2. Write the unit. Create ~/.config/systemd/user/paseo.service:

[Unit]
Description=Paseo daemon

[Service]
Type=simple
ExecStart=/opt/Paseo/resources/bin/paseo daemon run --home %h/.paseo
# Every directory Paseo's agents need: claude, codex, opencode, node, git.
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin
Restart=on-failure
RestartSec=10

[Install]
WantedBy=default.target
  • ExecStart names the CLI by its full path: /opt/Paseo/resources/bin/paseo for the RPM, or what command -v paseo prints for the npm CLI.
  • --home is the same directory as coding_agents.paseo.home, so Relay signs in with that home's credential.
  • PATH is the directories Paseo's agents need, found with command -v claude codex opencode node git in a terminal where they work, followed by /usr/local/bin:/usr/bin. Paseo passes it to every agent it runs, so it is set for Paseo here, independently of the relay's unit. paseo provider diagnostic <provider> shows what the running daemon finds.

3. Enable and start it.

systemctl --user daemon-reload
systemctl --user enable --now paseo
systemctl --user status paseo

The status shows it running. The lingering step from the relay's service makes Paseo start at boot too.

Note: Restart=on-failure restarts a Paseo that crashed. Stopping it deliberately, with the desktop app's Stop daemon or paseo daemon stop, leaves it stopped until systemctl --user start paseo, or until the user manager next starts: at your next login, or at boot with lingering on.

Note: the two units need no ordering. Relay looks for Paseo in the background, so its Paseo projects appear once Paseo listens, whichever starts first.

Note: the service and the desktop app share one daemon. Paseo allows one daemon per home, so a second never starts. Opening the app while the service's daemon runs attaches to it, and quitting the app leaves it running, because the app did not launch it. If the app's own daemon is already running when the unit starts, daemon run answers already_running and launches nothing, and Relay connects to the app's daemon. Quitting the app then stops that daemon, because the app launched it, and the unit does not necessarily bring it back: run systemctl --user start paseo to start the service's daemon again.

This setup is for Linux with systemd; it does not cover Windows.

Session lifecycle#

A session belongs to Verdalia. For Oh My Pi and OpenCode, the Relay runs an agent process for it only while it is in use.

  • Clicking a session that has no process shows Opening…, then the history as the agent replays it. Nothing of the transcript is kept in Verdalia, so a session cannot be viewed while its Relay is offline.
  • The Relay closes a session's process once it has sat idle for five hours: no prompt, no answer, and nothing from the agent. A session working on a prompt or waiting on a permission is never idle. The session stays in the tree and opens again on its next use.
  • coding_agents.max_sessions (default 32) caps how many Oh My Pi and OpenCode processes run at once. Starting or opening one more closes the one idle longest; only when every running one is busy is the new one refused.
  • The session header's menu has Close, which stops the process and keeps the session, and Remove from Verdalia, which takes it out of the tree. Removing leaves the agent's own stored session on the computer, so it can be imported again. For Paseo sessions, see Paseo.
  • A message sent while the agent works is not refused. It shows at once, faded until the agent takes it, and the Relay delivers the session's messages in the order they were sent. Stop this run stops the turn and drops the messages not delivered yet.
  • When an agent works a session, its dew sits in the header. Hovering it offers Take control, which takes the session back from the agent; the composer shows Take control beside the send button, so you can also steer the session yourself and leave it with the agent.

Permission requests#

When the agent asks before a tool call, the request appears in the transcript with the call, the files it touches, and a diff for an edit. The buttons are the agent's own options, such as allow once, always allow, or reject. While a request is open the session's dot in the Coding Agents tree turns orange. A message sent to Oh My Pi or OpenCode meanwhile cancels the request.

Driving a session from a workflow#

Relay Coding Agent names each coding session by its Verdalia id, and the agent with its provider: omp, opencode, or paseo. Left empty, it uses the Relay's only enabled Oh My Pi or OpenCode; with both on, the call fails with provider required until it names one. Start an Oh My Pi session at the root of the projects mount:

{
  "relay_coding_agent": {
    "connection": "<your relay connection>",
    "operation": {
      "op": "start_session",
      "mount": { "mode": "raw", "content": "projects" },
      "path": { "mode": "raw", "content": "" },
      "provider": "omp"
    }
  }
}

The answer is { "session": { "id": ..., ... }, "read": { ... } }, so a Relay Coding Agent node after it can prompt that session (its operation):

{
  "op": "send_prompt",
  "session_id": { "mode": "template", "content": "{{ input.session.id }}" },
  "text": { "mode": "raw", "content": "Summarize this project without changing files." }
}

Send Prompt returns as soon as the relay has the prompt, with the session and the id of the message it sent:

{ "session_id": "01J...", "message_id": "01J..." }

A prompt sent while the agent is busy is kept by the Relay and delivered in order. The reply arrives later as events: a workflow starting from On Coding Agent Event hears the prompt_finished (or prompt_failed) whose message_id matches, and reads the reply with Read Session. A Paseo prompt that joins the running turn gets a prompt_steered event instead, and ends with that turn. The listening workflow can start before the sending one has finished, so a workflow that keeps state across both orders them itself. A permission_requested event says the agent is waiting on a permission. Acting on the reply has the full matching rules.

To answer from a workflow started by the permission_requested event, use Answer Permission Request with the request_id and one of the options[].option_id values the request carried:

{
  "op": "answer_permission_request",
  "session_id": { "mode": "template", "content": "{{ input.session_id }}" },
  "request_id": { "mode": "template", "content": "{{ input.envelope.event.request_id }}" },
  "option_id": { "mode": "raw", "content": "allow_once" }
}

Option ids belong to the agent: Oh My Pi offers allow_once, allow_always, reject_once, and reject_always; OpenCode offers once, always, and reject; Paseo offers the actions of the agent it runs. Prefer the one-time option unless the agent should stop asking. An answer resolves the request, not the turn, which carries on and finishes later.

  • Start Session and Import Session take a mount and a path relative to it, empty for the root. List Importable Sessions lists exactly that directory, not the ones below it.
  • Send Prompt, Open Session and Read Session start a closed session again with its history. The other operations need the session running.
  • Find Session by Provider Id gives the coding session of a session id Oh My Pi, OpenCode or Paseo shows you, or null when it is none; Import Session adds a stored Oh My Pi or OpenCode session.
  • Cancel Running Prompt asks the agent to stop; the turn ends when the agent reports it. Prompts not delivered yet fail with dropped.
  • A failed Start Session may still have created a session. List the importable sessions before starting another.

With the provider set to paseo, the session operations work on Paseo's projects and agents instead of a mount. Start Session asks for the Paseo project, where the session runs (an existing workspace, a new local workspace, or a new worktree on a new branch, an existing branch, or a pull request), and the agent Paseo runs; its model, mode, and thinking may be left empty for their defaults. List Coding Sessions with a Paseo project_id lists that project's sessions. Relay Request with method GET and path /api/coding_agents/paseo/directory answers Paseo's projects, workspaces, and agents with their ids, and each workspace's directory on the computer: a worktree's own folder, or the project's root. A Claude Code session on a new branch:

{
  "op": "start_session",
  "provider": "paseo",
  "project_id": { "mode": "raw", "content": "<paseo project id>" },
  "placement_kind": "new_worktree",
  "worktree_mode": "branch_off",
  "new_branch": { "mode": "raw", "content": "review-readme" },
  "agent_provider": { "mode": "raw", "content": "claude" }
}

Hearing about a session when the page is closed#

Coding Agents shows a session's state only while the page is open, and Relay sends no notifications. The building block for them is On Coding Agent Event, a trigger that starts a workflow from what a session reports. Its event_types default to prompt_finished, prompt_failed, and permission_requested, and a session_id left unset follows every coding session on that connection. The workflow receives {connection_id, session_id, provider, envelope}, where session_id is the coding session's Verdalia id; envelope.event.type says what happened. A session started in Oh My Pi's or OpenCode's own terminal is heard once it is imported. A prompt starts its turn (prompt_started), joins the running one (prompt_steered, Paseo only), or fails (prompt_failed, with dropped when the turn was stopped before it was delivered). Paseo sessions also add notice, compaction, agent_message, and history_reset.

Only events sent while the trigger is installed start a workflow. Events Relay produces while it is disconnected are not delivered later, and nothing replays them. To catch up after a gap, list the coding sessions and read them.

Coding sessions your agents start report back on their own#

A coding session an agent starts with the Relay tools is claimed by that agent's conversation: when it finishes, fails, stops, or asks permission, the agent gets a message and carries on, with nothing to build. The claim stays when the session's process closes, and the next send reopens it. You, workflows and other agents can still send to a claimed session, and its results still go to the agent that claims it. An agent takes over a session, from another agent too, or lets its own go, with coding_agent_claim; an agent that loses a session this way is told. Take control on the Coding Agents page ends the claim and tells the agent once; so does a claimed session leaving the tree. Like the trigger, a report Relay produces while it is disconnected is not sent later.

Computer use#

Allow agents to control your desktop by enabling computer use.

With computer use on, an agent sees the screen and uses the mouse and keyboard of the desktop you are logged in to on that computer, as you, in any program. It is for the work no tool covers: clicking between programs, or an app with no integration.

Computer use needs someone logged in to the desktop. Until then, every action answers no_desktop: "Nobody is logged in to this computer's desktop yet. Computer use starts by itself once a desktop session is running." After a login, the next action uses that session, and after logging out and in again, or switching between Wayland and X11, the next action uses the new one, with no Relay restart.

The agent works from screenshots:

  • Looking. computer_screenshot captures the primary monitor, scaled to at most 1568 px on its long edge, and shows it to the agent as an image. computer_zoom shows a region of it at higher detail. Other monitors are neither seen nor used.
  • Acting. computer_left_click, computer_right_click, computer_middle_click, computer_double_click, computer_triple_click, computer_left_click_drag, computer_mouse_move, computer_left_mouse_down, computer_left_mouse_up, computer_scroll, computer_type, computer_key and computer_hold_key. A coordinate is a pixel in the latest screenshot, and Relay maps it back to the screen. computer_cursor_position and computer_wait complete the set; computer_wait only pauses and never contacts Relay.
  • Pointer position on Wayland. The desktop does not tell Relay where the pointer is, so computer_cursor_position reports the last point Relay moved it to with a move, click, scroll or drag, in pixels of the latest screenshot; moving your own mouse does not change it. Before Relay's first move, and again after Stop, a new login or a Relay restart, it refuses with cursor_unknown: "The pointer position is not known yet on this desktop; move the pointer first." X11 and Windows report the real pointer.
  • Order. Relay carries out one action at a time. Two sessions using the same computer take turns between actions, never within one.
  • Screenshots are kept in your Library as temporary items and deleted after an hour. The chat then shows "Screenshot expired" in their place.

There is no browser integration: the agent reads a web page from the screen, as you do. It needs a model that reads images.

1. Turn it on, on the computer to be controlled.

verdalia-relay config enable computer

A running Relay picks this up within a few seconds. While it is off, every computer tool that reaches the relay answers "Computer use is off on this relay. Enable it with verdalia-relay config enable computer on that computer."

2. Give the agent the tools. Computer use is not one of the tool groups agents have by default. Ask an agent to do something on your computer and it asks for the group on a card in the session: Approve adds it for that agent, Add for all agents for every agent. With no computer connected yet, the card pairs one first, as it does for Relay.

3. Allow control on the desktop. On Wayland, the first action opens a dialog on the computer asking whether Verdalia Relay may control the screen and input. Tick its box to remember the choice and allow it. Relay keeps the permission across a Relay restart and when you log out. On GNOME, whether the next login accepts the kept permission is not confirmed yet; where it does not, the dialog appears once after each login. X11 and Windows show no dialog.

Note: an action waits about 45 seconds for the dialog, then fails with consent_pending, and the dialog stays open. Answer it, then let the agent try again. Declining it fails the action with consent_declined.

4. Approve each action. Every click, scroll, key and text the agent sends is a send, so under the default Ask before level each one raises an approval card. The card marks where a click lands on the latest screenshot, with two markers for a drag, or shows the text or keys it will press. Screenshots, zooms, the cursor position and waits are reads and run without asking. Ask before is a workspace setting: raising it to send lets computer actions through without a card, and every other send with them.

While a card waits, the steps the agent planned after that action wait too, so the screenshot meant to check a click is taken after the click. Sending a message instead of answering cancels the waiting action: its card reads "Not run — you sent a new message", and nothing after it runs.

Stopping control#

On GNOME and KDE an indicator shows while Relay controls the desktop. Its Stop ends control and makes Relay forget the permission. The next action opens the dialog again, and until you allow it, every action fails with stopped_by_user: "The user stopped desktop control. A dialog on the desktop asks to allow it again." Logging out also ends control, but Relay keeps the permission. To keep agents off the desktop, turn the plugin off: verdalia-relay config disable computer.

To try Stop without an agent, run the smoke example from a checkout on the computer, inside the desktop session:

cargo run --manifest-path verdalia-relay/Cargo.toml --example computer_smoke -- watch

It takes a screenshot every 3 seconds and prints screenshot <width>x<height> for each, until Ctrl-C. Press Stop in the indicator: the next line is the stopped_by_user message, and once you allow the dialog that opens, screenshots succeed again.

Typing on Wayland#

computer_type types only characters on every installed keyboard layout, since the relay cannot see which one is active. Text with any other character, such as ✓, or an accented letter one of the layouts lacks, is refused before anything is typed, with untypable and the characters named. X11 and Windows type any character.

Logins#

The computer tools tell the agent to hand logins, CAPTCHAs and anything needing your credentials to you with a question in the session, and never to type a password it read on screen.

Giving an assistant access#

An agent reaches Relay through tools.

  • Relay is a tool group agents do not have until you add it. An agent that needs it asks on a request card, which pairs a computer first when none is connected; you can also add it in the agent's tool settings. relay_list shows every computer you connect with its enabled coding agents and whether computer use is on (unknown for a Relay too old to report it), and its projects (mounts and Paseo projects, each Paseo project with its Paseo id and folder), a page at a time; given one project, it shows that project's Paseo workspaces and branches, and the agents Paseo can run there with their models. relay_sessions lists and searches one project's coding sessions, a page at a time. coding_start starts Oh My Pi or OpenCode in a folder of a mount project; coding_start_paseo starts a Paseo session in a Paseo project, in an existing workspace, a new local workspace, or a new worktree, with the agent, model, mode, and thinking Paseo should use. coding_send, coding_read, coding_stop, coding_close, coding_respond_permission and coding_agent_claim address a coding session by its id, reopening it when needed; and the relay_filesystem_* tools read and change files. With no relay connected, the tools say so. The agent answers a coding agent's permission requests itself; lower Ask before in the Agents settings to approve each answer on a card instead.
  • Computer use is a tool group an agent asks for when it needs it, on a request card that, like Relay's, pairs a computer first when none is connected. Its computer_* tools name the relay on each call and need computer use turned on in that Relay; see Computer use.
  • For anything else, build your own tools: a workflow beginning with a Tool Input node, added to the agent through the Tool Workflow tool group. The node's description and args_schema become the tool's description and parameters, and the arguments arrive under args. Such a tool can fix the connection and mount in its Relay nodes and expose only what the agent should choose. Its arguments are whatever you design, not fields of the Relay nodes.

A tool that relies on context from an agent runs only when an agent calls it, not by hand. For scheduled or manually run automations, use the Relay nodes and On Coding Agent Event directly.

Philips Hue#

Pairing happens on the Relay computer, which must be on the same network as the bridge. None of it needs Relay to be running, and none of it goes through the workspace; a Hue Action node uses the pairing of the Relay its connection picks, and cannot pair a bridge itself.

1. Pair the bridge.

verdalia-relay hue pair

It searches the network, asks which bridge to use when it finds several, and asks you to press the bridge's link button, retrying every five seconds. --ip <ADDRESS> skips the search.

2. Check it from the command line.

verdalia-relay hue status
verdalia-relay hue lights
verdalia-relay hue light <LIGHT-ID> --on --brightness 0.4
verdalia-relay hue groups
verdalia-relay hue scenes

Every listing takes --format json. hue light with no state flags prints the light's state instead of changing it.

3. Use it from a workflow. Add Hue Action. Its operations are List Lights, Get Light, Set Light, List Rooms & Zones, Get Room or Zone, Set Room or Zone, List Scenes, Get Scene, Activate Scene, and Get Bridge Status. A light, room, or scene is chosen By Name (case-insensitive) or By ID. To dim a room called Living Room to half without touching its switches or colour:

{
  "hue_action": {
    "connection": "<your relay connection>",
    "operation": {
      "op": "set_group",
      "group": { "by": "name", "name": { "mode": "raw", "content": "Living Room" } },
      "power": { "power": "unchanged" },
      "brightness": { "mode": "raw", "content": "0.5" },
      "brightness_delta": null,
      "color": { "mode": "unchanged" },
      "transition": null
    }
  }
}

Note: power defaults to Turn On for a light and for a room, so a brightness or colour change also switches the lights on unless power is set to Leave As Is ("unchanged"). A single light can also Toggle; a room cannot.

  • brightness is 0 to 1; brightness_delta is a step from -1 to 1. One write uses one or the other, never both.
  • Colour is RGB (0 to 255), Hue / Saturation (0 to 1), or Colour Temperature (2000 to 6500 K). Keep Colour leaves it as it is.
  • Activate Scene recalls with Apply Scene, Play Palette, or Hold Scene. An empty brightness keeps the levels stored in the scene.

Relay carries out each request as it arrives and schedules nothing. Recalling a scene, playing a sound with Relay Audio, and restoring the room afterwards is a workflow you build from these nodes.

verdalia-relay hue unpair forgets the bridge.

Configuration reference#

Every setting can be changed three ways: verdalia-relay config opens an editor in the terminal (arrows move, Space flips a switch, Enter edits, s saves); the subcommands do the same from a script; or edit the file. The editor and the commands refuse a value Relay would not start with.

verdalia-relay config show                     # every setting
verdalia-relay config get server.port
verdalia-relay config set server.port 9000     # lists are comma-separated
verdalia-relay config unset server.port        # back to the default
verdalia-relay config enable shell             # or: disable <plugin>
verdalia-relay config path                     # where config.json is
verdalia-relay config set --help               # every setting, with what it does

A config with one mount and Oh My Pi:

{
  "version": 4,
  "server": {
    "host": "127.0.0.1",
    "port": 8080,
    "tls_cert_path": null,
    "tls_key_path": null
  },
  "hue": { "enabled": true },
  "filesystem": {
    "enabled": true,
    "mounts": [
      { "name": "projects", "path": "/home/you/projects", "read_only": false }
    ]
  },
  "coding_agents": {
    "enabled": true,
    "opencode": { "enabled": false, "command": "opencode", "args": ["acp"] },
    "omp": { "enabled": true, "command": "omp", "args": ["acp"], "approval_mode": null },
    "paseo": {
      "enabled": true,
      "endpoint": "ws://127.0.0.1:6767/ws",
      "password": null,
      "home": "/home/you/.paseo"
    },
    "max_sessions": 32
  },
  "audio": { "enabled": true, "max_clip_bytes": 16777216, "max_concurrent_clips": 8 },
  "shell": { "enabled": false },
  "computer": { "enabled": false },
  "autoupdate": true
}

dynamic is written by verdalia-relay dynamic pair and is not settable from config. A file without "version" is from an earlier Relay; the first command that reads it brings it up to date.

Setting Default Meaning
server.host 127.0.0.1 Address the API binds to. A Dynamic connection needs nothing else.
server.port 8080 API port. Two Relays on one computer need different ports.
server.allowed_origins workspace origins CORS origins. An empty list allows every origin.
server.tls_cert_path, server.tls_key_path none Both set: the API serves HTTPS.
autoupdate on Install each new version of Relay as it is released. See Updates.
coding_agents.opencode.enabled, coding_agents.omp.enabled on, off Whether sessions may run on that agent; both may be on.
coding_agents.omp.command, coding_agents.opencode.command omp, opencode The agent's executable, by name on the PATH from environment.d or as a full path.
coding_agents.omp.args, coding_agents.opencode.args acp Arguments that start the agent in ACP mode.
coding_agents.omp.approval_mode none always-ask, write, or yolo, passed to Oh My Pi as --approval-mode. None leaves Oh My Pi's config in charge.
coding_agents.paseo.enabled on Whether Relay connects to Paseo. Without Paseo running, on does nothing.
coding_agents.paseo.endpoint ws://127.0.0.1:6767/ws Where Paseo listens: ws://, wss://, or ws+unix://<socket>:/ws.
coding_agents.paseo.password none Paseo's password, when it requires one. None signs in with Paseo's local credential, if there is one.
coding_agents.paseo.home ~/.paseo Paseo's home folder, where its local credential is.
coding_agents.max_sessions 32 Most Oh My Pi and OpenCode agents running at once. Paseo sessions do not count.
audio.max_clip_bytes, audio.max_concurrent_clips 16777216, 8 Largest clip, and most clips playing at once.

verdalia-relay serve --host <HOST> --port <PORT> overrides server.host and server.port for one run.

Environment#

Relay itself reads RUST_LOG, the log level (info for serve, warn for every other command). It finds the desktop for computer use in the user manager's environment when computer use is called, then in its own environment when that gives no live desktop. Everything else in its environment is not read by Relay but passed on to the coding agents and shell commands it starts, with the two changes Run it as a user service describes: PATH from environment.d, and the display variables of the desktop someone is logged in to. HOME decides where the agent keeps its own configuration and sessions, and SHELL which shell the shell plugin runs.

Static connections#

A Static connection is for a Relay on a host with its own stable HTTPS address, such as a server reached through a reverse proxy or a tunnel. The workspace then sends signed requests to that address instead of using Relay's outbound connection.

1. Create a workspace public key. On Settings → Connections, the Public Key card has Create Public Key; copy the key.

2. Authorize it on the Relay.

verdalia-relay key create --name "workspace"     # prompts for the public key
verdalia-relay key list
verdalia-relay key revoke <ID>

key create prints an API key starting with relay_ once; it cannot be shown again.

3. Expose the API over HTTPS. Set tls_cert_path and tls_key_path, or put a reverse proxy or tunnel in front of server.port, binding server.host to 0.0.0.0 when the proxy runs on another host. Do not expose the plain HTTP port to the internet.

4. Create the connection. Add Connection → Verdalia Relay, choose Use a Relay URL instead, then fill in the URL and API key, and Test. Turn Verify TLS certificate off only for a self-signed certificate during development.

A Static Relay has no outbound connection, so On Coding Agent Event works only if the Relay can reach the workspace's own address to post events back.

Troubleshooting#

Starting a session says `omp` was not found on your PATH (…). The agent is not in a directory on the PATH Relay's programs get, and the parentheses say which PATH that was, as in step 5. Add its directory to ~/.config/environment.d/99-user-path.conf, or set the full path with the command the message names, and start the session again. No restart is needed.

The agent starts, but its commands fail with command not found. The agent's PATH lacks the directory of the tool it ran. Check the PATH with Relay Shell as in step 5, add the directory to your environment.d file, and start the session again.

The connection shows offline. Check systemctl --user status verdalia-relay and the log. A computer that slept drops the connection; Relay reconnects on its own once it is awake.

Pairing says the code expired. Generate a new pairing command on the connection and run that.

A plugin answers that it is off or waiting. verdalia-relay status names its state; enable it or add a mount. If it still answers the same, the log says why the change was not applied.

serve fails to bind its port. Another Relay is already running, often one started in a terminal while the service also runs. Stop one of them.

A computer action says consent_pending. The permission dialog is open on the computer and nobody has answered it. Allow it there, then have the agent try again.

A computer action says stopped_by_user. Someone pressed Stop in the desktop's indicator, and Relay forgot the permission. Allow the dialog that is now open on the computer.

computer_type says untypable. The text holds characters missing from the active keyboard layout, and the message names them. Nothing was typed. Switch to a layout that has them, or have the agent enter the text another way.

A computer action says no_desktop. Relay found no desktop it can control: nobody is logged in to the computer's desktop yet, which the message then says, or the desktop is a Wayland desktop other than GNOME or KDE. Log in to a GNOME, KDE or X11 session; the next action uses it, with no Relay restart.

computer_cursor_position says cursor_unknown. On Wayland Relay knows only where it last put the pointer, and it has not moved it yet in this desktop session. Nothing is wrong: have the agent move the pointer or click first, then ask again.

A computer action says "Relay … could not run the action". Relay tried and failed, rather than refusing: action_failed when the mouse or keyboard input could not be sent, capture_failed when the screen could not be captured. The rest of the message is Relay's reason, and the Relay log (journalctl --user -u verdalia-relay) has the detail. Have the agent try again; if it keeps failing, run systemctl --user restart verdalia-relay.

Paseo is running, but no Paseo projects appear. Relay has not reached it: Paseo listens somewhere other than coding_agents.paseo.endpoint, wants a password Relay was not given, or runs as another user, whose local credential Relay cannot read. The Relay log says which. Set the endpoint or password; Relay keeps retrying on its own.

Next steps#

Workflow basics covers building the workflows that put Relay's nodes to work.