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.
The agent knows only what its tools returned card 1 of 6

'All tests pass' — but which run?

builds on: A coding agent is a model in a loop, What the agent sees: its context
You asked the agent to fix rounding in a Go billing package. Its final message: *'Fixed the rounding in `tax.go`; all tests pass.'* It reads like a report of something it watched happen. Before you merge, ask: is there a command in the transcript whose output shows exactly that, for this change, after this edit? Or is the sentence a prediction?
Terms on this card
transcript
The visible record of an agent session: its messages, the tool calls it made and the outputs those calls returned.
the agent
The AI coding system doing the work: a chat assistant, IDE agent or terminal agent.
pass
Python statement that does nothing; used as a body, it makes a function or handler an empty shell.
Learn this step by step on Bytewise
Lesson goal: Explain that if the agent did not run the test, it has not seen it pass. Show how truncated output, the wrong working directory or a stale build can mislead it. Read a transcript to tell claims backed by tool output apart from unbacked assertions. · the whole lesson