Microsandbox (MSB)

Microsandbox (MSB) is the default backend for heyvm. It uses the microsandbox SDK for full VM isolation and supports Python and Node.js sandbox types. It is best for production use and multi-language support.

Requirements

  • Microsandbox server running
  • API key configured for sandbox creation

Installation and setup

  1. Start the Microsandbox server

    msb server start --dev
  2. Generate and set the API key

    msb server keygen
    export MSB_API_KEY=your-api-key-here
  3. Pull sandbox images (optional; images are pulled on first use)

    msb pull microsandbox/python
    msb pull microsandbox/node

After this, heyvm can use the msb backend. For more detail, see the mvm-ctrl README.