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

CLI / sandbox / lifecycle

kosa8 sandbox lifecycle

Set when a sandbox stops or is deleted by itself

Usage#

kosa8 sandbox lifecycle SANDBOX

Changes a sandbox's auto-stop, auto-delete, TTL or ephemeral setting. Only the flags given change; 0 turns one off. With no flags, shows them.

kosa8 sandbox lifecycle web --auto-stop 15m
kosa8 sandbox lifecycle web --ttl 0 --ephemeral=false

Options#

FlagTypeWhat it doesDefault
--auto-deletedurationdelete the sandbox once it has been stopped this long, e.g. 24h (0: never)0s
--auto-stopdurationstop the sandbox after this long without use, e.g. 30m (0: never)0s
--ephemeralbooldelete the sandbox, disk and all, whenever it stops—
--ttldurationstop the sandbox this long after it was created, in use or not, e.g. 2h (0: never)0s

Example#

  kosa8 sandbox lifecycle dev --auto-stop 30m
  kosa8 sandbox lifecycle dev --auto-delete 24h
  kosa8 sandbox lifecycle scratch --ttl 2h --ephemeral

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