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.
The context window: the agent's working memory card 5 of 5

Remember

builds on: Tokens: how models measure text, What the agent can and cannot see
Everything in a session (instructions, messages, files read, command output) shares one fixed token budget. Big files, long logs and long sessions fill it fastest. When it gets full, the earliest details are the first to blur or disappear.
Terms on this card
token
A word piece, the unit a model uses to read and write text. In English, roughly four characters or three-quarters of a word.
session
One continuous conversation with the agent, from when you start it until you close or restart it.
command output
The text a command prints when it runs, such as results, progress messages or errors. Anything the agent runs adds its output to the context.
command
A line of text that tells the computer to run a program, typed in a terminal, for example `python src/cart.py`.
output
The text a command or program prints when it runs, including results and error messages.
Learn this step by step on Bytewise
Lesson goal: Explain that everything in a session (instructions, messages, files read, command output) shares a fixed token budget. Predict what fills it fastest: large files, long logs and long sessions. · the whole lesson