masterclass | labs
agent-first coding masterclass | hands-on

Thirteen labs. From one reliable function call to a team of agents that find, call, remember, coordinate, and ship.

This is not a course in a programming language. It is a hands-on class in building software that an AI agent can use, not just a person. Every recipe is real code that runs on a working system: a layer that wraps each call in a clear result, a small server an agent can call, a website agents can discover, and a setup that runs many agents at once. You write the code. Your agent uses it. Each lab is a single page with copy-and-paste steps you run on your own laptop.

What you leave with: a project an agent can discover, sign in to, call, and remember — plus the know-how to run many of them at once.
typed call mcp server good schema discoverable sign-in memory memory mixes context meta prompting agent-to-agent orchestrate reverse api ship + prove
01 | ~8 min
easytyped result
The typed call

Every call to an outside service returns a clear result object: did it work, what went wrong, and what kind of failure was it. Never a bare value, never nothing. This one habit is what lets an agent stop guessing and start handling failures on its own.

a kernel pattern
02 | ~10 min
easymcp server
Build your own MCP server

MCP (Model Context Protocol) is the standard way an agent calls your code. With one small library and one decorator you expose three tools, run it on your laptop, then flip a single setting to put it on the public internet. Your project goes from person-callable to agent-callable in ten minutes.

VCN #34 Toolsmith
03 | ~8 min
mediumtool descriptions
Schema is the product

A tool's description is the only thing an agent reads to decide whether to use it. Watch a small model fail on a vague description, then fix it in one line. At real scale, whether a tool is readable matters more than whether it is clever.

VCN #34 + research
04 | ~8 min
mediumai-agent.json
Make it agent-discoverable

A person finds your site with a search bar. An agent finds it by reading a small file at a known address that says what you are and how to call you. Publish that file and a passing agent can use you with no prior knowledge. Skip it and you are invisible to them.

agentify + Web A.0
05 | ~10 min
hardsign-in + scopes
Auth without rolling your own

Tell callers where to get a token, then check that the token is allowed to do the thing before you do it. The step everyone skips early and regrets later. A leaked key with no limits is a breach; a key limited to one job is a boundary.

VCN #34 + IC tiers
06 | ~10 min
mediumpersistence
Memory that survives

An agent with no memory works out the world again from scratch every turn. Give it a store of facts on disk that it can look up by relevance. Then we plant a false fact it trusts forever, and build the guard that catches it before it acts.

VCN #33 Total Recall
07 | ~10 min
mediummemory mix
Memory mixes

There is not one kind of memory, there are four: the current scratchpad, a log of what happened, durable facts, and the rules the agent always follows. Put each in the right place and combine them into one clean context every turn. This is the mix that keeps an agent sane past turn thirty.

VCN #33 memory workshop
08 | ~10 min
mediumcontext
Context engineering

The prompt is one line. The context is everything the model sees at once, and models get worse as you stuff in more of it. Measure how much you are using, keep only the high-value parts, give each sub-task a fresh start, and save state to files. Adding more is usually the bug.

ClawCamp talk
09 | ~10 min
mediumcompile prompts
Meta prompting

Stop hand-writing prompts. Write a prompt that writes the prompt, then improve it like code: make several versions, score each against a test, keep the best, and learn from what still fails. You will run, by hand, the same loop that tools like DSPy automate.

ClawCamp talk
10 | ~10 min
mediumagent-to-agent
Agents talking to agents

Two agents, one shared format, a real handoff. One agent posts a task, the other finds it, does it, and returns a signed result, with no person in the middle. This is the basic building block of a whole internet of agents working together.

ClawCamp A2A
11 | ~12 min
hardorchestration
Orchestrate a fleet

One coordinator, a shared to-do list, many workers running at once, and a quality check that nothing gets past. Point ten agents at one problem, wait for them all, check the work, then combine it. This very set of labs was built that way, in parallel, while you were reading.

SBX SAOT / teams
12 | ~12 min
hard4-layer
Reverse a closed API

No public way in? Build one. Four layers: a browser sign-in for the keys, a client that looks like that browser, clear typed actions on top, and a command line on top of that. Turn a logged-in site you already use into something your agent can drive.

a reverse-API pattern
13 | ~10 min
mediumverify + safe retries
Ship it and prove it

A green build is not the same as a correct one. Deploy, then prove it: check the live site is really serving your new version, test the real flow, and make every write safe to repeat so a retry can never do it twice. This is what lets an agent act while you are not watching.

verify + deploy

what to bring

A laptop. Python 3.11 or newer. A coding agent open in another window (Claude Code, Cursor, whatever you use). pip install fastmcp curl_cffi covers most labs, and the new labs (07 to 09) run on plain Python with nothing extra and no keys. A free ngrok account for the labs that go on the public internet. No GPU and no cloud account until you choose to deploy in Lab 13.

how to run it

On your own: do the labs in order, each one sets up the next. With your agent: every lab ends with a hand this to your coding agent prompt. Paste it into your coding agent, watch it build the lab for you, then read the changes to learn what it did. That is the whole idea: you and the machine, building together.

All thirteen labs are a single file, no build step, easy to read the source. Every Python recipe uses only plain ASCII text so it runs on Windows without errors. Every pattern is real code from a working system. Take anything you want.