# Cycle: The Loop-the-Loop: Diagram element for AI agents

> A loop of three to six stages. A wireframe loop-the-loop stands in the water with chevrons showing the direction; a figure runs one full lap round the inside of the ring, and each stage marker lights and its label appears as the runner passes; the centre word sits in the middle.

Canonical page: https://agentframes.ai/elements/archetype/cycle-loop/
Markdown: https://agentframes.ai/elements/archetype/cycle-loop.md

## Overview

- Name: Cycle: The Loop-the-Loop (`cycleLoop`), an element: one HyperFrames block per size
- Part of: the [Archetype](https://agentframes.ai/packs/archetype.md) pack (4 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: A loop of three to six stages. A wireframe loop-the-loop stands in the water with chevrons showing the direction; a figure runs one full lap round the inside of the ring, and each stage marker lights and its label appears as the runner passes; the centre word sits in the middle.
- Pack: [Archetype](https://agentframes.ai/packs/archetype.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on none; avoid none
- Typical duration: 7.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/archetype/cycle-loop.mp4
- Poster: https://agentframes.ai/media/archetype/cycle-loop.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Archetype pack. Add a `cycleLoop` beat to plan.json on a `k` canvas with slots `title`, `centre` and `items` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | title | {"type":"string","minLength":1,"maxLength":44} | The *overthinking* loop |
| `centre` | string | centre | {"type":"string","minLength":1,"maxLength":12} | Stuck |
| `items` | string | items | JSON string. {"type":"array","minItems":3,"maxItems":6,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":18}},"required":["label"]}} | [{"label":"New idea"},{"label":"Doubt"},{"label":"More research"},{"label":"Delay"}] |

## What your agent can change

**Cycle: The Loop-the-Loop**. Native 1920×1080, 7.5s at 30fps.

A loop of three to six stages. A wireframe loop-the-loop stands in the water with chevrons showing the direction; a figure runs one full lap round the inside of the ring, and each stage marker lights and its label appears as the runner passes; the centre word sits in the middle.

**Motion.** Ring lifts into place; chevrons fade up in order; the figure lands at the bottom and runs the lap at constant speed (the body always points at the centre); each marker lights and its label rises as the runner passes; the runner stops at the bottom.
**Why it moves.** change + continuity: one lap is one turn of the cycle, and the runner ends where it began.

### Mount

Copy every manifest file into your project (plus `af-archetype-runtime`). Mount with a unique host id, `data-composition-id="af-archetype-cycle-loop-16x9"`,
`data-composition-src="compositions/af-archetype-cycle-loop-16x9.html"`, `data-duration="7.5"` and `data-variable-values`.
Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.

### Content slots

Nested slots are JSON strings. Every slot is checked against `constraints.json` and measured against the layout before anything
draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

- `title`: {"type":"string","minLength":1,"maxLength":44}
- `centre`: {"type":"string","minLength":1,"maxLength":12}
- `items` (required): {"type":"array","minItems":3,"maxItems":6,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":18}},"required":["label"]}}

- Stages run anticlockwise from the bottom (the runner's start), shown by the chevrons.
- The ring takes the largest size whose labels all fit (each label may wrap to 2 lines); if none fits, the block asks you to shorten the labels.

Style: `colourway` (void, abyss, dusk), `accent` (optional hex for the tip colour), `footer`, `enter` / `exit` (dark or cut).

### Timing

7.5s. Everything has landed by 4.5s (60%), then the scene holds for reading (figures keep a small idle, ripples
spread, text stays still). It fades up out of black and closes to black over the last 0.5 s.

### Example

```json
{
  "title": "The *overthinking* loop",
  "centre": "Stuck",
  "items": "[{\"label\":\"New idea\"},{\"label\":\"Doubt\"},{\"label\":\"More research\"},{\"label\":\"Delay\"}]"
}
```

## FAQ

### What can my AI agent change in Cycle: The Loop-the-Loop?

Your agent fills the `title`, `centre` and `items` slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Archetype look.

### Which aspect ratios does Cycle: The Loop-the-Loop support?

Cycle: The Loop-the-Loop is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7.5s.

### How do I get Cycle: The Loop-the-Loop?

Cycle: The Loop-the-Loop is included in the Archetype pack, which is part of the AgentFrames All-access subscription along with 49 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Archetype

- [Step Flow: The Climb](https://agentframes.ai/elements/archetype/step-climb.md): Two to five steps in order, climbed. In 16:9 a figure hops up a staircase, one tread per step, and each step label (STEP n, title, detail) sits above its column on a dashed leader; in 9:16, 4:5 and 1:1 the figure climbs a ladder with a board per step and the labels to the right of each red tip.
- [Hub and Spoke: The Balloons](https://agentframes.ai/elements/archetype/hub-balloons.md): One idea and what connects to it. A figure stands on a plinth with the idea written on its face; three to six balloons rise out of its raised hand one by one on strings and float into an arch, each with its label.
- [Decision: Two Boards](https://agentframes.ai/elements/archetype/decision-boards.md): A two-way choice and its outcomes. A tower stands in the water with a diving board each way; each board has its label above the tip and its outcome below. The figure looks one way, then the other, then walks out along the chosen board and dives; the other side dims.
- [Comparison: Same Task, Two Ways](https://agentframes.ai/elements/archetype/versus-two-ways.md): One to three paired differences on a stable basis. Two figures on two plinths with their names above; an optional basis line ("Same idea. Same week.") on top. One sits hunched beside a single untouched block; the other pushes a new block onto its stack for every row. Rows sit on the water: left side dim, right side bright, on the same baseline.

## Community

Coming soon.
