Stanford CS146S: How always-on agents work
Lee Robinson's Stanford CS146S talk on how always-on agents such as Grok Bot work: server-hosted agent loops with their own cloud computers, durable workflows, dynamic tool discovery, helper subagents, prompt caching, compaction, layered memory, and the training flywheel behind them.
4 sections ยท 12 lessons
Course outline
From Loop to Colleague
- From Copy-Paste to Always-On
- Six Shifts That Made Bots Possible
Always-On Architecture
- Sleeping Servers, Waking Triggers
- Thin Client, Thick Server
- Durable Workflows Over Job Queues
- Designing a Meeting-Notes Bot
Harness Engineering
- Try the Cheapest Option First
- An Orchestrator With Helpers
- Keeping the Prompt Cache Warm
- Compaction and Layered Memory
- Why Did the Bot Bill Triple?
Trust and What Comes Next
- Guardrails for Unattended Agents
- The Harness-Model Flywheel
- Delete the Product