Daemon

Viewport Daemon

Run Claude Code or any command on a machine you control, record every session event, hold risky tool calls for approval, and drive it from another device.

Viewport Daemon runs Claude Code, or any command, on a machine you control. It records every session event in order, holds risky tool calls until a policy or a paired person decides, and lets viewers on other devices drive it over an end-to-end encrypted channel.

Status
On npm
Languages
TypeScript
License
Apache 2.0
Source
viewportai/daemon

The daemon runs where your agents run: a laptop, a build box, a server. It starts each agent as a session, keeps an ordered log of everything the session does, and stops any tool call a policy does not settle until a paired controller answers it. Viewers on other devices pair by key and talk to it over an end-to-end encrypted channel, directly or through a relay.

What it does

Start the daemon, run your tests as a session, and list what ran:

terminal
vpd up --name dev
vpd run -- npm test --silent
vpd ls
output
$ vpd run -- npm test --silent
[viewport-daemon] ses_01M8MD72A6J1GG7KTFQEMYBHV6
12 tests passed
$ vpd ls
ID                              RUNNER   STATUS  CREATED              NAME
ses_01M8MD72A6J1GG7KTFQEMYBHV6  command  exited  2026-11-29 14:41:21

vpd is short for viewport-daemon. vpd run streams the session and exits with its exit code; vpd start runs it in the background, and vpd attach and vpd stop pick it up later. vpd down stops the daemon.

Install

Viewport Daemon@viewportai/daemon 0.32.1
npm install -g @viewportai/daemon

The built package runs on Node 22 or later. Linux needs bubblewrap (sudo apt-get install -y bubblewrap); macOS needs nothing else. The claude-code runner also needs @anthropic-ai/claude-agent-sdk and its own login token; the command runner needs neither.

On this page