---
title: "Your computer for your agents · OpenVibe.Bot"
canonical: "https://openvibe.bot/docs/computers"
updated: null
---

# Your computer for your agents · OpenVibe.Bot

HTML: [Your computer for your agents · OpenVibe.Bot](https://openvibe.bot/docs/computers)

[Home](/)

# Your computer for your agents

The OpenVibe Link's computer plugin lets your agents use your own computer: its terminal, its files, its screen and (when you allow it) its mouse and keyboard. It is off unless you install it, it never runs as root, and you decide what it may do on the computer itself. Nothing on OpenVibe can raise that level.

## Install it

On [Your machines](https://openvibe.link/machines), choose **Add a machine** and run the command under **Let your agents use it** on the computer, from your own account (the installer uses sudo itself):

~~~~
curl -fsSL https://openvibe.link/install | sh -s -- \
  --network https://openvibe.network --pairing pair_… --code ABCD-1234 --computer ask
~~~~

The installer is also at [openvibe.link/install](https://openvibe.link/install), which keeps working. What the Link is and what it does is on [openvibe.link](https://openvibe.link).

The Link then runs as you, never as root, and its only folder is your home folder. Linux for now; elsewhere, run the Link in your own session with the plugin in its config ([computer.md](https://github.com/OpenVibers/OpenVibe.Link/blob/main/docs/computer.md)).

## Levels, set on the computer

- **observe** (the default): take a screenshot; list, inspect and read files inside its folders.
- **ask**: also run programs, write files there and use the mouse and keyboard, each only after you approve it on the computer (the approval says exactly what: "click at 640, 360", "type 12 characters", "press ctrl+s").
- **trusted**: run programs, write files inside its folders and use the mouse and keyboard without asking.
- **full**: as trusted, anywhere your account can reach.

A program is always a program and its arguments, never a shell line. It runs for at most the time you set (30 seconds by default), at most two at once, and its output is cut at 64 KB. A path is checked after links are followed, so a link out of a folder is outside it.

## Approving on the computer

At level **ask**, a request waits up to two minutes for your answer. You can answer in three places:

- **The tray** (Linux and Windows). `openvibe-link tray` lists what waits, each with **Approve** and **Deny**, beside the stop and resume. It raises a notification with the same two buttons, and its icon turns amber while something waits. The installer starts it when you sign in.
- **A notification or dialog** from the Link itself when it runs in your session: buttons on Linux, a dialog whose default is Deny on macOS.
- **The command line**:

~~~~
openvibe-link approvals          # what waits: id, kind, what it would do
openvibe-link approve cmd_01J…   # let it run
openvibe-link deny cmd_01J…      # refuse it
openvibe-link stop               # the kill switch: observe only until resume
openvibe-link tray               # the same in your notification area (Linux, Windows)
~~~~

An approval is not taken while the agent is using the mouse or keyboard, nor for two seconds after, so a click the agent makes can never press Approve. Deny always goes through.

The local stop drops the computer to observe at once: what runs is killed, what waits is denied, and nothing runs or changes until you resume.

## Your agent

On [Your machines](https://openvibe.link/machines), **Let my agent use this computer** is off until you turn it on. With it on, a task you give [OpenVibe.Actor](https://openvibe.actor), such as "what changed in ~/site today?", can list and read files, run programs and write files there, as you and at your level. The [Console](https://openvibe.actor/console) shows what waits for you. Turning the switch off stops it at once.

**Let my watches check things from this computer** is a separate switch. It lets [OpenVibe.Watch](https://openvibe.watch) probe your own network from the computer for your watches, for example "tell me when my NAS stops answering". It allows only probes: one GET or one TCP connect, to private addresses only.

## Desks: a computer of its own for each task

Your agent does not use your screen. Each task gets a **desk** on one of your machines: a screen, browser, files and sign-ins of its own, so several tasks work at once without touching each other or you.

- **Two kinds.** A **browser desk** is a browser alone, with no screen to draw. It costs about half as much, so it is what most web work gets, and it runs on a Mac too. A **whole desk** is a full screen where the agent can also open programs, such as an office suite or a terminal (OpenVibe Link v0.26.0; Linux).
- **Watch it, take it over.** A running task shows **Watch and take over** on its page in [OpenVibe.Actor](https://openvibe.actor), and Vibe offers the same link in your chat. While you use the mouse and keyboard there, the agent waits; when you stop, it goes on.
- **It hands you the steps that are yours.** For a sign-in, a code sent to your phone, a CAPTCHA or a payment, the agent gets the page ready and asks you to do that step on its desk ("Needs you"). It never types a password itself.
- **Sign in once.** On OpenVibe Link v0.24.0 or newer, your agent's browser profile is kept on each machine: a site you signed in to on one task's desk is still signed in on the next.
- **Never your own network.** Every page the agent's browser opens goes through a guard on the machine (Link v0.25.0): nothing on it can reach your router, printer or other computers at home, unless you set the machine to **full**.
- **A spare computer as a desk host.** An old laptop or a mini PC can host desks for all your tasks: on [Your machines](https://openvibe.link/machines), choose **Add a machine** and run the desk host command (Linux). It needs no screen, keyboard or sign-in, runs under an account of its own, and is used before your own computer when a task can work anywhere.
- **See and stop them.** Each machine says how many desks run on it; **See its desks** lists them, to watch, take over or stop. A desk nobody uses for 15 minutes stops by itself, and the computer's kill switch (`openvibe-link stop`) stops them all.

How many run at once depends on the machine's memory (one whole desk per 2 GB by default; a browser desk counts as half). The details are in [computer.md](https://github.com/OpenVibers/OpenVibe.Link/blob/main/docs/computer.md).

## Your own models

If you run a model on your computer (Ollama, LM Studio or llama.cpp's server), your OpenVibe AI can think with it: free, private to you, and with no port opened.

- **Set it up.** On [Your machines](https://openvibe.link/machines), choose **Add a machine** and run the command under **Use the models you run on it**, or add `--ai` to any other one (OpenVibe Link v0.28.0 or newer). The installer says which model server it finds.
- **Turn it on.** The machine's card lists its models and how fast they answer there. **Let my AI use this computer's models** lets OpenVibe ask them for you; nothing reaches them before that.
- **Use it.** **Use these models in OpenVibe.Chat** fills in "Your AI key" on OpenVibe.Chat. Your Vibe and the AI members you set up can then think with your computer. On OpenVibe.Live, a streamer's AI viewers can too: choose **A model on my own computer** as their AI source.
- **Any of your computers.** Choose **any of my computers** instead of one, and OpenVibe asks the fastest of yours that is on and has the model, then the next when one is busy.
- **Only yours, only for you.** A request goes to your computer only when it is your own work, and never to anyone else's computer. When your computer is off, it waits for you: it is never answered by another provider in its place. The machine's record on openvibe.bot keeps the model and how much was asked, never the text.

The details are in [ai.md](https://github.com/OpenVibers/OpenVibe.Link/blob/main/docs/ai.md).

## Watch your screen live

On [Your machines](https://openvibe.link/machines), **Show my screen** shows the computer's screen live, to you only, for 10 minutes (30 seconds to 30 minutes through the API).

- **Private.** It goes to a private stream of that computer's own: nothing is recorded, it never appears on OpenVibe Live, and only you can open it. Your agents, your watches and anyone else cannot start it.
- **How it is captured.** The computer takes a few pictures of its screen a second with the same tools as a screenshot. It needs OpenVibe Link v0.12.0 or newer, with the computer plugin running in your desktop session.
- **It says so.** The desktop shows a notice when it starts, and `openvibe-link status` shows it while it runs.
- **Stopping it.** **Stop showing my screen** ends it, and so do its time running out and `openvibe-link stop` on the computer, at once. To never offer it, set `allow_screen_stream: false` in the plugin's config.

From the API, with your own token: `POST /api/v1/machines/:id/screen` (`seconds`, `fps` from 1 to 5) starts it, `GET` answers `signaling_url` once the computer is sending, and `DELETE` stops it.

## The API

Your own token reaches your own computers. The answer comes back in `data`:

~~~~
curl -X POST https://openvibe.bot/api/v1/machines/dev_…/commands \
  -H "Authorization: Bearer $OPENVIBE_TOKEN" -H "Content-Type: application/json" \
  -d '{"kind": "exec", "value": {"argv": ["git", "status", "--short"], "cwd": "/home/you/site"}}'
# Response: {"machine_id": "dev_…", "result": "ack", "data": {"exit_code": 0, "stdout": " M index.html\n", …}}
~~~~

- `exec`: `argv`, `cwd`, `timeout_s`, `stdin`, and returns `exit_code`, `stdout`, `stderr`, `truncated`, `timed_out`.
- `fs`: `op` list, stat, read (`offset`, `length`), write (`content_b64`, `mode` create, overwrite or append) or mkdir, and an absolute `path`.
- `screen`: `max_width`, and returns a JPEG in `content_b64`.
- `browser`: `action`, which is one of: 

  - `open` a `url`;
  - `click` a CSS `selector` or the button or link showing `text`;
  - `fill` a field (`selector` and `text`);
  - `press` a `key`;
  - `back`, `read`, `screenshot` or `close`.

   The page answers with its URL, title, text and links. The browser is the agent's own, in a profile of its own on your computer; it never sees your browser's sessions. Reading, screenshots and closing run at every level; the rest are approved one by one at ask. Below full, `open` refuses an address on your own network. The audit keeps the host, the selector, the key and the number of characters filled, never the text.
- `input`: `action` (`move`, `click`, `double_click`, `right_click` at `x`, `y`; `scroll` by `dy`; `type` a `text`; `key` one key or chord such as `ctrl+s`), with `width` and `height` of the screenshot the coordinates come from; the computer scales them to its real screen. It acts, so your level decides: never at observe, approved one by one at ask. xdotool on Linux (X11), cliclick on macOS. The audit keeps the action and the number of characters typed, never the text.
- `desk`: `action` `start` (with `desk` `desk-<name>`, `kind` `browser` or `desktop`, and a kept `profile`), `stop`, `status` or `list`. `screen`, `input`, `browser` and `exec` then take the same `desk` to act there, never on your own screen; `exec` also takes `detach` to leave a program running on a whole desk until the desk stops.
- `ai`: `model` (one of its models), `messages` (`role` and `content`), `max_tokens`, `temperature`, and returns `message`, `usage` and `ms`, from the computer's own model server. `POST /api/v1/machines/:id/ai-models` with `on` is the switch above; OpenVibe's own AI uses the models only while it is on.
- `probe`: `target` (`http(s)://…` or `tcp://host:port` on the computer's own network), and returns the status and body of one GET, or whether the port is open. It is read-only and runs at every level.

`GET /api/v1/machines` lists your machines with their level, its `node_id` on Network (`lnk_…`) and, for a machine running OpenVibe.Codes agents, the `fleet` its Link last reported (`fleet_at` says when): each agent's id, whether it is installed and signed in, and each limit window's label, used and limit and when it frees — labels, numbers and times only, never a key, a token or an account name. A machine whose plugin is off answers `409 bot.computer_off`; a refusal on the computer answers `result: "nack"` with the reason. The audit keeps the program name or the file and path, never its content.

The Link and its bundled drivers are in [OpenVibers/OpenVibe.Link](https://github.com/OpenVibers/OpenVibe.Link/tree/main/plugins); the full protocol is [protocol.md](https://github.com/OpenVibers/OpenVibe.Link/blob/main/docs/protocol.md) and the plugin contract is [plugins.md](https://github.com/OpenVibers/OpenVibe.Link/blob/main/docs/plugins.md).
