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.
Workflow: one-off scripts and data chores card 5 of 6

The counts don't add up

builds on: Describing a task: goal, context, constraints, check, Running and trying the result yourself, What never to let an agent touch
The agent reports that the sample worked. You run it yourself: $ python clean.py work/sample.csv work/out.csv rows in: 20, rows out: 18, duplicates dropped: 1 One row is unaccounted for. You compare the two files and find that the row with an empty date silently vanished. You tell the agent: keep such rows with a blank date, and report how many. You rerun the sample: $ python clean.py work/sample.csv work/out.csv rows in: 20, rows out: 19, duplicates dropped: 1, blank dates kept: 1 Now 19 out + 1 duplicate = 20 in: every row is accounted for. Then you run the full copy and check the counts again.
Terms on this card
CSV
Comma-separated values: a plain-text table file where each line is a row and commas separate the columns. Opens in Excel or Google Sheets.
sample
A small slice of your data, e.g. 20 hand-picked rows or 10 files, used to try a script safely before the full run.
rows
The lines of a table. In a CSV each row is one record, e.g. one sale or one customer.
Python
A popular programming language often used for scripts and data work. `python file.py` runs a Python file.
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.
Learn this step by step on Bytewise
Lesson goal: Have the agent write throwaway scripts for renaming files, converting formats or cleaning a CSV. Work on a copy of the data, run on a small sample first, and spot-check outputs before running on the real thing. · the whole lesson