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 4 of 6

Checking the PDF package

builds on: Outdated knowledge and invented APIs
You choose **no**. You open `requirements.txt` and see `pdfplumber` is already listed, so the need is covered. You also check the registry: `pdf-table-extractor` isn't there. That doesn't make the name safe. Anyone could publish it tomorrow, and **existing wouldn't make it trustworthy either.** You tell the agent to use what the project already has and not to add packages without asking.
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.
requirements.txt
A common file in Python projects listing the packages the project depends on, one per line.
pdfplumber
A widely used Python package for reading text and tables from PDF files.
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