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 awaiting actually does card 1 of 6

The audit line that never ran

You asked the agent to record an audit entry every time an order is placed. The diff adds one line, the tests are green, and the summary says "orders are now audited". A week later the audit table is empty. Nothing errored, and the new line executes on every order. What did that line actually do? The answer depends on what calling an async function gives you, and that differs by language.
Terms on this card
the agent
The AI coding system doing the work: a chat assistant, IDE agent or terminal agent.
diff
The set of line changes between two versions of the code: removed lines start with '-', added lines with '+'.
green
A test or check that passes.
Learn this step by step on Bytewise
Lesson goal: Explain promises, futures and coroutines and what happens when one is never awaited. In Python the coroutine never runs. In Rust the future is lazy and does nothing. In JS/TS the work runs but its failure goes unobserved and ordering is lost. · the whole lesson