Relay
Let your agents and workflows use your own computer's files, coding agents, desktop and speakers, and your Hue lights.
Verdalia Relay is a small program you run on your own computer so your agents and workflows can work there. For example, your agent can have Claude Code fix a failing test in your project and tell you when it's done, while a workflow dims the living-room lights every evening at 22:00.
How Relay fits in your workspace#
Relay reaches what exists only on your computer or your home network: your project and notes folders, Claude Code or OpenCode signed in with your account, desktop apps, the speakers, and the Hue lights on your bridge.
Agents use Relay tools to read and change files and to start and steer coding sessions. With computer use on, they also see the screen and use the mouse and keyboard. Workflows use Relay nodes for files, shell commands, coding sessions, sound and lights.
Gmail, Google Drive and GitHub are reached through connections, which keep working while the computer is off.
The six plugins#
Relay's abilities come in six plugins, each with its own switch on the computer. Four are on when you install Relay; Shell and Computer stay off until you turn them on.
| Plugin | What it does | When installed | Agents | Workflows |
|---|---|---|---|---|
| Filesystem | Lists, reads, writes, edits, moves, deletes and searches files in your mounts, and downloads Library items into them | On | Yes | Yes |
| Coding agents | Runs Oh My Pi or OpenCode in a mount, and drives the sessions of Paseo, which runs Claude Code, Codex and others | On | Yes | Yes |
| Computer | Takes screenshots and uses the mouse and keyboard on your desktop | Off | Yes | No |
| Hue | Lists and controls Hue lights, rooms, zones and scenes | On | No | Yes |
| Audio | Plays sound clips on the computer's speakers | On | No | Yes |
| Shell | Runs one command line, or one program with its arguments, in a folder inside a mount | Off | No | Yes |
Hue, Audio and Shell are workflow nodes only. To give an agent one of them, build a small workflow around the node and give it to the agent as a tool (see Let your agent dim the lights).
Ways to reach your computer#
- Open Coding Agents in the sidebar to start, read and take over coding sessions on each computer (see Coding Agents). Browse on a computer's row in Settings → Connections shows the lights, rooms and scenes of its paired Hue bridge.
- Ask an agent for something on your computer, such as "Look through my notes folder for anything about the Lisbon trip" or "Start Claude Code in my website project and have it fix the broken contact form". The first time, the agent asks for the Relay tools on a card in the session, or for Computer use to see the screen and use the mouse and keyboard.
- In a workflow, add a Relay node and pick the computer in its Connection field. Any trigger
can start it: a schedule, an email, a webhook, a Discord or Telegram message, a task coming due.
On Coding Agent Event starts a workflow when a coding session on the computer finishes,
fails, asks permission or asks a question. One Relay node can serve several computers: write a
template such as
{{ input.connection_id }}in its Connection field and it uses the computer its input names on each run. - Another AI app connected over MCP can run your workflows, including ones built from Relay nodes.
- On the computer, you set Relay up from the command line with
verdalia-relay: pairing, mounts, plugins and Hue pairing.
Coding agents and Verdalia over MCP#
The coding agents Relay runs use their own settings and sign-in on your computer. Connect them to Verdalia over MCP as well, and a coding session your agent started can read the design document it was pointed at and update the task it was working on.
Connect a computer#
Relay runs on Linux and Windows. Download it from the Downloads page; the Relay setup guide covers installing it and keeping it running as a service. A paired Relay connects out to your workspace and needs no open port.
Each computer is its own connection. To pair one:
- Open Settings → Connections, choose Add Connection, then Verdalia Relay. You can change the connection's name at the top of the dialog.
- Under Pair your Relay, copy the command and run it in a terminal on the computer. It looks
like
verdalia-relay dynamic pair <PAIRING-CODE> --api-base-url <API-URL>, and it expires after 10 minutes. - Start Relay on the computer (
verdalia-relay serve, or the service from the setup guide). The dialog reads Relay is online; choose Finish. - Give Relay a folder to work in:
verdalia-relay config mount add projects ~/projects.
Pair later keeps the connection, and it finishes pairing when Relay comes online.
For a computer with its own public address, Use a Relay URL instead connects by URL and an API
key made on the computer with verdalia-relay key create. The setup guide covers it.
Mounts#
A mount is a name for one folder on your computer, such as projects for ~/projects or notes
for ~/Documents/notes. The file tools, the Relay Filesystem and Relay Shell nodes, and Oh My Pi
and OpenCode sessions pick a mount by that name.
verdalia-relay config mount add projects ~/projects
verdalia-relay config mount add notes ~/Documents/notes --read-only
File paths stay inside the mount: paths outside it are refused, and a read-only mount refuses every write, edit, move and delete, and every shell command and program. For Oh My Pi, OpenCode, shell commands and programs, a mount sets only where they start. From there they run as your user and reach anything you can, within their own permission settings.
Mount only the folders your agents and workflows need, and make a mount read-only when it is only read.
View a file in a mount#
Ask your agent, for example, "Read reports/october.pdf in my projects mount and tell me the
total." View File works in read-only mounts and opens PDFs,
supported images and text files. Relay returns file details without reading files over 8 MiB.
Viewing a file does not add it to the Library.
When the computer is offline#
Relay carries out each request as it arrives, while the computer is awake and Relay is running. While it is not, requests fail and are not queued. A nightly workflow that needs the computer can start with Relay Status, and skip the run or send you a message when the computer is offline.
A coding session's history stays with the coding agent on the computer, so the coding session can't be opened while that computer is offline. Restarting Relay ends every running Oh My Pi and OpenCode process; the coding sessions stay, and open again from Coding Agents.
Library items on your computer#
Relay Filesystem's Download Library Item writes a Library item's file into a mount, at any size. Verdalia hands Relay a link to the file that is valid for 15 minutes, and Relay fetches the file from storage itself, so the file never passes through the workflow. Relay writes to a hidden file beside the destination and gives it its name only once its size and SHA-256 match the item's; if anything goes wrong, including Relay restarting, the destination is untouched and the step fails, naming why. The link stays out of logs and step outputs, and the item keeps its sharing settings.
Give an agent your computer#
To give an agent the Relay or Computer use tool group, ask it for something that needs your computer, and it asks for the group on a card in the session. Or open Agent settings, choose the agent, and under Tools choose Add group, then Relay or Computer use.
The workspace's Ask before setting, in Agent settings, decides which calls wait on an approval card. By default:
- reading, writing and editing files runs; deleting a file is destructive and asks first;
- starting, messaging and stopping coding sessions runs, and so does the agent's answer to a coding agent's permission request or question. To approve each answer yourself, lower Ask before so changes ask too;
- every click, scroll, key press and piece of typed text on the desktop asks first, on a card that marks where the click lands on the latest screenshot or shows the text. Screenshots, zooms and waits run without asking.
Coding sessions that report back#
When a coding session an agent has taken finishes, fails, stops, asks permission or asks a question, the agent is notified, whoever sent the coding agent its work. It reads what the coding agent did, answers the request or brings it to you, and updates any task it was working from. You and your workflows can still send to the coding session. Another agent that takes it over gets its results from then on, and the first agent is told. On the Coding Agents page, Take control takes a coding session back from the agent.
Computer use#
With the Computer plugin on, an agent sees the screen and uses the mouse and keyboard of your desktop, as you, in any program, such as a vendor portal with no integration.
To turn it on, run verdalia-relay config enable computer on the computer, then let the agent ask
for Computer use. On Wayland the first action opens a dialog on the computer asking whether
Verdalia Relay may control the screen; allow it once and Relay remembers.
Computer use works on GNOME or KDE on Wayland, on X11, and on Windows when Relay runs in your
logged-on session. It needs someone logged in to the computer's desktop: before that, an action
answers "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 works, with no Relay restart. The
agent sees the primary monitor only, needs a model that reads images, and hands logins and
CAPTCHAs to you with a question. On GNOME and KDE, Stop in the desktop's indicator ends
control and makes Relay forget your permission; logging out ends control and keeps it. To turn
computer use off, run verdalia-relay config disable computer.
Lights and sound#
Pair the Hue bridge on the computer with verdalia-relay hue pair and press the bridge's link
button. Hue Action then lists and sets lights, rooms and zones and activates scenes, choosing
each by name or ID. Setting a light's brightness or colour also turns it on, unless Power is
set to Leave As Is.
Relay Audio plays a clip on the computer's speakers, stops it, or reports what is playing. It plays MP3, WAV, FLAC, OGG and M4A clips of up to 5 minutes and 16 MiB, so set a Generate Speech node feeding it to one of those formats; Opus is refused.
Agent tools and workflow nodes#
Agents find these tools in two tool groups, Relay and Computer use, which an agent asks for or you add (see Give an agent your computer).
Agent tools: Relay#
- List Relays: lists your computers, whether computer use is on, and their projects, a page at a time.
- List Coding Sessions: lists and searches one project's coding sessions, a page at a time.
- Start Coding Session: starts Oh My Pi or OpenCode in a folder of a mount, with a first message.
- Start Paseo Session: starts Claude Code, Codex or another agent through Paseo, in an existing workspace, a new one, or a new git worktree.
- Send to Coding Session: tells a coding agent more, reopening the coding session if it was closed.
- Read Coding Session: shows a coding session's state, latest reply, open permission requests and questions, waiting messages and who sent each, and recent work.
- Stop Coding Session: stops what the coding agent is doing; the coding session stays open.
- Close Coding Session: ends the coding session's process; the coding session stays and reopens on its next use.
- Answer Coding Permission: answers a coding agent's permission request with one of its options.
- Answer Coding Question: answers a coding agent's questions, or declines them.
- Claim Coding Session: takes over a coding session, from another agent too, or lets one go.
- List Relay Filesystem, Stat Relay Filesystem Path, Read Relay Filesystem File, Grep Relay Filesystem: list, inspect, read and search files in a mount.
- View File: opens a file in a mount for the agent to inspect.
- Write Relay Filesystem File, Append Relay Filesystem File, Edit Relay Filesystem File, Create Relay Filesystem Directory, Move Relay Filesystem Path: change files and folders in a mount.
- Delete Relay Filesystem Path: deletes a file or folder in a mount.
Agent tools: Computer use#
- Screenshot and Zoom: show the agent the screen, or one region of it in detail. Captures are kept privately for 1 hour outside the Library.
- Left click, Right click, Middle click, Double click, Triple click: click at a point on the screen.
- Drag, Move mouse, Left mouse down, Left mouse up, Scroll: move the pointer, drag and scroll.
- Type, Press keys, Hold keys: type text and press keys or shortcuts.
- Cursor position and Wait: find the pointer, or wait for the screen to settle.
Workflow triggers#
- On Coding Agent Event: starts a workflow when a coding session on a computer finishes, fails, asks permission, asks a question, or reports another event you choose.
Workflow nodes#
- Relay Status: checks whether a computer is online.
- Relay Filesystem: one file operation in a mount: list, read, write, append, edit, create a folder, move, delete or search, or download a Library item's file into the mount, at any size.
- Relay Coding Agent: lists, finds, imports, starts, opens, prompts and reads coding sessions, and answers permission requests and questions.
- Relay Shell: runs one command line under your shell, or starts one program with a list of arguments that no shell reads, in a folder inside a mount, for up to 50 seconds. Needs the Shell plugin. Use the program form for anything built from data, such as a branch name.
- Hue Action: lists and controls Hue 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, for what the other nodes don't cover.
Examples#
Hand a planned feature to a coding agent#
Ask your agent "Help me plan the CSV export for the invoices app", and it writes the plan as a Library document and creates a task for it. Then say "Start Claude Code on it in a new worktree": the agent starts a Paseo session with a prompt that links the document, answers the coding agent's questions or brings them to you, and updates the task and tells you when it's ready for review.
Get a Telegram message when a coding agent needs you#
On Coding Agent Event starts the workflow for every coding session on your computer. An If step passes only permission requests, and Telegram Send messages you "Your coding agent is waiting for permission" so you can answer it on the Coding Agents page.
Turn the to-dos in your notes folder into tasks#
Mount your notes folder read-only as notes. Every weekday at 07:30 a Cron Trigger starts a
workflow in which Relay Filesystem searches the mount for TODO. An AI Agent step turns each line
into a title and, where the note gives one, a date, and a Task step creates each task.
Copy a Drive video to your computer#
Google Drive's Download File, with its destination set to the Library, saves the video as a
Library item. Relay Filesystem's Download Library Item then writes {{ input }} to
videos/talk.mp4 in your projects mount.
Hear when it's time to leave#
A Task Due Trigger fires when "Leave for the dentist" comes due. Generate Speech says "Time to leave for the dentist" as MP3, Relay Audio plays it on the computer's speakers, and Hue Action activates the Bright scene in the study.
Let your agent dim the lights#
Ask your agent to "Build me a tool that dims a room to a brightness I give you." The workflow it builds takes a room and a brightness in Tool Input and sets that room with Hue Action, with the computer fixed in its Connection field; you add it as the agent's tool on a card, and "Dim the living room to 30%" then works from any session. A Relay Shell workflow with a fixed command gives an agent a tool that runs your test suite the same way.
Settings#
On the computer#
Run verdalia-relay config for an editor in the terminal, or use its subcommands. Changes to where
Relay listens and to its pairing apply at the next restart. Settings are in
~/.config/verdalia-relay/ on Linux and %APPDATA%\verdalia-relay\ on Windows.
- Plugins:
verdalia-relay config enable shell,verdalia-relay config disable computer, and so on forfilesystem,coding_agents,hue,audio,shellandcomputer. - Mounts:
verdalia-relay config mount add <name> <folder> [--read-only],mount list,mount remove <name>. - Coding agents: OpenCode and Paseo are on and Oh My Pi is off when installed. Oh My Pi asks
before every command unless you set
coding_agents.omp.approval_mode; an agent working alone stops at its first command until someone answers. - Status:
verdalia-relay statusshows each plugin ason,off, or waiting for a mount, and the paired workspace and Hue bridge.
In the workspace#
- Settings → Connections: each computer's connection, its name, and pairing.
- Agent settings → Tools: the Relay and Computer use groups, for one agent or all.
- Agent settings → Ask before: which agent actions wait on an approval card.
Troubleshooting#
An agent or workflow says the computer can't be reached#
The computer is asleep, or Relay isn't running. Run verdalia-relay status on the computer, and
see the setup guide to keep Relay running as a service.
A coding agent can't start, or its commands fail with "command not found"#
Relay starts Oh My Pi and OpenCode, and everything they run, with the PATH declared in
~/.config/environment.d on the computer, or Relay's own PATH when no file there declares one.
Add the folders your tools live in to that file, as the
setup guide shows; the next session gets them,
with no Relay restart. Or set the agent's full path in coding_agents.omp.command or
coding_agents.opencode.command.
Relay Shell fails with "was not found on your PATH"#
A program run by name is looked up on the PATH declared in ~/.config/environment.d on the
computer, and the message says which PATH it searched: (environment.d), or
(Relay's PATH: no PATH in ~/.config/environment.d) when no file there declares one. Add the
program's folder to that file, as the setup guide
shows, or give the program's full path as its first argument.
Relay Shell says the Relay's version cannot start a program without a shell#
The computer runs a Relay from before programs could be started without a shell. Relay installs a new version itself within the hour unless it cannot write its own executable or you kept the version you have (see Updates); once it has updated, the node runs.
Download Library Item says the Relay's version cannot download Library items#
The computer runs a Relay from before Library items could be downloaded to it. Once Relay has updated itself (see Updates), the step runs.
Computer use says it is off#
Run verdalia-relay config enable computer on that computer. If it then answers that nobody is
logged in to the desktop, log in to it; computer use starts by itself, with no Relay restart.
The pairing command expired#
Choose Generate new pairing command in the connection dialog and run the new one.
Related#
- Coding Agents: start, read and take over coding sessions from the app.
- Agents: tool groups, request cards and Ask before.
- Workflows: triggers, nodes, and turning a workflow into an agent's tool.
- Connections: every connection in your workspace, your computers included.
- MCP: connect the coding agents on your computer back to your workspace.
- Relay setup guide: installing, running as a service, Windows, Hue pairing and every setting.