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

CLI / template

kosa8 template

Build what new sandboxes start with, from a Dockerfile

A template is an image built from a Dockerfile, kept on this machine, that a new sandbox starts with: kosa8 sandbox create --template NAME. Its sessions, terminals and code runs then use that image unless told otherwise.

The build runs in a sandbox made for it and deleted after, so the Dockerfile's RUN steps run sealed, under --egress (any by default, since builds fetch packages; give --egress allow:pypi.org,files.pythonhosted.org to narrow it).

Example#

  kosa8 template build py ./env
  kosa8 template ls
  kosa8 sandbox create dev --template py

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