Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
Unknown and invented packages card 6 of 6

Treat every new package name as a claim

builds on: Outdated knowledge and invented APIs
An agent's package name is a guess. Attackers publish real, harmful packages under common guesses and misspellings. Before approving any install, check need, exact name, publisher and popularity yourself on the registry.
Terms on this card
package
A bundle of reusable code published by someone else that you download into your project, such as `requests` or `pdfplumber`.
registry
The public online catalogue packages are downloaded from: PyPI for Python, npm's registry for JavaScript. Anyone can publish there.
publisher
Whoever put a package on the registry. On its registry page you can see the maintainer, any linked source code and the release history.
agent
An AI tool that doesn't just chat. It reads your project's files, edits them and runs commands to carry out a task you give it.
Learn this step by step on Bytewise
Lesson goal: Explain why an agent may suggest a package that does not exist or is a malicious look-alike, which attackers register on purpose. Check name, publisher, popularity and need before approving an install. · the whole lesson