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.
What you stay responsible for card 5 of 6

Where responsibility changes hands

The approval prompt is the moment the action becomes yours. Here you read the proposed command before answering and catch that it's too broad. Then you steer the agent to a harmless, read-only first step. You would approve deleting exactly those files only after checking the list.
▸ You: delete the temp files in data/
⚙ Run: rm -rf data/
[Approve? yes / no / always]
# You read it: wipes ALL of data/ → no
▸ You: Too broad. First list only the
  .tmp files you'd delete, nothing else.
⚙ Run: ls data/*.tmp
[Approve? yes / no / always]
# Only lists files, harmless → yes
data/run1.tmp
data/run2.tmp
Terms on this card
read-only
An action that only looks at things, such as listing or reading files, and changes nothing.
approval prompt
The question an agent shows before running a command or editing a file, letting you answer yes, no or always.
command
A line of text that tells the computer to run a program, typed in a terminal, for example `python src/cart.py`.
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.
prompt
The message you type to the agent to give it a task or instruction.
Learn this step by step on Bytewise
Lesson goal: State that you own every change you accept and every command you approve, including bugs, data loss, leaked secrets and licence or security problems. 'The AI did it' is not a defence at work or in your own project. · the whole lesson