Pattern 01 / AI workflowlatte / 2026

Agent runtime support

Agents changed the operating context. A laptop asleep during a long run is no longer a personal inconvenience; it is infrastructure failure.

The problem

My agents kept stopping. I would walk away from my laptop, even while docked, and macOS would put it to sleep. I could not kick off a long run and go do something else.

The build

latte wraps caffeinate into a small CLI with direct commands, timers, and a TUI. It works for humans at a terminal and for AI agents inside scripts.

Learning

Make invisible runtime constraints explicit.