# Loop Engineering Guide — designpattern.fyi

> The practice of designing systems that prompt AI agents autonomously instead of manual prompting

- **Section**: Loop Engineering Guide
- **Canonical URL**: https://designpattern.fyi/loop-engineering/

---

## Patterns in this Category


### [The Evolution of AI Interaction](https://designpattern.fyi/loop-engineering/the-evolution-of-ai-interaction/)
- **Summary**: From prompt engineering to loop engineering: the four layers of AI orchestration



### [The Six Primitives of a Loop](https://designpattern.fyi/loop-engineering/the-six-primitives-of-a-loop/)
- **Summary**: The architectural building blocks of reliable autonomous agent loops



### [Loop Patterns and Paradigms](https://designpattern.fyi/loop-engineering/loop-patterns-and-paradigms/)
- **Summary**: Heartbeats, crons, hooks, goals, and the distinction between open and closed loops



### [Guardrails and Responsibility](https://designpattern.fyi/loop-engineering/guardrails-and-responsibility/)
- **Summary**: Managing token costs, verification, comprehension debt, and cognitive surrender



### [Loop Engineering for Enterprise AI](https://designpattern.fyi/loop-engineering/loop-engineering-for-enterprise-ai/)
- **Summary**: Autonomous Agent Loops, Verification, and Governance



### [Goal Loops and Interval Composition](https://designpattern.fyi/loop-engineering/goal-loops-and-interval-composition/)
- **Summary**: Verifiable autonomy, separate-evaluator architectures, and composing schedules with finish lines.



### [Execution Surfaces and Verification](https://designpattern.fyi/loop-engineering/execution-surfaces-and-verification/)
- **Summary**: Coupled and decoupled execution models, verification strategies, and self-grading risks.



### [Skills, Parallelism, and Coordinated Teams](https://designpattern.fyi/loop-engineering/skills-parallelism-and-coordinated-teams/)
- **Summary**: Encoding reusable loop bodies, managing concurrency, and multi-agent coordination.



### [Deterministic Governance and Memory State](https://designpattern.fyi/loop-engineering/deterministic-governance-and-memory-state/)
- **Summary**: Injecting hooks, scoping permissions, and maintaining state across disconnected agent sessions.



### [Self-Improving Loops and Anti-Patterns](https://designpattern.fyi/loop-engineering/self-improving-loops-and-anti-patterns/)
- **Summary**: Designing external fitness functions to prevent heuristic drift and reward hacking.



### [Enterprise Governance, Reference Architecture, and Recommendations](https://designpattern.fyi/loop-engineering/enterprise-governance-reference-architecture-and-recommendations/)
- **Summary**: Regulated environment controls, reference architecture, adoption steps, and primary references.




---

## Machine-Readable Resources
- **JSON Feed**: https://www.designpattern.fyi/api/patterns.json
- **OpenAPI 3.1**: https://www.designpattern.fyi/api/openapi.json
- **llms.txt**: https://www.designpattern.fyi/llms.txt
