the universal sandbox runtime for agents and humans. pocketenv.io
sandbox openclaw agent claude-code vercel-sandbox deno-sandbox cloudflare-sandbox atproto sprites daytona
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

Accept E2B_API_KEY and set default E2B resources

+5 -2
+3 -2
apps/cli/src/cmd/create.ts
··· 113 113 } 114 114 115 115 if (provider === "e2b") { 116 - const e2bAccessToken = process.env.E2B_ACCESS_TOKEN; 116 + const e2bAccessToken = 117 + process.env.E2B_ACCESS_TOKEN || process.env.E2B_API_KEY; 117 118 if (!e2bAccessToken) { 118 119 consola.error( 119 - "E2B_ACCESS_TOKEN environment variable is required for E2B provider.", 120 + "E2B_API_KEY environment variable is required for E2B provider.", 120 121 ); 121 122 process.exit(1); 122 123 }
+2
apps/modal-sandbox/src/providers/e2b/index.ts
··· 130 130 const { name, tag } = parseImageRef(image); 131 131 await Template.build(template, name, { 132 132 tags: [tag], 133 + cpuCount: 4, 134 + memoryMB: 4096, 133 135 }); 134 136 const sandbox = await Sandbox.create(`${name}:${tag}`, { 135 137 accessToken: options.e2bAccessToken,