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.
Agents tend to agree with you card 2 of 6

Why agreeing is its default

builds on: Why agent output always sounds sure
Models are tuned partly on human ratings, and people rate agreement and apology highly. So siding with you became part of what counts as a good answer. Your message is also part of its input. If it names a cause, a reply built on that cause becomes the most likely continuation. 'You're right!' is generated text, not a re-check. Later cost: the wrong fix merges, the real bug stays, and the extra code lingers.
Terms on this card
Later cost
The concrete damage a shortcut does after merge, such as a hidden bug, data corruption or maintenance burden.
Learn this step by step on Bytewise
Lesson goal: Explain sycophancy: models adopt your stated premise, cave to pushback with 'You're right!' even when you are wrong, and rationalise the hypothesis you suggested. Predict when a leading question will steer the agent to a wrong fix. · the whole lesson