A coding agent can write a video in TypeScript, render a few frames, inspect the results and adjust the composition. Framefields gives it the tools to do that without opening a desktop editor.
The engine renders compositions with WebGPU in Node.js. You describe layers, animation and timing in code, then render a single frame or an MP4. The same source can be read and edited by a person or an agent.
Start with a frame, not a full export
Section titled “Start with a frame, not a full export”A full video takes longer to render than a still. Framefields lets an agent work through smaller checks first:
- Type-check the project and run
comp.lint()to find common composition problems. - Render a frame at a useful moment and inspect it for layout, text and color.
- Render a frame grid to check a sequence of moments.
- Open the live preview for playback, scrubbing and notes.
- Export the video, with optional QA checks.
The rendering guide shows the commands and code for each step. Frame grids are useful for ordinary animation, but not for render-time vision: that needs consecutive frames because its results lag by one frame.
A human can pause the preview and leave a note on the picture, such as “move the title up.” The note is saved locally, so an agent can read it and update the composition. You’ll still want to check the result together. A successful render doesn’t automatically mean the timing feels right.
Give the agent useful building blocks
Section titled “Give the agent useful building blocks”Framefields includes text animation, 2D layers, 3D models, effects, audio and vision. You can see the code and output in our examples:
- Animate text letter by letter.
- Combine a 3D model and a title.
- Apply a color overlay to a segmented person.
The engine is also behind Gatewai Studio. Read more about its background.
Give your agent the project instructions
Section titled “Give your agent the project instructions”For Claude Code:
/plugin install framefieldsFor other coding agents that support the skills installer:
npx skills add gatewai-dev/framefieldsThen give the agent a specific brief, including the size, duration and moments you want to inspect. For example:
Create a five-second product teaser at 1080x1920 and 30 fps.Add an animated headline and a bar chart. Render frames at thestart, middle and end so I can check the layout before export.Framefields needs Node.js, project assets such as fonts, and a suitable rendering environment. CPU rendering is available on supported setups but is slower. See getting started for requirements and the agent guide for the workflow.