AI harness crash course
Annie's codelabs → https://g.dev/ai/ai-harness
The model can write the code. It can't open your files, run your tests, or ask before doing something risky. The software that does all of that is the AI harness, and this crash course shows you how to design one.
We follow a single task through the four parts of a harness:
* Context & memory: the session is the transcript, state is the scratchpad, long-term memory carries preferences into next week's conversation.
* Tools & execution flow: Python functions, MCP servers, and a graph workflow that runs checks in parallel and stops after a retry l