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.
Setting safety boundaries for a session card 6 of 6

What to remember

builds on: Keeping secrets out of the agent's reach, Catching destructive commands, Unknown and invented packages, Untrusted text steering the agent, Sandboxes and isolated environments
Before each session, ask what the worst plausible mistake or injection could damage. Then shrink the folder, credentials, network and permissions until that worst case only hits things you can undo with git or throw away with the sandbox.
Terms on this card
sandbox
An isolated environment, such as a container, a virtual machine (VM) or a cloud workspace, where the agent can only damage what is inside it.
credentials
Secrets that prove who you are to a service: passwords, API keys, tokens, SSH keys, cloud logins.
injection
Short for prompt injection: instructions hidden in text the agent reads (a web page, issue, file) that redirect what it does.
git
A tool that records snapshots (commits) of your project so you can see changes and return to earlier states.
session
One working conversation with the agent, from the task you type until you accept or redirect the result.
Learn this step by step on Bytewise
Lesson goal: Choose the boundaries for a given task: the folder, permission level, network access, credentials in reach, and whether it runs in a sandbox. Base the choice on what the worst plausible mistake or injection could damage. · the whole lesson