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.
What never to let an agent touch
card 2 of 6
It acts as you, so words are not walls
builds on: Approvals and permission modes, Environment variables and where secrets live
All of them. The agent's commands run as *you*: same account, same files, same environment variables. 'Don't touch production' is just text the model reads. It can misjudge which database is which, or run a script that quietly reads `.env`. Approvals only help if you spot the danger in the moment. Anything it reads is also sent to the model provider. The real protection is distance: it can't damage what it can't reach.
Terms on this card
- production
- The live system real users or customers rely on right now, as opposed to a test or practice copy.
- model provider
- The company running the AI model. Text the agent reads is sent to its servers to be processed.
- `.env`
- A file in a project that stores settings and secrets as NAME=value lines, loaded by the program at startup.
- script
- A small program, usually one file, that you run to do a task, like `report.py`.
- model
- The AI that reads text and writes text. In an agent, it decides what to do next.
Lesson goal: List the usual no-go zones: production systems and databases, real customer data, deploy and payment credentials, your home directory, and anything without a backup. Explain how to keep them unreachable rather than just asking the agent nicely. ·
the whole lesson