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.
What agents do well and what they do badly
card 2 of 6
Strong where it has seen it and can check it
An agent is a language model that can also read files, edit them and run commands. It writes code by predicting what typically fits. So it's strongest where it has seen lots of similar code: Python, JavaScript, SQL, popular libraries. Rare tools mean fewer examples and more guessing. It fills a fuzzy goal with guesses too. Your business trade-offs aren't written in your files. And if nothing can show a result is wrong, a bad result just looks right.
Terms on this card
- 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.
- language model
- The AI behind chat assistants and agents. It produces text and code by predicting what most likely comes next, based on huge amounts of text it learned from.
- SQL
- A common language for asking questions of databases and changing the data in them.
- trade-offs
- Gains and costs you weigh against each other when choosing, such as speed vs simplicity or cost vs features.
- run commands
- Start programs by typing instructions, e.g. `python report.py` runs that script. An agent can do this on your computer.
Lesson goal: Sort tasks by fit. Well-specified, checkable, local changes in common languages suit agents. Vague goals, subtle design judgement, rare tools, and changes with no way to verify suit them poorly. ·
the whole lesson