# How to Implement Loop Nodes in Archon to Iterate Until Completion Signals Are Received

> Learn how to implement Archon loop nodes to repeatedly execute AI prompts until completion signals are received. Streamline your workflows efficiently.

- Repository: [Cole Medin/Archon](https://github.com/coleam00/Archon)
- Tags: how-to-guide
- Published: 2026-04-10

---

**Archon workflow engine supports loop nodes that repeatedly execute AI prompts until a predefined completion signal (such as `<<DONE>>` or a custom regex pattern) is detected in the assistant's response.**

Archon’s DAG-based workflow engine provides first-class support for **loop nodes** that enable AI-driven iteration cycles within your automation pipelines. These nodes are defined in workflow YAML configurations and processed by a dedicated Loop Executor that manages while-style control flow until explicit termination criteria are satisfied. Understanding how to implement loop nodes in Archon allows you to build autonomous refinement workflows for