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 agents fill gaps with plausible guesses card 5 of 6

The public-code default vs your project

builds on: What the agent cannot see, Why agent output always sounds sure
BAD is what public Python usually looks like. Tells: `requests` imported where the project has its own client, and `datetime.now()` where the project uses `now_utc()`. Later cost: `requests.get` has no default timeout, so a stuck rates server can hang the caller forever. `r.json()` runs without a status check, so a JSON error body is returned as if it were rates. `datetime.now()` returns naive local time, so on a server not set to UTC, stored timestamps are off by its UTC offset.
// Python
# BAD
import requests
from datetime import datetime
def fetch_rates():
    r = requests.get(RATES_URL)
    return r.json(), datetime.now()
# BETTER
from app.http import api_client
from app.clock import now_utc
def fetch_rates():
    rates = api_client.get_json(RATES_URL)
    return rates, now_utc()
Terms on this card
Later cost
The concrete damage a shortcut does after merge, such as a hidden bug, corrupted data or extra maintenance.
naive local time
A Python datetime with no time zone attached, holding the server's local clock time; ambiguous when compared with UTC values.
UTC
Coordinated Universal Time, the single reference time zone most systems store timestamps in.
OFFSET
SQL clause that skips N rows; the database still reads the skipped rows, so deep pages get slower as N grows.
JSON
JavaScript Object Notation: a common text format for structured data, e.g. {"name": "Ada"}.
Learn this step by step on Bytewise
Lesson goal: Explain that when information is missing, the model tends to produce the most typical continuation instead of stopping to ask. Its guesses therefore match common patterns from public code, not your codebase's helpers, conventions or constraints. · the whole lesson