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.
Workflow: understanding unfamiliar code card 1 of 6

Lost in a repo you've never seen

builds on: How a code project is laid out, Giving the right context: files, errors, examples, Confidently wrong: plausible is not correct
You need to change the welcome email in a web app you've never worked on. You open the agent in the project root and type: `explain this codebase`. A minute later you get a tidy, confident overview. It sounds right. But you still don't know which file to open. You also can't tell which parts it actually read and which parts it guessed.
Terms on this card
repo
Short for repository: a project folder whose history is tracked by git, holding all its code and files.
codebase
All the source code of a project, taken as a whole.
project root
The top-level folder of a project, the one containing `.git`. Paths like `src/app.py` are written relative to it.
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.
web app
A program you use through a web browser. It usually needs a server and more setup than a simple command.
Learn this step by step on Bytewise
Lesson goal: Use the agent as a guide to a new repo. Ask where things live, how a request flows through the code, and what a function is for. Ask for file and line references, check claims against the code, and write your own short map. · the whole lesson