Work effectively with AI coding agents. Understand them as language models running in a tool loop with limited context, which is why they guess, game the visible signal and report confidently. Recognise the shortcut and correctness tells in their code across Python, TypeScript/JavaScript, Rust, Java and Go, and know the damage each one does later. Verify changes instead of trusting them, review diffs fast for quality and security, judge when work is truly finished, and choose, design and steer tasks so agents can finish them well.
Verify by running, not by reading claims card 5 of 6

Reproduce, fix, rerun the same command

builds on: The agent knows only what its tools returned, You own every line the agent writes
`names.csv` holds a header plus 3 customers, one of them `Lee, Ann`. On `main` the export prints 3 lines: the header plus 2 rows, so one customer is lost. That is the bug, reproduced. On the branch, the same command prints 4 lines, and `grep` shows the missing row with the name quoted. Only now does the green suite back up the claim, because you have seen this exact input fail and then work. Anyone can rerun every command here.
# Bash
$ git switch main -q
$ python export.py names.csv | wc -l
3
$ git switch fix-csv -q
$ python export.py names.csv | wc -l
4
$ python export.py names.csv | grep Lee
17,"Lee, Ann",ann@example.com
$ python -m pytest tests/ -q
41 passed in 2.10s
Terms on this card
CSV
Comma-separated values: a plain-text table format, one row per line. Fields that contain commas must be wrapped in quotes.
grep
Shell command that prints only the lines containing a given text.
branch
A separate line of changes in a Git repository. The agent's fix lives on its own branch until it is merged.
main
The project's main branch, which holds the code without the agent's change.
green suite
A set of tests that all pass.
Learn this step by step on Bytewise
Lesson goal: Reproduce the original bug, then run the build, the relevant tests and the real scenario yourself, or require the agent to show the exact commands and their output. Decide which checks a given change needs before you accept it. · the whole lesson