AI DevelopmentThe Pragmatic Engineerby Gergely Orosz

What is “loop engineering?”

Read original
ai-coding-toolsautomation-stacksemerging-ai-patterns

I don't prompt Claude anymore. I have loops running that prompt Claude and figuring out what to do. My job is to write loops.

Key takeaways

  • Loop engineering represents a paradigm shift from manual prompting to designing systems that autonomously prompt AI agents—moving from 'I prompt' to 'I design the system that prompts'
  • The pattern emerged from Geoffrey Huntley's 'Ralph Wiggum' loop concept (Dec 2023), went viral, and by May 2024 major AI coding harnesses added native /goal command support, suggesting the pattern is becoming standardized
  • Real-world adoption shows mixed results: useful for event-driven tasks and scheduled jobs, but developers report agent drift, expensive token consumption ('tokenmaxxing'), and cases where human-in-the-loop outperforms autonomous loops
  • Contrarian take from Max Kanat-Alexander: loops may be a temporary hack that tooling has now superseded; context engineering may matter more than loop engineering for most developers outside AI infrastructure teams
  • Cost barrier emerging: companies paying per-token API pricing find loop engineering prohibitively expensive, creating a potential market segmentation between well-funded AI labs and cost-conscious enterprises

Why this matters for operators: Engineering teams evaluating AI coding tools; organizations considering AI agent automation; developers rethinking prompt engineering workflows

I cover AI×GTM intelligence like this every Wednesday.

Get STEEPWORKS Weekly

More picks

AI DevelopmentLenny's Podcast

Humans will keep inventing new reasons why we must stay in the loop with agents

  • Human resistance to full AI autonomy is not purely technical—it's psychological and organizational; companies will rationalize keeping humans in decision loops even when agents are capable
  • The 'human-in-the-loop' requirement may become a self-perpetuating narrative rather than a genuine necessity, driven by organizational risk aversion and change resistance
  • Product leaders at scale (Notion) are observing this pattern, suggesting it's a widespread phenomenon across enterprise AI adoption, not isolated to specific use cases
ai-agent-adoptionhuman-in-the-loopai-governance
GTM Ops**RevOps Impact (Jeff Ignacio)

Comp plans for consumption pricing

  • Consumption pricing fundamentally breaks traditional SaaS comp models—requires rethinking sales incentive structures around usage vs. contract value
  • Four distinct contract structures exist (pay-as-you-go, uncommitted, committed, hybrid), each requiring different compensation mechanics and sales behaviors
  • Enterprise consumption-based deals create tension: customers want flexibility, sales teams need predictability for quota attainment—comp design must bridge this gap
revenue-platform-consolidationconsumption-pricing-modelssales-comp-design
AI×GTMGTM OS: The Future GTM Operator

3 revenue motions your AI is only half wired into

  • Model parity has arrived: OpenAI/Claude now trade evenly on core tasks, making 'better AI' a non-differentiator—the edge shifts to integration depth into existing revenue motions
  • Waste is quantified: teams paying $17K-$37K/month for AI seats that never touch pipeline generation; real cost is opportunity cost of unused capacity, not subscription fees
  • Lean teams have a structural advantage: cannot out-buy larger competitors on model access, but can out-embed them by wiring AI 1 revenue motion deep (pipeline → content → deals) with proprietary deal context competitors haven't seen
ai-sdr-adoptionrevenue-platform-consolidationback-to-basics-gtm

This analysis was produced using the STEEPWORKS system — the same agents, skills, and knowledge architecture available in the GrowthOS package.