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

CLI / sandbox / preview

kosa8 sandbox preview

Make a signed, expiring link to a web server in a sandbox

Usage#

kosa8 sandbox preview SANDBOX PORT

Prints a link that opens PORT of a server running in the sandbox in a browser. The link carries a token signed by the daemon and stops working when it expires, when the sandbox is deleted, or when every link is revoked with kosa8 sandbox preview --revoke-all. The server must listen on 0.0.0.0.

kosa8 sandbox preview web 8000 --session main --expires 30m

Options#

FlagTypeWhat it doesDefault
--containerstringthe container the server runs in—
--expiresdurationhow long the link works (at most 168h)1h0m0s
--revoke-allboolend every preview link this daemon has made—
--sessionstringthe shell session the server runs in—

Example#

  kosa8 sandbox preview dev 3000
  kosa8 sandbox preview dev 8080 --expires 1h
  kosa8 sandbox preview --revoke-all     # every link stops working

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 · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA