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

# Solara AI CLI for local agents

> Sign in to Solara AI's command-line tool once, then make, edit and export videos from a terminal or an agent that runs commands.

Solara AI's command-line tool makes, edits and exports videos from a terminal, or from an AI agent that runs commands (Claude Code, Codex, opencode and the like). It never posts: posting goes through the [MCP server](https://docs.solaraai.com/agents/connect.md), where you approve each post. It needs Node.js 20 or newer and nothing to install.

**1. Sign in**

Run:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
npx -y solaraai login
```

It prints a link and a code, and opens Solara in your browser. Check that the page shows the same code, and choose **Allow**. The terminal says **Signed in to** your workspace.

**2. Check it**

List the styles you can use:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
npx -y solaraai styles
```

> [!TIP]
>
> The CLI lists Solara's styles: you're signed in.

## What it does

`npx -y solaraai --help` lists every command. The usual path: `upload` a recording (or `upload-url` a public link), `start` an edit in a style, `wait` until it is ready, show the edit, then `export` and `download` once you say yes. An agent that runs commands can run the same steps for you.

The skill that teaches an agent these commands is in [solaraai-official/solaraai-agent](https://github.com/solaraai-official/solaraai-agent).

## Sign out

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
npx -y solaraai logout
```

It ends the sign-in in Solara and deletes it from your computer. You can also disconnect it in Solara: **AI agents**, then **Disconnect** next to **Solara AI CLI**.

> [!NOTE]
>
> Run with `solaraai` 0.4.0 on 18 November 2026.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.