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.
Vetting a dependency the agent added card 3 of 6

Six checks for every new package

builds on: Invented APIs, flags, config keys and packages
1. **Needed?** Does the standard library or an existing dependency already do this? 2. **Exact name:** open the registry page. Compare it letter by letter with the project you meant. Check the repo link, publisher, first release and downloads. 3. **Maintained:** recent releases, more than one maintainer, issues answered. 4. **Pinned:** exact or bounded version, lockfile updated and committed. 5. **License** fits your project. 6. **Tree:** what else the lockfile pulled in, and any install scripts.
Terms on this card
lockfile
A generated file (package-lock.json, Cargo.lock, go.sum, uv.lock…) recording the exact version of every direct and indirect package, so every install gets the same code.
registry
The public package index for an ecosystem: npm, PyPI, crates.io, Maven Central, or the Go module proxy.
pinned
Fixed to an exact version (or a tight range) so updates happen only when you choose them.
license
The legal terms under which you may use, change and ship a package; some impose duties on your own code.
standard library
The modules shipped with the language itself (e.g. Python's datetime, Go's slices), with no extra package needed.
Learn this step by step on Bytewise
Lesson goal: For each new package, check that it is needed, that it exists under exactly that name (guarding against hallucinated or typosquatted names), and that it is maintained, pinned and licensed acceptably. Review what it does to the lockfile and the transitive dependency tree. · the whole lesson