HeyGen: HTML is the Key for AI Video Agents

James Russo of HeyGen argues that HTML is the ideal native language for AI agents to create high-quality videos, introducing the HyperFrames framework.

8 min read
James Russo presenting on stage about AI video agents and HTML
AI Engineer

Visual TL;DR. Video creation hurdle drives HeyGen's Vision. HeyGen's Vision proposes HTML as Native Language. HTML as Native Language implemented by HyperFrames Framework. HyperFrames Framework allows agents to Compose Video Elements. Compose Video Elements results in High-Quality AI Video.

  1. Video creation hurdle: launching and promoting products through video remains a significant hurdle for AI agents
  2. HeyGen's Vision: bridge the gap by providing a robust platform for AI-driven video communication
  3. HTML as Native Language: HTML is the ideal native language for AI agents to create high-quality videos
  4. HyperFrames Framework: HeyGen introduces HyperFrames, using HTML/CSS as the canvas for AI video composition
  5. Compose Video Elements: AI agents can seamlessly compose A-roll, B-roll, animations, captions, and music
  6. High-Quality AI Video: enables AI agents to create polished, effective videos for product promotion
Visual TL;DR
Visual TL;DR, startuphub.ai HTML as Native Language implemented by HyperFrames Framework implemented by Video creation hurdle HTML as Native Language HyperFrames Framework High-Quality AI Video From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai HTML as Native Language implemented by HyperFrames Framework implemented by Video creationhurdle HTML as NativeLanguage HyperFramesFramework High-Quality AIVideo From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai HTML as Native Language implemented by HyperFrames Framework implemented by Video creation hurdle launching and promoting products throughvideo remains a significant hurdle for AIagents HTML as Native Language HTML is the ideal native language for AIagents to create high-quality videos HyperFrames Framework HeyGen introduces HyperFrames, usingHTML/CSS as the canvas for AI videocomposition High-Quality AI Video enables AI agents to create polished,effective videos for product promotion From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai HTML as Native Language implemented by HyperFrames Framework implemented by Video creationhurdle launching andpromoting productsthrough video… HTML as NativeLanguage HTML is the idealnative language forAI agents to create… HyperFramesFramework HeyGen introducesHyperFrames, usingHTML/CSS as the… High-Quality AIVideo enables AI agentsto create polished,effective videos… From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Video creation hurdle drives HeyGen's Vision. HeyGen's Vision proposes HTML as Native Language. HTML as Native Language implemented by HyperFrames Framework. HyperFrames Framework allows agents to Compose Video Elements. Compose Video Elements results in High-Quality AI Video drives proposes implemented by allows agents to results in Video creation hurdle launching and promoting products throughvideo remains a significant hurdle for AIagents HeyGen's Vision bridge the gap by providing a robustplatform for AI-driven video communication HTML as Native Language HTML is the ideal native language for AIagents to create high-quality videos HyperFrames Framework HeyGen introduces HyperFrames, usingHTML/CSS as the canvas for AI videocomposition Compose Video Elements AI agents can seamlessly compose A-roll,B-roll, animations, captions, and music High-Quality AI Video enables AI agents to create polished,effective videos for product promotion From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Video creation hurdle drives HeyGen's Vision. HeyGen's Vision proposes HTML as Native Language. HTML as Native Language implemented by HyperFrames Framework. HyperFrames Framework allows agents to Compose Video Elements. Compose Video Elements results in High-Quality AI Video drives proposes implemented by allows agents to results in Video creationhurdle launching andpromoting productsthrough video… HeyGen's Vision bridge the gap byproviding a robustplatform for… HTML as NativeLanguage HTML is the idealnative language forAI agents to create… HyperFramesFramework HeyGen introducesHyperFrames, usingHTML/CSS as the… Compose VideoElements AI agents canseamlessly composeA-roll, B-roll,… High-Quality AIVideo enables AI agentsto create polished,effective videos… From startuphub.ai · The publishers behind this format

James Russo, co-creator and tech lead of HyperFrames at HeyGen, presented a compelling case for HTML as the universal language for AI agents tasked with video creation. At the AI Engineer World's Fair, Russo argued that while coding agents have democratized software development, the process of launching and promoting products through video remains a significant hurdle. HeyGen's mission is to bridge this gap by providing a robust platform for AI-driven video communication.

