agent-loops

Research Sources

All sources investigated during the design of agent-loops.


1. Claude Agent Loop (Anthropic)

Key Concepts

What We Adopted


2. Loop Engineering (Addy Osmani)

Key Concepts

What We Adopted


3. Boris Cherny / Loop Engineering Philosophy

Key Concepts

What We Adopted


4. iteratr (mark3labs)

Key Concepts

What We Adopted


5. Hermes Kanban (Nous Research)

Key Concepts

What We Adopted


Adoption Summary Table

Concept Source Implementation
Container-per-agent Claude subagents + our innovation Docker isolation per task
Kanban board Hermes SQLite with 7 states
Dependency graph Hermes task_links + auto-promotion
Worker context Hermes Parent results + prior attempts
Auto-decompose Hermes LLM splits triage tasks
Maker vs Checker Addy Osmani Different models per role
Memory on disk Addy Osmani SQLite, not LLM context
Infinite loop Boris Cherny dispatcher.js 30s tick
iteratr runtime iteratr KIT SDK in-process
Lifecycle hooks iteratr .iteratr.hooks.yml per role
pipe_output iteratr Agent sees test/lint failures
Task tracking iteratr MCP tools via KIT SDK
Notes system iteratr Learnings persist between iterations
Git worktrees Addy Osmani One per task for isolation
Circuit breaker Hermes Auto-block after N failures
Crash recovery Hermes Reclaim stale running tasks