Motion SDK

Get Started

Install the CLI, give your agent the skills, and render your first scene in a minute.

Motion SDK is an agent-native alternative to Three.js, written in Rust on WebGPU. Your agent writes a scene as JSON, or streams it as small patches. Motion SDK checks every step, answers mistakes with a fix, and renders the same pixels every time: live in the browser, or headless to MP4, GIF and PNG.

New here? The Introduction explains why it exists and how it fits together.

Quick Start

Install the CLI from the repo. You need Rust and any GPU, or a software Vulkan driver like Mesa lavapipe.

git clone https://github.com/brainfish-ai/motion && cd motion
cargo install --locked --path crates/motion-sdk-cli

Give your agent the skills:

npx skills@latest add brainfish-ai/motion

Then ask it for a scene:

Use motion-sdk to make a 6 second seamless loop for X: a neon torus knot
spinning inside a ring of chrome spheres, with the hook "Made by an agent".
Validate it, render a frame to check it, then export it with the x_1x1 preset.

Or render one of the examples yourself:

motion-sdk render examples/viral-x-loop.json --export x_square

Learn the Basics

Find a Feature

Or see every feature.

Work with Agents