Apify AI Code Sandbox
Create the scoped Apify API token that lets Sandcovery run the AI Code Sandbox Actor in your own Apify account.
Sandcovery runs each sandbox as one run of the AI Code Sandbox Actor in your Apify account, which pays for the run's memory in compute units while it runs. Apify gives a run 1 CPU core for each 4 GiB of memory, so Sandcovery runs it at 1x4, 2x8, 4x16, and 8x32.
For Apify, add an API token from API & Integrations with Limit token permissions turned on, as Apify's scoped tokens describe:
- Give it the Run permission on the
apify/ai-code-sandboxActor alone. - Turn on access to the default storages of the runs it starts, since Sandcovery reads each run's input to find the runs it made.