User guide / Getting started /
Desktop app and CLI agents
There are two ways to work with an AI model in FloMotion:
| Built-in assistant | CLI agent | |
|---|---|---|
| Where it runs | The chat panel inside the FloMotion page | Claude Code, Codex, Gemini CLI, Cursor or another agent, in a terminal or editor on your computer |
| Model | Models from several major providers (Anthropic, OpenAI, Google and others), picked in the chat panel | The agent's own model, on your own plan or API key at that provider |
| How it reaches FloMotion | Directly, nothing to install | Through the FloMotion desktop app and its flomotion command line |
| What it costs in credits | Each step of the assistant, by model (see the credits page) | 0.2 credits per server action; the model is not billed by FloMotion |
| Where the conversation shows | The chat panel and its chat list | Only in the CLI agent |
Both use the same tools on the same projects, so the work looks the same either way. A CLI agent is an AI agent outside FloMotion, such as Claude Code, Codex, Gemini CLI or Cursor, that uses FloMotion through the flomotion command line. It can itself run in a terminal, an editor or a desktop app; what makes it a CLI agent is how it reaches FloMotion. The rest of this page is about this second way.
Set up your CLI agent
The FloMotion desktop app is one program: run on its own it opens FloMotion in a window, and run as flomotion with a command it is the command line your CLI agent uses. The agent runs flomotion commands, the window does the work with the account signed in there, and you watch the result as it happens.

- Click Use Claude Code, Codex or Cursor with the same tools and paste the copied prompt into your CLI agent. The prompt points the agent at the desktop app's instructions; the agent installs the app itself with the install script from the releases page and checks it with
flomotion status. - On the first command the window opens. Sign in there, or let the agent run
flomotion login: it gives you a link to approve in a browser where you are signed in, and you send the agent the code it shows. The agent never sees your password. - From then on the agent uses
flomotion agentto see the current state and tools, andflomotion act <tool> '<json>'to run one.flomotion skillprints the instructions again.
Who runs the model, and who pays
The CLI agent runs on its own model, with your own plan or API key at that provider (Anthropic, OpenAI, Google Gemini, Cursor). FloMotion never sees or uses that subscription, its tokens or its key, and there is nothing to link. FloMotion only bills the actions the agent runs on your account: each server action costs 0.2 credits, background jobs cost the same as from the chat, and actions in the window and failed calls are free (see the credits page).
The onboarding prompt
The copied prompt starts "Onboard yourself to FloMotion" and belongs in your CLI agent, in a terminal or editor on your computer. Pasting it into the FloMotion chat panel does nothing useful, because the built-in assistant cannot install anything on your computer.
Work from the CLI agent shows in the project like any other change. Its conversation stays in the CLI agent; it does not appear in the chat panel.
Files from your computer, such as a robot archive, come in through the command line too (flomotion import robot.zip). The article has the full walkthrough.