# Reply Thread: Social post element for AI agents

> The original post sits at the top, muted, and replies arrive one by one down a thread line on their cues; the pen underlines the quoted words in each reply. Shows how people answered.

Canonical page: https://agentframes.ai/elements/receipts/reply-thread/
Markdown: https://agentframes.ai/elements/receipts/reply-thread.md

## Overview

- Name: Reply Thread (`replyThread`), an element: one HyperFrames block per size
- Part of: the [Receipts](https://agentframes.ai/packs/receipts.md) pack (5 of 50). Available only through the All-access subscription.
- Category: Social post
- Purpose: The original post sits at the top, muted, and replies arrive one by one down a thread line on their cues; the pen underlines the quoted words in each reply. Shows how people answered.
- Pack: [Receipts](https://agentframes.ai/packs/receipts.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 Ember (graphite desk, red-orange pen) (`ember`), Ink (midnight desk, blue pen) (`ink`), Marker (warm stone desk, yellow highlighter) (`marker`); avoid none
- Typical duration: 13.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/receipts/reply-thread.mp4
- Poster: https://agentframes.ai/media/receipts/reply-thread.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Receipts pack. Add a `replyThread` beat to plan.json on a `ember` canvas with slots `parent`, `replies`, `url`, `date`, `cues` and `pace` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `parent` | string | parent | JSON string. {"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":32},"handle":{"type":"string","minLength":1,"maxLength":24},"verified":{"type":"boolean"},"text":{"type":"string","minLength":1,"maxLength":200}},"required":["name","handle","text"]} | {"name":"The Northline","handle":"northline","verified":true,"text":"Nine in ten firms in the four-day week trial are keeping it. What would you do with the extra day?"} |
| `replies` | string | replies | JSON string. {"type":"array","minItems":1,"maxItems":3,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":32},"handle":{"type":"string","minLength":1,"maxLength":24},"verified":{"type":"boolean"},"text":{"type":"string","minLength":1,"maxLength":220},"time":{"type":"string","minLength":0,"maxLength":16},"likes":{"type":"integer","minimum":0,"maximum":999999999}},"required":["name","handle","text"]}} | [{"name":"Marcus Lee","handle":"marcuslee","text":"Honestly? [[Sleep, then the dentist]] I keep cancelling.","time":"2h","likes":214},{"name":"Dana Ruiz","handle":"danaruiz_ops","text":"Run ops for a 40-person team. The hard part is [[cover, not output]]. Worth it though.","time":"1h","likes":96},{"name":"Sam Ito","handle":"samito","text":"My firm said no. Now three people have [[asked me where to apply]].","time":"48m","likes":377}] |
| `url` | string | url | {"type":"string","minLength":0,"maxLength":70} | social.example/northline/replies |
| `date` | string | date | {"type":"string","minLength":0,"maxLength":24} | Mar 14, 2026 |
| `cues` | string | cues | when each reply appears (s); one per reply, empty = automatic. JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":40},"maxItems":8} | [] |
| `pace` | number | pace | spoken words per second (default 2.4); each underlined word draws in its own 1/pace slot. {"type":"number","minimum":1,"maximum":6} | 2.4 |

## What your agent can change

**Reply Thread**. Native 1920×1080, 13.5s at 30fps.

The original post sits at the top, muted, and replies arrive one by one down a thread line on their cues; the pen underlines the quoted words in each reply. Shows how people answered.

**Motion.** Window rises; each reply rises in on its cue while the thread line grows down to its avatar; the reply's quote underlines 0.55 s after it lands.
**Why it moves.** change: the conversation builds in the order it happened, one voice at a time.

### Mount

Copy every manifest file into your project (plus `af-receipts-runtime`). Mount with a unique host id, `data-composition-id="af-receipts-reply-thread-16x9"`,
`data-composition-src="compositions/af-receipts-reply-thread-16x9.html"`, `data-duration` 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).

- `parent` (required): {"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":32},"handle":{"type":"string","minLength":1,"maxLength":24},"verified":{"type":"boolean"},"text":{"type":"string","minLength":1,"maxLength":200}},"required":["name","handle","text"]}
- `replies` (required): {"type":"array","minItems":1,"maxItems":3,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":32},"handle":{"type":"string","minLength":1,"maxLength":24},"verified":{"type":"boolean"},"text":{"type":"string","minLength":1,"maxLength":220},"time":{"type":"string","minLength":0,"maxLength":16},"likes":{"type":"integer","minimum":0,"maximum":999999999}},"required":["name","handle","text"]}}
- `url`: {"type":"string","minLength":0,"maxLength":70}
- `date`: {"type":"string","minLength":0,"maxLength":24}
- `cues`: when each reply appears (s); one per reply, empty = automatic. {"type":"array","items":{"type":"number","minimum":0,"maximum":40},"maxItems":8}
- `pace`: spoken words per second (default 2.4); each underlined word draws in its own 1/pace slot. {"type":"number","minimum":1,"maximum":6}

- Mark one run of words per reply with `[[ ]]` (or none, to show a reply without a quote).
- The parent post is shown plain (no underline).

Style: `colourway` (ember, ink, marker), `accent` (optional pen hex), `mark` (underline or highlight), `page` (paper, cream, night), `exit` (drop or cut), `duration` (seconds).

### Syncing to the narration

Give `cues` the second (from the scene start) at which the speaker starts each quote, and `pace` their speaking rate in
words per second; each quoted word then draws its stroke in its own 1/pace slot, so the line keeps time with the voice. Raise
`duration` (and the mount's `data-duration`) to fit long narration: every reveal must land by 60% of the scene, which leaves the rest
as a still, readable hold.

### Timing

13.5s by default. The window rises in the first 0.7 s, the reveals land by 60%, the lamp glow keeps breathing during the hold (text stays still), and with `exit: drop` the window sinks off the desk over the last 0.45 s.

### Example

```json
{
  "parent": "{\"name\":\"The Northline\",\"handle\":\"northline\",\"verified\":true,\"text\":\"Nine in ten firms in the four-day week trial are keeping it. What would you do with the extra day?\"}",
  "replies": "[{\"name\":\"Marcus Lee\",\"handle\":\"marcuslee\",\"text\":\"Honestly? [[Sleep, then the dentist]] I keep cancelling.\",\"time\":\"2h\",\"likes\":214},{\"name\":\"Dana Ruiz\",\"handle\":\"danaruiz_ops\",\"text\":\"Run ops for a 40-person team. The hard part is [[cover, not output]]. Worth it though.\",\"time\":\"1h\",\"likes\":96},{\"name\":\"Sam Ito\",\"handle\":\"samito\",\"text\":\"My firm said no. Now three people have [[asked me where to apply]].\",\"time\":\"48m\",\"likes\":377}]",
  "url": "social.example/northline/replies",
  "date": "Mar 14, 2026",
  "cues": "[]",
  "pace": 2.4
}
```

## FAQ

### What can my AI agent change in Reply Thread?

Your agent fills the `parent`, `replies`, `url`, `date`, `cues` and `pace` 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 Receipts look.

### Which aspect ratios does Reply Thread support?

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

### How do I get Reply Thread?

Reply Thread is included in the Receipts 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 Receipts

- [Post Card](https://agentframes.ai/elements/receipts/post-card.md): A short social post rebuilt as a clean, generic card from the post's real text (no platform logos or layouts), with name, handle, an optional verified tick, time, views and counts. The pen underlines the quoted words as they are read.
- [Professional Post](https://agentframes.ai/elements/receipts/pro-post.md): A long-form professional post (generic layout, no platform marks): the card opens clipped at three lines, "…more" expands it to reveal the quoted line, then the pen underlines it.
- [Video Comments](https://agentframes.ai/elements/receipts/video-comments.md): The comments under a video (a generic player thumbnail, title, channel): comments rise in order and the top comment is underlined.
- [Link Trail](https://agentframes.ai/elements/receipts/link-trail.md): A chain of two or three sources: each window opens on top of the last once its link or quote is underlined, so the viewer follows the trail to the original.

## Community

Coming soon.
