Working Notes on Agent Systems/Brad Zhang

@teach_fireworks / X longform

The composition of HyperFrames uses HTML, CSS and JavaScript as the main intermediate representations.

The composition of HyperFrames uses HTML, CSS and JavaScript as the main intermediate representations. The picture structure, time attributes and GSAP animation are all saved in...

July 20, 2026 · 2 min read

The composition of HyperFrames uses HTML, CSS and JavaScript as the main intermediate representations.
Figure 1 / source image

The composition of HyperFrames uses HTML, CSS and JavaScript as the main intermediate representations.

The picture structure, time attributes and GSAP animation are all saved in readable source code, and then converted into the final video by Runtime, Chrome and FFmpeg.

The bottom layer is still HTML.

data-start, data-duration, and data-track-index declare the time and level of the clip.

Pictures, videos, and audio are all DOM elements; GSAP is responsible for movement and transitions.

Agent generates code and Studio adjusts the timeline.

People and models always operate on the same source code.

There is no need to export projects back and forth or synchronize two sets of states.

Breaking down the architecture, it is roughly this chain: Composition → Runtime / Frame Adapter → Studio / Player → Producer / Engine → CLI / QA Runtime is the time base of the entire system.

When rendering the Nth frame, it will calculate the time based on the frame index, and then let GSAP, DOM, Canvas and other states seek to this frame.

Rendering can be slower than real-time playback, and as long as seekFrame(frame) always returns the same result for the same frame, the output will not drop frames or be out of order due to differences in machine performance.

One of the video samples, although still very rough, can still be continuously optimized because the route and structure are fixed.

Visual summary

Article argument map

Generated from the post's content graph

FORMATTOPICCAPABILITYMARKETcoverscoverssignalssignalsFORMATlongform noteTOPICagentsTOPICtoolingCAPABILITYagent workflowCAPABILITYdeveloper tooling
Mermaid outline
flowchart LR
  format-long_post["longform note"]
  topic-agents["agents"]
  topic-tooling["tooling"]
  capability-agent-workflow["agent workflow"]
  capability-developer-tooling["developer tooling"]
  format-long_post -->|covers| topic-agents
  format-long_post -->|covers| topic-tooling
  format-long_post -->|signals| capability-agent-workflow
  format-long_post -->|signals| capability-developer-tooling

Visual structure

Essay structure map

Built from summary and key paragraph positions

The composition of HyperFrames uses HTML, CSS and JavaScript as the main intermediate...THESISThe composition ofHyperFrames uses HTML,CSS and JavaScript asthe main intermediateSIGNALThe composition ofHyperFrames uses HTML,CSS and JavaScript asthe main intermediateOPERATORPeople and modelsalways operate on thesame source code.IMPLICATIONOne of the videosamples, althoughstill very rough, canstill be continuously
Mermaid outline
flowchart LR
  thesis["The composition of HyperFrames uses HTML, CSS and JavaScript as the main intermediate representations. The..."]
  signal["The composition of HyperFrames uses HTML, CSS and JavaScript as the main intermediate representations."]
  operator["People and models always operate on the same source code."]
  implication["One of the video samples, although still very rough, can still be continuously optimized because the route..."]
  thesis -->|frames| signal
  signal -->|develops| operator
  operator -->|lands in| implication

Source: View the original post