Skip to content

Viewport Daemon

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.

On npmOn npm. Install it today.
npm install -g @viewportai/daemon
Sessionsvpd ls2 active
  • claude-code~/src/shoprunning
  • claude-code~/src/apiwaiting
  • command~/src/docsrunning
  • claude-code~/src/infraexited

claude-code wants to run npm install zod

DenyAllow
Sample data.

What it does

A CLI and a library

vpd up starts a background daemon; run, start, ls, attach and stop drive sessions. The same supervisor is a TypeScript library.

Every event, in order

Each session keeps an ordered event log. Viewers stream it from any point without gaps or duplicates, and a crashed daemon's sessions are marked, not lost.

Approvals before tool calls

A policy decides first. Anything it does not settle waits for a paired controller, bound to a digest of the exact action.

Pair any viewer

Console, a phone or CI pair by key over a direct channel or a relay. Traffic is end-to-end encrypted; the relay forwards bytes it cannot read.

Limits today

  • Child isolation (the macOS and Linux sandbox) is experimental and best-effort in 0.1.0, not a security boundary. Run agents you do not trust as a separate OS user.
  • The hard boundary is approvals, pairing and the encrypted channel: no tool call runs without an approval from a paired controller.
  • Built-in runners are command and claude-code. claude-code needs its own login token for sandboxed sessions.