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.
How a code project is laid out
card 2 of 6
Projects reuse the same few roles
builds on: Terminal basics: where you are and running things
Most projects follow **conventions**: habits shared by programmers, so newcomers know where to look. The names change with the language, but the same roles repeat:
- a description for humans
- a settings file for the tools
- a folder of real code
- one starting file
- code that checks the code
- generated clutter
Once you can spot these roles, any project becomes readable. An AI coding agent is a tool that reads, runs and edits the files in a folder for you. When you start one in a project, it uses the same conventions to find its way.
Terms on this card
- AI coding agent
- A tool that reads, runs and edits the files in a project folder for you, working from your instructions.
- coding agent
- An AI tool that works inside your project: it can read files, run commands and edit code by itself, not just reply with text.
- 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.
- AI
- Artificial intelligence: here, the large language model that reads your request and decides what the agent does.
Lesson goal: Recognise the usual parts of a project: source folders, entry point, config files, README, test folder and ignored files. Know where to look first in an unfamiliar repo. ·
the whole lesson