CozyClay AI Agent

by NomaDamas• 1.3k•• Scanned•Claim this listing•Request removal
Design & Media3d3d animationaiai videoanimation

Open source previs software in the browser: block a scene, pose characters, author camera moves and cuts, then take the same shots to an AI video model.

CozyClay is an open-source ai agent by NomaDamas, written mainly in JavaScript, with 1,315 GitHub stars and the AGPL-3.0 license. Its code was last updated Nov 1, 2026. The latest npm release is cozyclay 3.2.2, published Nov 7, 2026, with 850 downloads last week.

<p align="center"> <img src="docs/images/cozyclay-logo.png" alt="CozyClay" width="340"> </p> <p align="center"> <b>Make the scene first. Then make it a video.</b><br> <em>Open source previs in a browser tab: block the set, move the cast, cut the camera, hand the shot to an AI video model.</em> </p> <p align="center"> <a href="LICENSE"><img alt="License: AGPL-3.0" src="https://img.shields.io/badge/license-AGPL--3.0-blue"></a> <a href="https://www.npmjs.com/package/cozyclay"><img alt="npm" src="https://img.shields.io/npm/v/cozyclay"></a> <img alt="Node 22.19+" src="https://img.shields.io/badge/node-22.19%2B-brightgreen"> <a href="https://github.com/HaD0Yun/CozyClay/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/HaD0Yun/CozyClay?style=flat"></a> <a href="https://discord.gg/Hp9V5wwgjF"><img alt="Discord" src="https://img.shields.io/badge/discord-join-5865F2?logo=discord&logoColor=white"></a> </p> <p align="center"> <a href="https://cozyclay.org/#try">Try it in the browser</a> · <a href="#quick-start">Quick start</a> · <a href="INSTALL_FOR_AGENTS.md">Guide for AI agents</a> · <a href="#docs">Docs</a> · <a href="CHANGELOG.md">Changelog</a> · <a href="https://discord.gg/Hp9V5wwgjF">Discord</a> </p> <table> <tr> <td width="50%"><video src="https://github.com/user-attachments/assets/00f28c2f-e8e2-43eb-b253-b6c2436e1818" controls muted width="100%"></video></td> <td width="50%"><video src="https://github.com/user-attachments/assets/4c9b1e29-4803-435c-8305-f2c899fb1c2c" controls muted width="100%"></video></td> </tr> <tr> <td align="center"><sub>Top: the greybox blocked in CozyClay. Bottom: the AI video made from it.</sub></td> <td align="center"><sub>Same idea, a parkour jump: the blocking holds the timing and the camera.</sub></td> </tr> </table>

Why

AI video costs money per take, and one miss means paying again. A text prompt cannot hold a whole scene: where everyone stands, how they move, where the camera is, when it cuts.

CozyClay lets you make those decisions first, in 3D, where they are cheap to change. Then the video model gets the shot as a first frame, a greybox reference clip and a prompt that describes the real framing. It follows the blocking instead of guessing.

flowchart LR
  S["Stage<br/>set + cast"] --> M["Motion<br/>compiled + QA"] --> C["Camera<br/>shots + cuts"] --> E["Export<br/>frame · clip · prompt"] --> V["AI video model"]

Quick start

npx cozyclay

That is the whole install. You need Node.js 22.19 or newer and a Chromium browser. You do not need a GPU, Python or a model download. The studio opens at http://127.0.0.1:5180/app/.

Updating. npx cozyclay fetches the newest release each time you run it. After npm install -g cozyclay, the studio shows a small Update chip in the top bar when a newer release is out. Update now installs it, and Restart now starts the new version in the same terminal; the studio reloads once your project is saved. On Windows the chip gives you the command to copy instead: one-click stays off there by design. cclay update does the same from the terminal. --no-update-check or COZYCLAY_NO_UPDATE_CHECK=1 turns the check off for one launch; cclay update --off turns it off for good, and cclay update --on brings it back.

Asking an AI agent to set it up? Give it this repository link. Its instructions are in INSTALL_FOR_AGENTS.md.

What you can do

StageBuild the set from primitives. Add rigged characters, or capsule stand-ins when nobody needs to move a limb. Fly the view like a 3D editor.
MoveDescribe the action. The agent writes a motion spec, and a deterministic compiler in the browser bakes every frame. QA checks collisions, foot slide, reach and hand contact before you see it.
ShootPut shots on a timeline, draw dolly rails, look through the lens. Each shot knows the limits of the video model you target.
ExportKeyframe pack (first and last frame, greybox clip, camera, prompt), mp4, depth and normal passes, contact sheet, OTIO cut list.
StoryboardPrefer stills? A Storyboard project is a row of panels with captions, an animatic and a contact sheet.
Undo anythingEvery edit, including each change the agent makes, is one undo step.

Direct it with AI

The same scene can be driven from three places, live, while you watch the viewport.

SurfaceStartFor
Agent panelCmd/Ctrl+B in the studioChat in the studio. Sign in with ChatGPT or use your own key (Anthropic, OpenAI, Gemini, MiniMax, OpenRouter, CLIProxyAPI).
MCP servernpx -y cozyclay mcpClaude Desktop, Claude Code, Cursor or any MCP client.
Terminalcclay live status --waitCoding agents that drive a running studio, JSON in and out.
{ "mcpServers": { "cozyclay": { "command": "npx", "args": ["-y", "cozyclay", "mcp"] } } }

From source

git clone https://github.com/HaD0Yun/CozyClay.git && cd CozyClay
npm install
npm run dev     # http://127.0.0.1:5180/app/
npm test

Docs

ReadFor
INSTALL_FOR_AGENTS.mdInstall, run and connect, written for AI agents
docs/motion3-agent-guide.mdMotion specs, compile and QA
docs/agent-cli.mdcclay live, model providers, sessions
mcp/README.mdMCP tools and the live protocol
docs/studio-ui-ia.mdEvery control and where it lives
docs/privacy.mdAnonymous telemetry and how to turn it off (cclay telemetry off)
AGENTS.mdContribution rules

Guides

ReadFor
Greybox to AI videoWhy a grey blockout is the most reliable input for a video model, and the block-then-generate loop
Previs software comparedFree, open source and browser-based previs tools side by side
Seedance 2.5 camera controlGetting the same camera on every take with a reference clip
Camera control for AI videoWhy camera prompts drift and what the models actually accept

Found a bug or want a feature? Open an issue.

License

AGPL-3.0-or-later. See LICENSE, LICENSING.md and THIRD_PARTY_NOTICES.md. Made by Doyun at NomaDamas.

CozyClay alternatives

View more →

Similar ai agents in Design & Media, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
CozyClay (this page)
NomaDamas
1.3kAGPL-3.0Nov 1, 2026Scanned, no flagged issues
Taste Skill
Leonxlnx
107kMITOct 31, 2026Scanned, no flagged issues
Archify
tt-a1i
92kApache-2.0Oct 31, 2026Scanned, no flagged issues
Hyperframes
heygen-com
77kApache-2.0Nov 1, 2026Scanned, no flagged issues
OpenMontage
calesthio
74kAGPL-3.0Oct 28, 2026Scanned, no flagged issues
CopilotKit
CopilotKit
38kMITOct 31, 2026Scanned, no flagged issues