← Back to Patterns

multi-agent-dynamic

Multiple agents work on different runbooks with dynamic iteration

composition dynamic

Source


# Multi-Agent Dynamic Runbook

Demonstrates multiple agents working on different runbooks with dynamic iteration.

## {N}. Process Work Items

- PASS: GOTO NEXT
- FAIL: GOTO Finalize

### {N}.1 Lint Agent

- PASS: CONTINUE
- FAIL: STOP

- agent-task-lint.runbook.md

### {N}.2 Test Agent

- PASS: CONTINUE
- FAIL: STOP

- agent-task-test.runbook.md

## Finalize

- PASS: COMPLETE
- FAIL: STOP

All agents completed their work.

Try It

Two agents complete one iteration then finalize

Initializing...

Initializing...

Step/
ExpectedCOMPLETE
Env idle