autonomous-loops

Installation
Summary

Patterns and architectures for autonomous Claude Code loops, from sequential pipelines to RFC-driven multi-agent DAG systems.

  • Covers six loop patterns spanning simplicity to sophistication: sequential pipelines, persistent REPL sessions, infinite agentic loops for parallel generation, continuous PR loops with CI integration, de-sloppify cleanup passes, and RFC-driven DAG orchestration with merge queues
  • Sequential pipelines use claude -p chaining with isolated context windows per step; NanoClaw provides persistent session history; Infinite Agentic Loop deploys parallel sub-agents with assigned creative directions
  • Continuous Claude automates multi-iteration PR workflows with CI failure recovery, cost/duration limits, and shared task notes for cross-iteration context bridging
  • Ralphinho decomposes specs into dependency DAGs, runs tiered quality pipelines (research, plan, implement, test, review), and lands units via an intelligent merge queue with eviction recovery for conflicts
  • De-sloppify pattern adds focused cleanup passes instead of constraining implementers with negative instructions, eliminating author bias through separate reviewer contexts
SKILL.md

Autonomous Loops Skill

Compatibility note (v1.8.0): autonomous-loops is retained for one release. The canonical skill name is now continuous-agent-loop. New loop guidance should be authored there, while this skill remains available to avoid breaking existing workflows.

Patterns, architectures, and reference implementations for running Claude Code autonomously in loops. Covers everything from simple claude -p pipelines to full RFC-driven multi-agent DAG orchestration.

When to Use

  • Setting up autonomous development workflows that run without human intervention
  • Choosing the right loop architecture for your problem (simple vs complex)
  • Building CI/CD-style continuous development pipelines
  • Running parallel agents with merge coordination
  • Implementing context persistence across loop iterations
  • Adding quality gates and cleanup passes to autonomous workflows

Loop Pattern Spectrum

Related skills
Installs
3.5K
GitHub Stars
180.7K
First Seen
Mar 3, 2026