HeyGen: HTML is the Key for AI Video Agents - AI Engineer
HeyGen: HTML is the Key for AI Video Agents — from AI Engineer

HeyGen's Vision for AI-Powered Video

Russo explained that HeyGen's core offering starts with high-quality AI avatars, often referred to as the 'A-roll.' However, he emphasized that truly effective videos require more than just a narrator; they need B-roll, animations, captions, and music to create a polished final product. HeyGen aims to provide AI agents with the necessary canvas to compose these elements seamlessly.

HTML as the Native Language of LLMs

The central thesis of Russo's presentation is that HTML, CSS, and JavaScript are the native languages of Large Language Models (LLMs). He posited that most LLM training data is derived from web content, making these web technologies the most intuitive and efficient communication channel for AI agents. Attempting to force LLMs to use custom domain-specific languages (DSLs) or JSON structures is akin to asking a master of one language to write poetry in another; it limits their potential.

Russo cited prominent figures in the AI community, such as Andrej Karpathy and Tarik, who have also highlighted HTML's utility as a new form of 'markdown' for LLM outputs, enabling visual representations. He shared his own conclusion that aligning AI agents with their native languages leads to superior results.

Evaluating Video Creation Tools

Russo presented a quadrant chart comparing various video creation tools based on 'Quality of Results' and 'Agent-Friendly' metrics. He placed professional tools like After Effects and Premiere Pro at the high-quality end but noted their lack of agent-friendliness, often serving as co-pilots rather than autonomous creators. Tools like Lottie and Rive, while using code-based formats, were deemed less agent-friendly and controllable due to not being native LLM languages.

Remotion was acknowledged as a strong contender, but Russo pointed out that it still required training agents on a specific framework. This led HeyGen to explore HTML directly. The breakthrough came with the advent of models like Gemini 3 Flash, which demonstrated a significant improvement in generating workable HTML, CSS, and JavaScript code with simple prompts and examples.

HyperFrames: HTML to Video

HeyGen's solution, HyperFrames, is an open-source framework that translates an agent's HTML output into video. The core challenge was ensuring deterministic rendering, as browsers are inherently asynchronous. To address this, HyperFrames freezes the browser's clock and seeks frame-by-frame, ensuring that all assets are loaded and ready before capturing each frame. This process guarantees that the video output precisely matches the browser's preview.

The power of this approach lies in its ability to leverage anything renderable in a browser, including 3.js, charts, SVGs, shaders, WebGL, WebGPU, and Lottie animations. This opens up a vast array of creative possibilities for AI-generated videos.

Skills Layer and Creative Output

Russo elaborated on the 'skills layer' that complements the HyperFrames framework. These skills are designed to teach agents about 'taste' and video-specific aspects, rather than the fundamental languages of HTML, CSS, and JavaScript. By reverse-engineering great videos and providing these as examples, agents can learn to produce high-quality output. He emphasized that achieving truly great results still requires craft, similar to traditional software engineering, involving breaking down problems and iterative refinement.

He showcased a demo of a single-shot prompt utilizing the 'website-to-video' skill, illustrating how an agent can take a website's URL, retrieve assets, and generate a video with appropriate design and branding. For power users, HyperFrames offers granular control through its studio, allowing for manual adjustments and keyframe editing, akin to professional motion design tools like After Effects.

HyperFrames at Scale and Future Directions

Russo highlighted the real-world adoption of HyperFrames, with over 1.3 million videos rendered by open-source users in the last 90 days, 267,000 creators trying the framework, and 15,000 videos rendered daily. The project has also garnered significant community interest with 32,000 GitHub stars.

Acknowledging that LLMs are still developing in creative work, Russo announced HeyGen's initiative to create a 'code-to-video benchmark' in collaboration with LLM labs and video agent creators. The goal is to collectively raise the standard of AI-generated videos.

In conclusion, Russo reiterated his core message: "HTML is all your agents need in order to make great videos and launch your product into the world." He invited attendees to explore the open-source repository and engage with the HyperFrames project.

© 2026 StartupHub.ai. All rights reserved. Do not enter, scrape, copy, reproduce, or republish this article in whole or in part. Use as input to AI training, fine-tuning, retrieval-augmented generation, or any machine-learning system is prohibited without written license. Substantially-similar derivative works will be pursued to the fullest extent of applicable copyright, database, and computer-misuse laws. See our terms.