Lesson 1 · Wednesday
Nov 18
Operating the page
How do I do from code what I just did by hand?
Your agent learns to use a web app the way you do: clicking, typing, reading the page, and checking that each step really happened. By the end, it sends personalized replies from an Outlook account of your own, checking every field as it goes.


The full agenda for lesson 1 · 90 minutes
- The whole gameThe finished program sends several emails from the course mailbox, so you see where the lesson ends before anything is explained.
- What CDP really isSlides from the talk: the protocol Chrome uses to be controlled from outside, every part of it on one slide, then grouped into categories.
- CDP with nothing but curlFind and control a running Chrome using nothing but plain web requests typed into the notebook. No libraries.
- Build a tiny CDP clientBuild a small program that talks to Chrome, step by step, using exactly the commands the email job will need.
- Switch to chrome-agentRun the same commands through chrome-agent, and see what a real tool adds over the small one.
- The agent's sensesHow an agent senses a page: sight (screenshots, reading the page), hearing (network traffic, console), touch (clicks, keys, paste, drag). React to what it senses; never wait and hope.
- The handoffLog in to the course mailbox by hand in the agent's browser. From then on, code and agent can both use that logged-in session.
- Write and send an email by hand, through CDPFind each part of the compose window in DevTools, then fill it in and send an email from the notebook.
- The agent builds the reusable program, side by sideA replay of an agent writing a reusable program for this job, shown beside the steps just done by hand.
- The whole game, againThe finished program sends its emails again. This time you understand every part of it.
- Short videos: the same skills elsewhereShort recorded videos of the same skills used on other sites.
- HomeworkThis week's work on your own project, and the skill cards to earn.
- Next week's problem: it's too slowA timer shows the program takes about twenty seconds per email: hours for a real job. Next week fixes it.



























