Skip to content

onshore.sh

onshore.sh runs code you do not trust in miniVMs: small Firecracker virtual machines that start from a template in seconds. Each miniVM has its own kernel, memory and disk. When you kill it, its disk and memory are deleted.

It is built for AI agents. An agent can run commands, write files, start servers and run for hours. You can pause it and resume it later with its files and processes as they were.

  • EU-hosted. Except for the optional Cloud devices and app builds, your workloads and their data are hosted and processed only in the EU, in Scaleway data centres, and there is no US cloud provider in the data path.
  • E2B-compatible. The official E2B Python and JavaScript SDKs work unchanged. Set two environment variables and keep your code.
  • Closed by default. A miniVM reaches no host on the internet until its template allows it. Egress credentials and AI-account keys are added to requests at egress and never enter the miniVM.
Terminal window
ons create --template base
ons exec <minivm-id> -- python3 -c 'print(6 * 7)'
ons kill <minivm-id>

<minivm-id> is the id ons create prints. The SDK examples need E2B_DOMAIN=onshore.sh and E2B_API_KEY set to your onshore.sh API key, see the Quickstart.

onshore.sh is operated by Minitap, Inc.