Who it is forA developer who wants a scripted or coding agent to inspect and edit a scene while the studio is open in the browser.
The problemScripting scene edits by hand in the browser is repetitive, and an agent needs a way to check the live state before it acts.
The outcomeA coding agent that reads the status of a running studio and sends JSON commands to change the scene.
What you need first
- Node.js 22.19 or newer
- A Chromium browser
- An AI video model of your choice for the final render
Steps
- Run
npx cozyclayand open http://127.0.0.1:5180/app/. - Run
cclay live status --waitto check that the studio is running and ready for commands. - Send the agent's JSON edits through the terminal interface described in docs/agent-cli.md.
- Read the returned JSON to confirm the scene state after each edit.
Prompt for your agent
Using the NomaDamas/CozyClay repo, run `cclay live status --wait` against the open studio and then apply <scene change> through the live terminal interface. Expected output is JSON that shows the updated scene state. Verify that the status reports a ready studio before any edit is sent.
Caveat. The README gives only the status command example, so the exact edit commands must be read from docs/agent-cli.md before scripting them.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for NomaDamas/CozyClay and "Let a coding agent drive a running studio from the terminal"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer