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 5 of 6

Same bug, vague vs focused

builds on: The context window: the agent's working memory, The agent loop: act, observe, repeat
Rough numbers, ignoring caching. The focused request wins twice: **fewer steps**, and a **smaller context at every step**. Because each step re-reads the context, those two savings multiply. On a subscription, the same gap decides whether you hit your limit by lunch or not at all.
▸ You: fix anything that seems off
  30 steps, context 10k → 90k tokens
  read: 30 × ~50k avg = ~1,500k
  write: ~40k

▸ You: fix the crash in src/report.py
  when the CSV is empty; run its test
  6 steps, context 8k → 20k tokens
  read: 6 × ~14k avg = ~84k
  write: ~5k

At $3/M read, $15/M write (example):
  vague ≈ $5.10   focused ≈ $0.33
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.
step
One pass through the agent's loop: the model reads the context, then replies or makes one tool call.
subscription
A fixed monthly fee that buys a usage allowance. The cost does not grow unless you buy extra, but the amount of use is capped.
caching
Keeping a copy of a result that took effort to produce, so the next request can reuse it instead of working it out again.
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