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.
Your first small task, end to end card 1 of 6

One tiny task, start to finish

builds on: A safe first project: folder, git, clean state, The shape of a session: task to review, git status and reading a diff
Your safe project holds `greet.py`, the two-line script shown below, which prints `Hello, world`. Everything is committed. Before you trust the agent with anything real, you want to practise the whole loop once. What task do you give it? And what do you do between typing the request and calling it done?
msg = "Hello, world"
print(msg)
Terms on this card
script
A small program in a single file that you run from the terminal, for example `python greet.py`.
loop
Code that repeats a step for each item in a list, e.g. adding up every row of a table.
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: Run one tiny, checkable task, such as adding a command-line option to a script. Watch it read files, approve its edit, run the result yourself, inspect `git diff` and commit, which practises the whole loop once. · the whole lesson