46 of 54 in the Pitchside pack

Head to Head: Diagram element for AI agents

Two team columns with up to five stats, the stat names in the middle, the better value in yellow; rows slide in on their cues..

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Pitchside pack includes all 54 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Pitchside pack. Add a `headToHead` 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

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
kickerstringkicker: {"type":"string","minLength":0,"maxLength":14}.
titlestringtitle: {"type":"string","minLength":1,"maxLength":32}.The *derby* in numbers
astringa: {"type":"string","minLength":1,"maxLength":8}.KGS
bstringb: {"type":"string","minLength":1,"maxLength":8}.RVR
rowsstringrows: 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":"Goals","a":"41","b":"36"},{"name":"xG","a":"38.2","b":"39.0"},{"name":"Conceded","a":"29","b":"22","lower":true},{"name":"Clean sheets","a":"6","b":"9"}]
cuesstringcues: JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}.[]

What your agent can change

Head to Head. Native 1920×1080, 5s at 30fps. A cutaway on the broadcast stage.

Two team columns with up to five stats, the stat names in the middle, the better value in yellow; rows slide in on their cues.

Motion. Panels slide in on a hard 6-frame ease (no overshoot) with a light flash on the leading edge. Why it moves. clarity: the matchup in numbers.

Mount

Copy every manifest file into your project (plus af-pitchside-runtime). Mount with a unique host id, data-composition-id="af-pitchside-head-to-head-16x9", data-composition-src="compositions/af-pitchside-head-to-head-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 stat 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, ctaFollow, ctaLink, ctaCode. Layout: exit (wipe or hold).

Example

``json { "kicker": "", "title": "The *derby* in numbers", "a": "KGS", "b": "RVR", "rows": "[{\"name\":\"Goals\",\"a\":\"41\",\"b\":\"36\"},{\"name\":\"xG\",\"a\":\"38.2\",\"b\":\"39.0\"},{\"name\":\"Conceded\",\"a\":\"29\",\"b\":\"22\",\"lower\":true},{\"name\":\"Clean sheets\",\"a\":\"6\",\"b\":\"9\"}]", "cues": "[]" } ``

FAQ

What can my AI agent change in Head to Head?

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 Pitchside look.

Which aspect ratios does Head to Head support?

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

How do I get Head to Head?

Head to Head is included in the Pitchside pack, which is part of the AgentFrames All-access subscription along with 53 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

This is 1 of 54

Get the full Pitchside pack

Head to Head comes as part of Pitchside: 54 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Full frame (16:9) · 23s · made entirely with this pack

More in Pitchside

See all 54 elements in Pitchside →