Stop Prompting Claude. Start Loop Engineering.

Stop Prompting Claude. Start Loop Engineering.

Rethinking AI Interaction: The Shift from Prompting to Loop Engineering

Introduction to Loop Engineering

  • Boris Cherny, creator of Claude code, emphasizes a paradigm shift in AI usage: moving from prompting to designing loops.
  • Peter Steinberg echoes this sentiment, suggesting that users should focus on building loops for coding agents rather than traditional prompts.

Understanding Loops vs. Prompts

  • A loop is defined as a prompt that runs continuously until a specific task is completed, contrasting with one-time prompts.
  • Boris explains his current workflow: he no longer prompts Claude directly; instead, he writes loops that automate the prompting process.

When to Use Loops

  • Four conditions determine when to create a loop:
  • Repetitive Task: Is the task something that repeats?
  • Clear Definition of Done: Is there a clear way to define when the task is complete?
  • Affordability of Waste: Can you afford potential token waste during execution?
  • Necessary Tools Availability: Does the loop have all tools required for task completion?

Building Successful Loops

Key Components of Effective Loops

  • The first building block is the trigger, which initiates the loop. Three simple methods include:
  • Using slash loop for local machine tasks.
  • Using slash schedule for cloud-based automation at specified times.
  • Custom orchestration skills for comprehensive control over loops.

Execution Skills and Their Importance

  • Execution skills are saved instructions allowing Claude to perform tasks consistently without retyping prompts.
  • Each execution skill must be battle-tested; they ensure reliability in achieving desired outcomes within loops.

Goals and Verification in Loop Development

Establishing Goals and Verification Methods

  • Every loop requires both a goal (what needs to be accomplished) and verification (how success will be confirmed).
  • Technical examples involve measurable goals like website performance metrics; non-technical tasks require creative verification strategies.

Bridging Abstract Tasks with Verifiable Outcomes

  • For non-measurable tasks, establish clear checkpoints using existing skills (e.g., email drafting verification through multiple review skills).

Output Management and Memory in Loops

Importance of Output and Memory Tracking

  • Every loop generates output but also needs memory tracking to avoid repeating past mistakes or wasting resources.
  • Documenting results helps improve future iterations by learning from previous outputs.

Practical Steps for Building Your First Loop

Starting Small with Skill-driven Development

  • Begin by identifying small, proven tasks suitable for looping based on earlier discussions about conditions and components.

Utilizing Prompts Effectively

  • Use provided prompts tailored towards building effective loops while leveraging past session history for inspiration.

Training Mode and Verification Checkpoints

Implementing Training Mode in New Loops

  • Initially set new loops to pause at each step for user approval before proceeding—this ensures accuracy before full automation begins.

Key Checkpoints in Non-measurable Tasks

  • Break down complex goals into smaller segments where human verification can occur at critical decision points throughout the process.
Video description

Get my free 5-day AI playbook (what I used to build a $25M+ startup): https://the-ai-playbook.com/loop In this video, I break down Loop Engineering (Claude Loops), the shift Boris Cherny and Peter Steinberger both made when they stopped prompting their AI and started loop engineering instead. You'll learn what a loop actually is, when to use one, the 5 building blocks every successful loop needs, and how to build your first loop today even if you have zero technical experience. Timestamps: (0:00) - Stop Prompting Claude, Start Writing Loops (0:46) - Part 1: What a Loop Actually Is (2:34) - Part 2: The 5 Building Blocks (2:38) - Block 1: The Trigger (4:01) - Block 2: Execution Skills (5:15) - Block 3: Goal and Verification (7:53) - Block 4: Output and Memory (9:16) - Part 3: Build Your First Loop Today What to watch next ⤵️ - The only skills you need to 10x: https://www.youtube.com/watch?v=AfKoqFwC7Ew - Stop prompting, start agentic engineering: https://www.youtube.com/watch?v=7zZy1QTvokM - Karpathy's 10x Claude Code method: https://www.youtube.com/watch?v=yfeHoOkn2TI -------- FOR INDIVIDUALS: - Free 5-day AI playbook (what I used to build a $25M+ startup): https://the-ai-playbook.com/loop - Use BuildPartner to build 10x faster with Claude Code (try free): https://buildpartner.ai/loop FOR BUSINESSES, Ways to work with me: - Apply for my Executive AI Coaching Program: https://www.theincubator.xyz/apply/loop - Want to build a SaaS product without hiring a CTO? https://www.theincubator.xyz/eng/loop -------- If you're new here, I'm Austin Marchese. How I got here... 16: First business (SAT Math Tutor) 22: Graduated Stevens Tech, 4.0, College Basketball, software engineering job at JPM 23: Bitcoin ATM company + building algorithms for a professional gambler (fun story) 24: Started creating content, grew 100k+ followers, built first agency, The Incubator 25: Scaled agency to 15+ team members, $75K/M while working full time 26: Quit my job, joined a startup called IYK 27: Became COO of a $25M+ tech startup, worked with Ed Sheeran, Chance the Rapper and more 28: Built a $20M+ real estate portfolio in the background 29: Transitioned from IYK, re-launched The Incubator, grew it to a 6-figure biz in 30 days. Now building BuildPartner.ai To everyone who's spending time learning and putting the work in, cheers. Anyone can make comments from the sidelines but not everyone can build... - Austin Follow/Subscribe - Instagram: https://www.instagram.com/austin.marchese/ - Youtube: https://www.youtube.com/@austin.marchese