| name | vers-golden-vm |
| description | Bootstrap a Vers VM into a golden image with punkin-pi, Node.js, dev tools, and swarm extensions installed. Creates a committed snapshot that can be branched for self-organizing agent swarms. |
Vers Golden VM
Bootstrap a Vers VM into a reusable golden image for punkin-pi agent swarms. The golden image includes Node.js, punkin-pi (built from source at the w/router release tag), GitHub CLI, dev tools, and any punkin packages you configure.
Prerequisites
- Vers extension loaded with valid API key
- An exchanged
LLM_PROXY_KEY (sk-vers-*) for punkin agents
- A GitHub token if cloning private repos
Steps
1. Create a VM (4GB+ disk)
vers_vm_create with vcpu_count=2, mem_size_mib=2048, fs_size_mib=4096, wait_boot=true
Default 1GB disk is too small — punkin-pi source + build + packages + node need ~1.5GB.
2. Bootstrap
Set the VM as active with vers_vm_use, then run the bootstrap script:
export GITHUB_TOKEN="<token>"
export PUNKIN_TAG="w/router"
export GIT_AUTHOR_NAME="reef-agent"
export GIT_AUTHOR_EMAIL="reef-agent@users.noreply.github.com"
bash /path/to/scripts/bootstrap.sh
The script:
- Installs system packages, Node.js, GitHub CLI
- Clones punkin-pi and builds from source at the specified tag
- Symlinks
/usr/local/bin/punkin to the built CLI