Skip to content

Customize CPU & RAM

Tip: Currently, only linux_x86 and android platforms are supported. The linux_arm64 platform will be available soon, offering better cost efficiency and lower resource consumption.

During the build step, you can customize the CPU and RAM allocated to your sandbox template.

  • The --cpu-count option specifies the number of CPU cores.
  • The --memory-mb option specifies the amount of RAM (in megabytes).

For example, the following command creates a sandbox template with 2 CPUs and 2 GB of RAM:

# --platform [ linux_x86 | android ]
agentbox template build --platform linux_x86 -c "/root/.jupyter/start-up.sh" --cpu-count 2 --memory-mb 2048