# Compare: Diagram element for AI agents

> Two options in columns with up to five comparisons in the middle, the better value in mustard; rows are set down on their cues.

Canonical page: https://agentframes.ai/elements/seedhouse/compare/
Markdown: https://agentframes.ai/elements/seedhouse/compare.md

## Overview

- Name: Compare (`compare`), an element: one HyperFrames block per size
- Part of: the [Seedhouse](https://agentframes.ai/packs/seedhouse.md) pack (45 of 53). Available only through the All-access subscription.
- Category: Diagram
- Purpose: Two options in columns with up to five comparisons in the middle, the better value in mustard; rows are set down on their cues.
- Pack: [Seedhouse](https://agentframes.ai/packs/seedhouse.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: 5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/seedhouse/compare.mp4
- Poster: https://agentframes.ai/media/seedhouse/compare.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Seedhouse pack. Add a `compare` beat to plan.json on a `k` canvas with slots `kicker`, `title`, `a`, `b`, `rows` and `cues` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `kicker` | string | kicker | {"type":"string","minLength":0,"maxLength":14} |  |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":32} | Raised bed vs *ground* |
| `a` | string | a | {"type":"string","minLength":1,"maxLength":8} | Raised |
| `b` | string | b | {"type":"string","minLength":1,"maxLength":8} | Ground |
| `rows` | string | rows | JSON string. {"type":"array","minItems":2,"maxItems":5,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":14},"a":{"type":"string","minLength":1,"maxLength":5},"b":{"type":"string","minLength":1,"maxLength":5},"lower":{"type":"boolean"}},"required":["name","a","b"]}} | [{"name":"Drainage","a":"9","b":"5"},{"name":"Warmth","a":"8","b":"6"},{"name":"Weeds","a":"3","b":"8","lower":true},{"name":"Cost","a":"7","b":"1","lower":true}] |
| `cues` | string | cues | JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14} | [] |

## What your agent can change

**Compare**. Native 1920×1080, 5s at 30fps. A full-frame card on the packet.

Two options in columns with up to five comparisons in the middle, the better value in mustard; rows are set down on their cues.

**Motion.** Boards and labels are set down on the packet: up from below, 0.94x, a soft settle (no clip; words are never cut).
**Why it moves.** clarity: the matchup in numbers.

### Mount

Copy every manifest file into your project (plus `af-seedhouse-runtime`). Mount with a unique host id, `data-composition-id="af-seedhouse-compare-16x9"`,
`data-composition-src="compositions/af-seedhouse-compare-16x9.html"`, `data-duration` and `data-variable-values`. A longer `data-duration` than 5s
extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: 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).

- `kicker`: {"type":"string","minLength":0,"maxLength":14}
- `title` (required): {"type":"string","minLength":1,"maxLength":32}
- `a` (required): {"type":"string","minLength":1,"maxLength":8}
- `b` (required): {"type":"string","minLength":1,"maxLength":8}
- `rows` (required): {"type":"array","minItems":2,"maxItems":5,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":14},"a":{"type":"string","minLength":1,"maxLength":5},"b":{"type":"string","minLength":1,"maxLength":5},"lower":{"type":"boolean"}},"required":["name","a","b"]}}
- `cues`: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}

- `lower: true` marks a row where lower is better. `cues`: one block-relative time per row (from your transcript); leave it empty to space them 0.25 s apart.

### Brand and layout

Brand variables (defaults from `brand.json`): `colourway`, `accent`, `creator`, `handle`, `channel`, `tagline`, `monogram`, `avatar`, `ctaFollow`, `ctaLink`, `ctaCode`. Layout: `exit` (tuck or hold).

### Example

```json
{
  "kicker": "",
  "title": "Raised bed vs *ground*",
  "a": "Raised",
  "b": "Ground",
  "rows": "[{\"name\":\"Drainage\",\"a\":\"9\",\"b\":\"5\"},{\"name\":\"Warmth\",\"a\":\"8\",\"b\":\"6\"},{\"name\":\"Weeds\",\"a\":\"3\",\"b\":\"8\",\"lower\":true},{\"name\":\"Cost\",\"a\":\"7\",\"b\":\"1\",\"lower\":true}]",
  "cues": "[]"
}
```

## FAQ

### What can my AI agent change in Compare?

Your agent fills the `kicker`, `title`, `a`, `b`, `rows` and `cues` 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 Seedhouse look.

### Which aspect ratios does Compare support?

Compare is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5s.

### How do I get Compare?

Compare is included in the Seedhouse pack, which is part of the AgentFrames All-access subscription along with 52 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 Seedhouse

- [Top Five (numbered rows)](https://agentframes.ai/elements/seedhouse/top-five.md): Up to five rows under a mustard title bar on a board, each set down on its cue.
- [Season Timeline](https://agentframes.ai/elements/seedhouse/season-timeline.md): A crop as a line from sowing to harvest with stages dropped on their weeks (sow, prick out, plant out, harvest), each on its cue.
- [Sowing Steps](https://agentframes.ai/elements/seedhouse/sowing-steps.md): Up to four numbered boards (the job in order), side by side in 16:9 and stacked in the other sizes, each on its cue.
- [Ranking Board](https://agentframes.ai/elements/seedhouse/ranking.md): Up to six ranked rows (position, name, two columns such as time and cost), the pick in mustard, each set down on its cue.

## Community

Coming soon.
