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 6 of 6
Shrink the damage, then loosen the reins
builds on: Approvals and permission modes, Terminal, IDE and cloud agents
Approvals limit what the agent *does*. A sandbox limits what a mistake can *reach*. Give more autonomy only inside a box with no real credentials, limited network and nothing you can't throw away. Even then, check what comes out of 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.
- credentials
- Passwords, access keys and login tokens that prove who you are to a service, such as a database or cloud account.
- agent
- An AI tool that doesn't just chat. It reads your project's files, edits them and runs commands to carry out a task you give it.
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