Skip to main content
Every Devbox comes with Namespace’s remote build caches. The nsc CLI is installed and logged in on every Devbox, so commands run in it reach the caches with no setup.
Say your agent splits work into five tasks and creates a Devbox for each, then builds the project in all five. Without a shared cache, every Devbox builds it from scratch. With one, the first Devbox to build a piece of code uploads the result, and the others download it instead. Only the code a task changed gets rebuilt. These are remote caches that your build tools reach over the network, not cache volumes attached to the Devbox.

Try it with Bazel

Build the same target on two Devboxes. The second one reports a remote cache hit instead of rebuilding.
1

Set up the cache

On Windows, add --static and write the bazelrc to a Windows path, then pass that path when you build:
2

Build with it

Run the setup once in each Devbox, before its first build. When a second Devbox builds the same targets, Bazel reports remote cache hits and skips the work the first one already did.

Set up a cache for your build tool

Run your tool’s setup command in the Devbox, the same way you run any other command: Pants, sccache, and Buck2 have remote caches too. See nsc cache pants setup, nsc cache sccache setup, and nsc cache buck2 setup.
Last modified on December 2, 2026