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.
What the agent sees: its context card 1 of 6

It ignored the helper you pointed at

Some Go code in your project calls a web service. It fails when the server answers `503` ("temporarily unavailable, try again"). You tell the agent: "fix it, use our usual retry helper". Your project already has that helper: `httpx.Retry` in `internal/httpx/retry.go`. It re-sends a failed request a few times. You even had that file open in your editor. The agent writes a brand-new retry loop instead and reports: "No existing retry helper found, so I added one." Why didn't it find yours?
Terms on this card
retry helper
A shared function that re-sends a failed request a limited number of times, usually waiting a little longer between attempts.
tell
An observable sign in a diff, transcript or summary that suggests a shortcut or an error.
503
HTTP status code meaning 'Service Unavailable': the server is temporarily unable to handle the request.
retry loop
Code that repeats a failing operation a set number of times before giving up.
the agent
The AI coding system doing the work: a chat assistant, IDE agent or terminal agent.
Learn this step by step on Bytewise
Lesson goal: List what is actually in the agent's context at a given step: your prompt, instruction files, the files it chose to open and the tool outputs it received. Explain that anything outside that context is invisible to it except through general training knowledge. · the whole lesson