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.
Cost and usage limits card 2 of 6

Every step re-reads everything

builds on: The context window: the agent's working memory, The agent loop: act, observe, repeat
The model keeps nothing between steps. At each turn of the loop, the tool sends it the **whole context so far**: instructions, your messages, every file read, every command output. The model reads all of it again to choose the next step. So a step late in a long session costs far more than an early one. Writing is billed too. Replies, edits and hidden reasoning (thinking text some models write before answering, which you may not see) are all output tokens. Output tokens are usually priced several times higher than input tokens.
Terms on this card
context
Everything the model sees in a session: instructions, messages, files read and command output. It all shares one fixed token budget.
loop
The agent's cycle: decide a step, use a tool, read the result, repeat until it judges the task done.
step
One pass through the agent's loop: the model reads the context, then replies or makes one tool call.
input tokens
Tokens the model reads at a step, meaning the whole context sent to it. Also called tokens read.
output tokens
Tokens the model writes: replies, edits, commands and hidden reasoning. Usually priced several times higher than input tokens.
Learn this step by step on Bytewise
Lesson goal: Explain what drives usage: tokens read and written, long contexts, repeated tool loops, and stronger or slower models. Explain how subscription limits and pay-per-use differ in general, and why focused tasks waste less. · the whole lesson