Skip to main content
Rivet can check a design against rules you’ve already saved, like your motion or typography principles. Your agent runs the check and tells you what passed and what didn’t. Your principles are saved instructions. To save some, point your agent at a Markdown file:
“Save docs/motion.md as my motion principles.”

Ask for a check

“Verify this direction follows my motion principles.”
Your agent finds your saved principles, checks the app, and reports pass, fail, or couldn’t verify for each rule. For each failure, it tells you what it found, why it’s a problem, and a suggested fix. Missing evidence counts as couldn’t verify, not a pass. Your agent reports failures without changing your app.

Save it for next time

After the report, your agent offers to save the check. Saved checks belong to your Rivet account on this computer, so they work across projects and chats. They don’t sync to other machines.
“Run my saved motion check on this page.”
Saved checks run only when you ask. Saving one doesn’t add an automatic gate.

When a check goes stale

If you edit the principles, the saved check is marked stale. Rivet won’t run a stale check. Your agent updates it before running it again.

Code checks (advanced)

A check can include Node code that Rivet runs locally with rivet context verify. It runs with your own permissions, not in a sandbox, so only save code you trust. Rivet doesn’t install dependencies for it. See the CLI reference for the rivet context commands.

Upgrading code checks from 0.26.0 or earlier

Rivet 0.26.1 changed what a code check reports. Each result now says what Rivet saw, what’s wrong, how to fix it, and how urgent it is, with labeled screenshots or files as evidence. Checks saved before 0.26.1 fail with execution: "error" and reason: "invalid_result" until you update them. Updating your own copy of the files isn’t enough. Rivet keeps its own copy, so you need to save the check again:
The first command prints the check’s current source digest. Pass it to the second.

Next

Comparing variants

Review your directions side by side.