tldw.ink
← Back to tldw.ink

'loop engineering' as an outer loop that lets agents prompt themselves

The speaker traces a four-stage progression: 'prompt engineering' (give an LLM a direct role), 'context engineering' (let the agent invoke tools and gather external data), 'harness engineering' (an external runtime that manages long-running tasks) and finally 'loop engineering' (an outer scaffolding that lets agents schedule, self-prompt and self-manage). Concrete examples: asking 'Chachippity' "how many cheeseburgers can I fit between the earth and the moon?" is handled purely by 'prompt engineering'; "what is the latest discovery that NASA made?" requires 'context engineering' to fetch the web; cloning NASA's complex site is framed as a 'harness engineering' problem that needs external task management because tasks that exceed 'five to 10 minutes' will exhaust the agent's context and suffer lossy summarization.

'Loop engineering' is presented as a distinct layer that "stacks another loop outside of harness engineering" to create scheduled, self-guided behaviors. The speaker gives a practical use case: a 'World Cup' scoreboard website built by 'Claude code' or 'chat CPT' that must update 'every single day' — instead of human-triggered prompts, the agent could run a scheduled check 'every hour', consult installed 'skills' and 'plugins', use 'sub-agents' for parallel fixes, and avoid runtime contamination with a 'work tree'. The speaker cites a six-component taxonomy (attributed to 'Adios Mani' and later 'Adi Asmani' in the transcript): "automation, work tree, skills, plugins and connectors, sub-agents and state." The conclusion: loop engineering is not merely buzzwordy token-burning or a replacement of earlier practices, but an incremental architectural layer that enlarges agent scope by stacking loops to handle continuous, evolving, and multi-step workflows.