> ## Documentation Index
> Fetch the complete documentation index at: https://rive.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Agent vs CLI

> Choose between Rive's built-in AI Agent and the Rive CLI with your own coding agent.

There are two ways to have AI build with Rive:

* The **[AI Agent](https://rive.app/docs/editor/ai-agent/ai-agent.md)** is built into the Rive Editor and works in the file you have open.
* The **[Rive CLI](https://rive.app/docs/cli/overview.md)** lets your own coding agent, such as Claude Code or Cursor, build Rive projects on disk.

| | AI Agent | Rive CLI |
| - | - | - |
| **Where you prompt** | Inside the Rive Editor | Your own coding agent, such as Claude Code or Cursor |
| **What it changes** | The file open in the Editor | Project files on disk, including Rive Markup Language (.rml), which build to `.riv` and `.rev` files |
| **Model and billing** | Rive credits, or your workspace's own API keys | Your coding agent's plan |
| **Best for** | Quick help while you design, animate, and code in the Editor | Working from your code editor, version control, and CI, without opening the Editor |
