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 5 of 6

Where to look first, in order

builds on: Terminal basics: where you are and running things
1. **README**: its usage section shows `invoicer <file.csv>`. 2. **Config file**: the scripts section of `pyproject.toml` has `invoicer = "invoicer.cli:main"`. This means the command `invoicer` runs the function `main` in `invoicer.cli`, which is the file `src/invoicer/cli.py`. The command exists once the project is installed. That file is the entry point. 3. **Entry point**: read `main`, then follow its `import` lines into `totals.py` and `pdf.py`. 4. **Skip** `.venv/`, and also `__pycache__/` and `output/` once they appear. They are not this project's code. `tests/` mirrors the source folder: `test_totals.py` checks `totals.py`.
Terms on this card
README
A text file, usually `README.md`, in the project root that explains what the project is and how to install and run it.
config file
A settings file read by tools rather than people. It holds the project name, the libraries used and often the commands for running it.
`pyproject.toml`
The standard config file for a Python project: name, required libraries, and commands it provides.
source folder
The folder holding the project's own hand-written code, often `src/`, `app/` or `lib/`.
entry point
The file or function that runs first when you start the program. Everything else is reached from it.
Learn this step by step on Bytewise
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