cpuos

Base profile

Dev box sandbox template

Plan a multi-language development sandbox for repository work, builds and tests, with scoped checkout access and reviewable patch artifacts.

When to use this profile

Use the Dev box profile for repositories whose setup crosses language boundaries: a Python service with a web frontend, a native extension or a build that needs system packages. Treat the checkout as disposable. The useful deliverable is a reviewable patch and the commands that validated it, so the sandbox does not need permission to push or deploy.

Prepare a repeatable environment

  • Clone a specific commit or upload a source archive without your home directory or credential files.
  • Install repository dependencies from pinned manifests and lockfiles.
  • Document the working directory and required build commands before the agent starts editing.
Command inside a prepared Linux guest
git -C /work/project diff --check

Return results the agent can use

  • A patch with changed paths and a base commit.
  • Build and test results including exit codes.
  • A short report of environment dependencies the build required.

Build an unchanged checkout first. Apply a small known patch, run the same validation, and confirm the exported diff contains only task changes.

Resources and boundaries

Start with 4 vCPU and 8 GB of RAM, then measure peak memory and task duration on a representative fixture. These are workload planning values, not a benchmark or a provisioned configuration. Use the sandbox cost calculator to estimate running time and retained snapshots.

  • Repository scripts are executable input, including test setup hooks.
  • Use short-lived read access for private source; keep write and deployment tokens in the control plane.
  • Compilers and parallel test suites can exceed 8 GB; measure peak memory before increasing concurrency.

Keep model inference separate from this execution profile. A hosted model or gpuOS can decide the next action while the CPU environment runs it. The quickstart describes the account workflow and the proposed runtime contract.

Questions

Is this a separate built-in template?
This page documents the devbox base profile shown in the cpuOS product catalog. Runtime provisioning requires a connected execution service; creating an account does not provision a microVM.
Can I run the command now?
The command runs in a Linux environment where the listed dependencies and input files are prepared. cpuOS SDK examples describe a proposed contract; confirm runtime access and package versions before integration.
How should I choose CPU and memory?
Use the starting profile to run a representative fixture, measure peak memory and elapsed time, and add room for package installation, worker processes and larger inputs. Enforce a task timeout separately.

Related guides

Plan your dev box task

Create a workspace and choose a profile. Connect an execution backend before running code.

gpuOS · where models think

Need the model too? Run it on gpuOS

gpuOS serves open models on your own GPUs behind one OpenAI-compatible API. The model reasons on gpuOS, the agent acts in a cpuOS sandbox.