Setting up
1
Create a project
rive create writes an AGENTS.md into the folder. Agents read this file when
they open the directory, and it tells them how to look up the CLI reference and how to check
their work.2
Start the preview window
3
Open the folder in your agent
Open
myproject in Claude Code, Cursor, or any agent that can read and write
files and run shell commands. No further setup is needed.4
Describe what you want
Prompt the agent in plain language. It reads
AGENTS.md, looks up the types it
needs with rive docs and rive schema, writes the RML and Luau, then checks the
result with rive <dir> --verify and rive inspect, the two checks AGENTS.md
tells it to run. Ask for a rive <dir> --screenshot when you want to see it.Build a weather card: a rounded panel with the city name, a temperature readout, and an icon that animates when it rains. Bind the temperature to a view model property so the host app can set it.
Other ways to use AI with Rive
- AI Agent - Rive’s own agent, built into the Editor
- MCP Integration - connect the desktop Editor to an external AI tool