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.
Why agent output always sounds sure
card 2 of 6
Fluent text, same tone right or wrong
The model behind the agent writes by repeatedly picking a likely next word given everything before it. It learned from docs, answers and PR texts, which are mostly written confidently. Nothing in this writing step checks a claim against reality and adjusts the tone. So a wrong answer comes out just as smooth as a right one. Hedges like "I believe" show up mainly when the phrasing fits, not reliably when the content is shaky.
Terms on this card
- the agent
- The AI coding system doing the work: a chat assistant, IDE agent or terminal agent.
- model
- The trained text generator inside the agent. It produces output by repeatedly predicting a likely next piece of text.
- PR
- Pull request: a proposed change submitted for review before merging, usually with a written description.
Lesson goal: Explain that the model generates fluent, plausible text, so its tone is the same whether it is right or wrong. Explain why its statements about itself ('tests pass', 'this handles all cases') are also generated text, not measurements. ·
the whole lesson