Quick start

The fastest way to look around is the Studio in your browser: app.trymoga.app. To let an agent make videos on your own computer, run MOGA from its repository.

Install

MOGA needs Node.js 22 or newer and pnpm. Rendering is headless: no display and no GPU.

git clone https://github.com/HumanHarness/MOGA
cd MOGA
pnpm install
pnpm build && pnpm serve          # Studio at http://127.0.0.1:8790/
pnpm studio                       # the native desktop Studio (run pnpm serve first)

Use it from Claude Code or Codex

The repository’s .mcp.json already registers moga mcp, so Claude Code picks it up when you open the repository. To use it in any folder:

claude mcp add moga -s user -- node <path-to-repo>/cli/moga.ts mcp

One server works across projects: use_project, open_project and new_project switch between them, and import_file brings files in from your computer. Rendered frames come back as images, so the agent sees what it made.

Everyday commands

In any MOGA project folder:

moga help                          # every operation
moga lint teaser                   # scene lint: data and render rules, light and dark
moga add-note --composition teaser --t 6.4 --layer cta --verdict bad --text "the button presses too fast"
moga distill                       # propose rules from good and bad notes
moga still teaser 4.4 --theme dark # render one frame
moga render teaser                 # MP4
moga ci                            # lint, golden frames and contact sheets for every composition

Project layout

moga.json                 { name, tokens }
TASTE.md                  the project's look, motion presets and learned rules
assets/<name>.json        reusable elements: type, props, motion, preview
compositions/<name>.json  timeline: scenes → layers ("use": "<asset>") → motion; notes
library/                  marked examples: good ones to reuse, bad ones as regression cases
golden/                   reference frames for CI

Next

Say what’s off in the Studio, or add a note with a verdict from the CLI. After a few good and bad notes, run moga distill and accept the rule it proposes: from then on moga lint checks it in every video. How taste works explains the loop in full.