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.
Outdated knowledge and invented APIs card 1 of 6

It wrote a call your library doesn't have

builds on: Confidently wrong: plausible is not correct, Dependencies, package managers and lockfiles
You ask the agent to combine two tables in your pandas script `merge.py`. It writes tidy code using `df.append(other)` and reports it's done. You run it: `AttributeError: 'DataFrame' object has no attribute 'append'` The code looks like countless examples online. So why does it fail on your machine?
Terms on this card
pandas
A popular Python library for working with tables of data, called DataFrames.
DataFrame
pandas' name for a table of data with rows and named columns.
AttributeError
A Python error saying the thing you used has no property or function with that name, e.g. the function doesn't exist in this version.
library
A package of ready-made code that your project installs and calls, such as pandas or requests.
script
A small program, usually one file, that you run to do a task, like `report.py`.
Learn this step by step on Bytewise
Lesson goal: Explain why agents use old library versions, deprecated calls, or functions and flags that never existed. Counter this by pointing them at the installed version, the docs or the source. · the whole lesson