There are many useful tools for easily sandboxing agents. Visual Studio Code has devcontainers, which are trivially used.