25 of 57 in the Echo pack

Comment reply: Social post element for AI agents

A viewer's comment card (initial avatar, @user, the comment), then a green fork to your reply card ("Replying to @user", the answer in green)..

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

Watermarked preview. The Echo pack includes all 57 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Echo pack. Add a `commentReply` beat to plan.json on a `k` canvas with slots `user`, `comment`, `reply`, `at`, `side` and `stay` 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
userstringuser: {"type":"string","maxLength":24}.@sam.learns
commentstringcomment: {"type":"string","maxLength":90,"minLength":1}.why do you say "vale" all the time?
replystringreply: {"type":"string","maxLength":90,"minLength":1}."Vale" is "OK". Say it twice: "vale, vale".
atstringat: JSON string. {"type":"object","description":"optional land times in block seconds, to match the transcript: {in, reply}","properties":{"in":{"type":"number","minimum":0},"reply":{"type":"number","minimum":0}}}.
sideenumside: {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"}.
staybooleanstay: {"type":"boolean","description":"true = no outro (holds until the piece ends)"}.false

What your agent can change

Comment reply. Native 1920×1080, 6s at 30fps. Draws in the board above (16:9: beside) the speaker box (transparent everywhere else; the starter supplies the live board ground).

A viewer's comment card (initial avatar, @user, the comment), then a green fork to your reply card ("Replying to @user", the answer in green).

Motion. The comment springs in; on the reply cue the fork draws and the reply springs in along it; its hairline draws. Outro: parts lift 14 px, soften with a 4 px blur and fade (0.22 s, ease in), last-in first-out, over the last ~0.4 s. Why it moves. continuity: the reply hangs off the comment, so the thread reads at a glance.

Mount

Copy every manifest file into your project (plus af-echo-runtime). Mount with a unique host id, data-composition-id="af-echo-comment-reply-16x9", data-composition-src="compositions/af-echo-comment-reply-16x9.html", data-duration="6" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled. In a starter set backdrop to "": the starter draws the live board ground and the footage panel (the default still is only there so the block reads on its own).

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 (text is fitted to at most 75% of its design size, never cut).

  • user: {"type":"string","maxLength":24}
  • comment: {"type":"string","maxLength":90,"minLength":1}
  • reply: {"type":"string","maxLength":90,"minLength":1}
  • at: {"type":"object","description":"optional land times in block seconds, to match the transcript: {in, reply}","properties":{"in":{"type":"number","minimum":0},"reply":{"type":"number","minimum":0}}}
  • side: {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"}
  • stay: {"type":"boolean","description":"true = no outro (holds until the piece ends)"}
  • @sam.learns is a fictional commenter.

Brand and layout

Brand variables (defaults from the pack's brand.json): creator, handle, channel, tagline, series, niche, language, colourway, accent, monogram, logo, avatar, keyword, ctaFollow, ctaLink, ctaCode, ctaComment. colourway is night, azulejo or chalk; accent (hex) recolours the slab (titles' hairlines, slabs, tags, the forget pin, the ripple), and falls back if type would not read on it (4.5:1). Layout: side (16:9 only: the board on the left or right), backdrop (a speaker still shown when the block is seen on its own; "" over live footage), speakerFocus (crop of that still), full (true while the speaker box is open to the full frame), capY (px; centre line of the captions, 0 = just above the speaker box, or on the chest when full).

Example

``json { "user": "@sam.learns", "comment": "why do you say \"vale\" all the time?", "reply": "\"Vale\" is \"OK\". Say it twice: \"vale, vale\"." } ``

FAQ

What can my AI agent change in Comment reply?

Your agent fills the user, comment, reply, at, side and stay 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 Echo look.

Which aspect ratios does Comment reply support?

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

How do I get Comment reply?

Comment reply is included in the Echo pack, which is part of the AgentFrames All-access subscription along with 56 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 57

Get the full Echo pack

Comment reply comes as part of Echo: 57 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 →

Side by side (16:9) · 28s · made entirely with this pack

More in Echo

The echo (signature, channel intro) poster frame7s

The echo (signature, channel intro)

The pack's signature, the two taps. A sheet of script lines writes itself onto the board under your title. Tap one: the line you are saying lights blue, two rings ripple out of it, a fork draws to a card and the card springs in with the phrase ("Say it") and its tag slabs (casual, everyday). Tap two: the line under it lights green, the card swaps to the echo ("Echo it", the plain repeat, in green) and new tags drop in. As the channel intro the title is your channel, the slab says who you are and the two taps are your hello and its translation.

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

See all 57 elements in Echo →