Skip to main content
In every mode, boat keeps what the sandbox needs from boat: snapshots, restores, the boat API and the AI credentials proxy. boat exec and files work in every mode.

Set the mode

$BOAT_API_BASE is https://boat.dev/api/v1.
  • A new sandbox has its policy before anyone can use it.
  • A change on a running sandbox also ends the open connections that the new mode does not allow.
  • A change of the mode keeps the inbound setting.
  • For many sandboxes, set the mode on an environment.
Public URLs and the desktop use a tunnel that the sandbox opens. deny and allow block that tunnel today. The sandbox can then show "health": "degraded".

Entries of an allow list

  • Write a domain without a scheme, a port or a path. Use punycode (xn--...) for an international name.
  • An IP address or a range must be public.
  • A domain entry does not allow SSH. For git over SSH or a database, add the IP range, or use HTTPS.
  • DNS in the sandbox answers only for the names that you allow.
  • Do not list boat.dev. boat refuses an entry that covers the boat API.
boat refuses a bad policy with 400 invalid_network_policy. The message names the entry.

What common tools need

With the AI credentials proxy on, agents reach the model through boat. Then do not list the AI provider.

The boat API

A sandbox with deny or allow still reaches the boat API. boat limits what code inside can do there. network.apiBound shows it. To bind a sandbox that shows false, restart it:
Inside a bound sandbox, use the boat CLI or $ASCII_API_URL. https://boat.dev does not answer there. Your keys work as before from every other place. This includes a key for one sandbox.