Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

You will spend the semester working with a coding agent, so it is worth an hour to understand what one is. How an agent works is quite different from how it is marketed.

Hadley Wickham has written the clearest available explanation, aimed at data scientists instead of software engineers. His examples are in R, but the ideas apply equally to Python, and the explanations are excellent teaching material.

Assigned readingsΒΆ

Read these two posts, in order, during the first week:

Read this post before we discuss autonomy later in the module:

Ask modeΒΆ

We work in ask mode for this entire module. Ask mode has read-only access to your project: the agent can read your code and data and suggest what to write, but you type or paste the code and run it yourself. We move to code mode, which lets the agent edit files and run code, at the start of Module 2.

Autonomy is neither forbidden nor frightening. We avoid it for now because watching an agent edit files and run code behind a progress bar tells you nothing about whether its work is right. You can only audit work that you have read before it runs.

Optional readingsΒΆ

Discussion questionsΒΆ