Skills

Loop Engineering

Designing continuous systems where AI models autonomously use tools and evaluate results until a task is fully complete.

Detailed Explanation

Loop Engineering is the evolution of Prompt Engineering. Instead of providing a single prompt and accepting a single output, Loop Engineering involves designing an automated system (a loop). In this system, the AI is called, it decides to use tools, the results are fed back to the AI, and the process repeats until a success criteria is met. It requires managing context size, enforcing tool discipline, and implementing hard stops to prevent infinite loops.

Related Terms