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.
Branches as parallel lines of work card 1 of 6

Try something risky without risking main

builds on: Git commits as snapshots you can return to
Your notes app works and everything is committed. You want the agent to try a bold change: move storage from a text file to an SQLite database. It might take several commits, and it might turn out to be a dead end. Meanwhile you want a working version you can switch back to at any moment, without copying the whole folder. How do you keep two lines of work apart?
Terms on this card
SQLite
A small database stored in a single file, often used by apps instead of plain text 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.
database
Software that stores data and lets programs query it. It needs its own setup, which is overkill for a small tool.
Learn this step by step on Bytewise
Lesson goal: Explain a branch as a movable pointer to a line of commits. Create one for an experiment, switch between branches, and merge or delete it depending on how the experiment went. · the whole lesson