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.
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
gitover 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.
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 withdeny 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:
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.