LECTURE-7 COURSE GUIDE

Lecture 7: Agentic Coding

A chapter-by-chapter readback of the free course by Missing Semester on Missing Semester.

Length1:00:34
Chapters6
Modules3
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.
Watch on Missing Semester · chapter timestamps in the contents jump the video

This lecture demystifies coding agents by building them up from first principles — an LLM plus a deterministic harness looping over tool calls — then shows practical workflows, from test-driven fixes to parallel agents and context management.

Who it's for
Read this guide if
  • You want to understand what a coding agent actually is under the hood
  • You're deciding which AI model, pricing plan, or approval settings to use
  • You want practical workflows like test-driven fixes, refactoring, and code review with agents
  • You're curious about advanced patterns like MCP, sub-agents, and compaction
Skip ahead if
  • You've never programmed and don't know what a shell or compiler is
  • You want a tutorial on a specific product rather than general concepts
  • You're looking for a deep mathematical treatment of how LLMs are trained
In brief
  • Duration: about 60 minutes (3634 seconds).
  • 7 chapters, from introduction through warnings about what to watch out for.
  • Primary tool demonstrated: Claude Code (with Anthropic's Opus 4.5); alternatives like IDE agents and open-source harnesses are mentioned.
  • Level: assumes basic programming and command-line familiarity (Missing Semester audience).
  • Concrete demo project: turning a small Python script into a proper argparse-based CLI, verified with mypy.

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

Getting Started with Coding Agents

0:00

Introduction

Introduces agentic coding as a newer, more sophisticated form of AI-assisted development than autocomplete or inline chat, and demos converting a simple link-extraction script into a proper CLI program.

11:37

How AI models and agents work

Explains the two parts of any coding agent: a language model (a probability distribution over strings) and an agent harness that loops, executes tool calls like bash and file read/write, and feeds results back.

26:44

Privacy

Notes that high-capacity models run in the cloud, so providers receive your data and may train on it unless you have a special agreement — check the terms and conditions.

Practical Use and Workflows

27:55

Use cases

Covers concrete uses: fixing bugs via failing tests, refactoring, code review, codebase understanding, natural-language shell searches, vibe coding, saved prompts, and running multiple agents in parallel with git worktrees.

41:54

Advanced agents

Digs into context management: clearing and rewinding history, compaction via LLM summaries, web fetching, llms.txt and agents.md files, skills with indirection, and sub-agents that keep the parent context clean.

Limitations and Judgment

58:40

What to watch out for

Warns that AI is not magic: models are probabilistic token predictors, so review all output; plausible-but-wrong code, rabbit holes, and stubborn insistence on errors are real failure modes, and programming skills remain valuable.

Moment by moment

TimeWhy it matters
3:02Crisp definition of a coding agent: a conversational model with tools that can read/write files and run shell commands
3:06Live one-shot demo: converting dl.py into an argparse CLI with type annotations, verified by mypy
12:37Explanation of the core loop: harness executes the model's tool calls and feeds results back as input
30:16Best-practice bug workflow: write a failing test first, then ask the agent to make it pass
58:40Honest warning: plausible-looking wrong code and debugging spirals mean you must review everything AI produces

Do this next

  1. Install a coding agent (e.g., Claude Code or an IDE equivalent) and convert one of your own small scripts into a CLI with argument parsing.
  2. Practice the test-driven workflow: write a failing test for a known bug, then prompt the agent to fix it and run the full suite.
  3. Set up an agents.md/CLAUDE.md in a repo you maintain, listing your type-check and test commands, and compare agent behavior before and after.

Common questions

What is a coding agent?

A conversational AI model wrapped in an agent harness that gives it tools — reading and writing files, running shell commands, searching code — and loops tool results back into the model until it produces a final answer.

How much does using a coding agent cost?

The lecture's demo cost about 19 cents; a roughly $20/month student subscription is a reasonable start, and many working engineers spend several hundred dollars a month, justified by time saved.

Is it safe to let an agent run commands on my computer?

The recommended setup is to auto-approve file edits (tracked in git) but manually approve each shell command, since commands mutate your machine's state and could be destructive.

When should I clear or compact the agent's context?

If you're continuing the same task, compaction (an LLM summary of history) works well; if you're switching to something unrelated, clear the context entirely instead of carrying stale information.

Spot a mistake?

Every summary on this page is hand-checked against the video, but errors can slip through. If you spot a mistake in a timestamp, summary, or fact, please email us so we can fix it.

More course guides