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 the agent can and cannot see
card 2 of 6
It only knows the text in front of it
The agent works from two sources. The first is its **context**: the text in front of it right now. That means your messages, the files it chose to open, and the output of commands it ran. The second is what it learned in **training**, which stops at some past date. It cannot see your screen, your browser, your intentions, files it never opened, or library changes made after its training. It fills those gaps with plausible guesses.
Terms on this card
- context
- All the text the agent currently has to work from: your messages, file contents it read, command output, and its own earlier replies.
- library
- Ready-made code written by others that your project uses, such as a charting or date package, often with frequent new versions.
- output
- The text a command or program prints when it runs, including results and error messages.
- 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 that the agent knows only what is in its context: your messages, files it chose to read, command output and its training data. It cannot see your screen, your unstated intent, files it never opened, or recent library changes. ·
the whole lesson