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.
Untrusted text steering the agent card 3 of 6

The three-part danger

builds on: The agent loop: act, observe, repeat, What the agent can and cannot see
**Untrusted text** is anything you didn't write that the agent reads: web pages, issues, READMEs, code and docs from libraries your project uses, data files, even command output. Data theft needs all three at once: 1. **Private data** in reach (code, API keys, personal records) 2. **Untrusted text** entering its context 3. **A way out**: web requests, posting comments, sending messages Remove any one and the theft fails. Injected text can still cause other harm, such as unwanted edits.
Terms on this card
untrusted text
Any text you didn't write yourself that ends up in the agent's context, such as web pages, issues, other people's code or data files.
context
Everything the model can currently see: your messages, files it read, command output. It decides its next step only from this.
command output
The text a command prints after it runs, which the agent reads to decide its next step.
API keys
Secret codes that let a program use a paid or private online service in your name. Anyone holding one can act as you.
web requests
Messages a program sends to a website, which can carry data out of your computer.
Learn this step by step on Bytewise
Lesson goal: Explain prompt injection: instructions hidden in a web page, issue, README, dependency or data file can redirect the agent. Explain why private data plus untrusted input plus a way to send data out is the dangerous combination. · the whole lesson