Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
Sandboxes and isolated environments card 3 of 6

Kinds of sandbox, and what to check

builds on: Approvals and permission modes, Terminal, IDE and cloud agents
Common forms: - **container**: an isolated space on your computer, e.g. Docker - **VM**: a whole simulated computer - **dev container**: a container defined by the project, opened by your IDE - **cloud sandbox**: a remote machine, used by cloud agents Check four things: 1. **Files**: only the project. 2. **Credentials**: none of yours, apart from the agent's own login. Some tools copy your logins in automatically, so look. 3. **Network**: only what the task needs. 4. **Disposable**: you can delete it and rebuild it.
Terms on this card
sandbox
A walled-off environment where a program runs with access only to the files, network and credentials you deliberately put in, so its mistakes stay inside.
container
An isolated space on your computer with its own files and settings, separated from the rest of your system. Lighter than a full simulated computer.
Docker
A widely used tool for creating and running containers.
VM
Virtual machine: a complete simulated computer, with its own operating system, running inside your real computer or on a remote server.
dev container
A container whose setup is described by a file in the project, so your editor can open the project inside it automatically.
Learn this step by step on Bytewise
Lesson goal: Explain how running the agent in a container, VM, dev container or cloud sandbox limits what a mistake can damage. Explain why this is the condition under which more autonomy becomes reasonable. · the whole lesson