kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / cloud / embed

kosa8 cloud embed

Make a signed, expiring URL to show a sandbox's terminal or desktop in an iframe

Usage#

kosa8 cloud embed ID [-- COMMAND [ARG...]]

Prints a URL (and an <iframe> snippet) that shows the sandbox's terminal or desktop on your own site, until --ttl or a revoke. Only the --origin sites may frame it. --mode view watches only (keys and mouse are dropped); interact lets the viewer type. A view terminal attaches read-only to the sandbox's tmux session; give a COMMAND after -- to show another program instead.

The page posts ready, exited, approval_requested, expired and error events to the parent window. kosa8 cloud embed ls ID lists the live ones; embed rm revokes.

Options#

FlagTypeWhat it doesDefault
--modestringview (watch only) or interact (keyboard and mouse too)view
--originstringArraya site that may frame it, scheme://host[:port] (repeatable, up to 10)[]
--ttldurationhow long the URL works, 1m to 7 days (default 1h)0s
--uistringterminal or desktop (noVNC, for desktop images)terminal

Example#

  kosa8 cloud embed sbx_abc --origin https://app.example.com
  kosa8 cloud embed sbx_abc --mode interact --ttl 2h --origin https://learn.example.com
  kosa8 cloud embed sbx_abc --ui desktop --origin http://localhost:3000
  kosa8 cloud embed ls sbx_abc
  kosa8 cloud embed rm sbx_abc emb_0123abcd

Subcommands#

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · AI Agent Sandbox: Secure and Sovereign for Enterprise · Local models served by llamay · Agent gateway: MAQPNA