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

CLI / cloud / sandbox / heartbeat

kosa8 cloud sandbox heartbeat

Extend the leases of a run's (or the labelled, or the named) sandboxes

Usage#

kosa8 cloud sandbox heartbeat [ID...] [--run RUN | --label key=value]

A leased sandbox (create --lease, fork --lease) is deleted when its lease runs out. Each heartbeat moves every matching sandbox's lease forward by its own lease again (or by --extend). A lease that has already lapsed is not brought back. Run it from the trainer's loop, more often than the lease.

Options#

FlagTypeWhat it doesDefault
--extenddurationextend by this much instead of each sandbox's own lease (1m to 24h)0s
-l, --labelstringArraythe sandboxes with this label, key=value (repeatable; all must match)[]
--runstringthe sandboxes labelled kosa8.run=RUN—

Example#

  kosa8 cloud sandbox heartbeat --run rl-grpo-7
  kosa8 cloud sandbox heartbeat --label team=ml --extend 30m
  kosa8 cloud sandbox heartbeat sbx_a sbx_b

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