tldw.ink
← Back to tldw.ink

'loop engineering' as a five-component system

The speaker traces the coinage of 'loop engineering' to community signals (a tweet by Peter Steinberger about Open Claw and comments by Boris Shurney) and frames it as the next stage of agentic programming: agents initiating and sustaining work without humans in every step. The essential shift is not that humans disappear, but that agents can autonomously decide when and how to act by prompting themselves, creating a recurring 'loop' of activity.

The speaker cites 'Adios Mani's blog post' as a taxonomy defining five core components that together enable practical loops:

  • Automation: scheduled, recurring triggers (compared to 'CRON tasks') that start agent work automatically—examples include coding agents such as 'codecs' running checks like 'checking GitHub for yesterday's CI failures' or 'triaging a new issue'.
  • Work tree: an isolated working directory/branch for an agent (parallel to GitHub work trees) so concurrent agent actions do not interfere; the speaker notes tools that implement this, e.g., 'plot code', 'cursor', and 'code next'.
  • Skills: markdown 'skill files' that capture job-specific know-how and let agents invoke niche capabilities; critical for contextualizing an agent when dropped into a role.
  • Plugins and connectors: integrations exposing external systems (databases, apps) to agents; examples mentioned include 'Notion stripe through MCP' and platform integrations in 'Cloudcode' and 'codecs'.
  • Sub agents: subordinate agents invoked by a main agent to split work and independently check results, providing speed, modularity, and an extra safety layer.

The speaker notes optional augmentations (e.g., a 'persistence memory' layer stored in markdown) and emphasizes there is no central authority defining loop engineering—different implementations will vary. The conclusion warns that as agent initiative grows, 'unattended errors compound' and so loops require checks and balances and validation across codebases to ensure loop engineering augments rather than degrades workflows.