CLI
RodiumAi Code in your terminal. Install it once and type rodium: it reads your code, edits files, runs commands and works through a task with you, interactively or as a one-shot command you can script.
Install
The CLI is published on npm as @rodiumai/cli. Install it globally, then type rodium:
…- Native binaries for macOS, Linux and Windows, on
x64andarm64: npm picks the right one for your system. Node.js 22 or newer is only needed for the launcher. - The command is
rodium.rodiumaiis installed as an alias, so existing scripts keep working. - To update, run the install command again with
@latest.rodium versionprints the installed version.
Sign in
| Connection | How it works | Billing |
|---|---|---|
| RodiumAi account | Browser sign-in (OpenID Connect with PKCE). The CLI waits for the browser to call back on a local port. | The weekly FRODI allowance of your plan |
| RodiumAi API key | An rd_sk_... key from your dashboard, checked against the gateway before it is saved. | The balance of the key, in RODI |
…When the browser does not open, the sign-in URL is printed so you can copy it. Inside a session, use /login, /logout and /usage.

/usage shows your plan, your FRODI and your RODI.For scripts you can skip login and pass a key through the environment, or for a single run:
…Interactive mode
…
rodium in your project and start talking.| Key or command | What it does |
|---|---|
Tab | Switch between plan mode (read-only) and act mode |
Shift+Tab | Turn tool auto-approval on or off |
@path | Mention a file in your prompt |
Esc | Close a menu or stop the running agent |
Esc Esc | Restore a previous checkpoint |
Ctrl+P | Open the command palette |
/model | Pick a model (and switch connection) |
/usage | Account, plan and weekly FRODI allowance |
/login, /logout | Sign in or out |
/settings | General, MCP servers, skills, rules and tools |
/history, /fork, /undo, /compact, /clear | Manage the session |
/team <task> | Run the task with a team of agents |
/help | All shortcuts and commands |

/model switches the model without restarting.One-shot runs and pipes
…- The prompt must be a single quoted argument.
--jsonstreams NDJSON events and needs a prompt or piped input.--yoloapproves every tool call and exits when the task completes.-t, --timeout <seconds>stops the run after a deadline.- The exit code is
0on success and1on failure, so it fits CI.
Tools and approvals
Tool calls are approved automatically by default. Turn that off to review each call. With auto-approval off, every call that reads files, fetches the web, edits or runs commands asks first. Plan mode (-p, --plan) explores and proposes changes without editing files.
…
MCP servers and skills
…mcp install opens the add wizard with the fields prefilled (pass --yes to skip it). Skills are added with rodium skill add <owner/repo> and listed with rodium skill list. Skills and workflows also appear as slash commands in a session: type /skills to browse them.
Sessions and history
rodium historyopens a picker to resume a session (--jsonfor scripts).rodium history export <id>androdium history delete <id>export or remove one.rodium --id <session-id>resumes a saved session directly.
Schedules
Run the agent on a schedule. Without --provider and --model, a schedule uses your current connection and model.
…Running rodium schedule in a terminal opens an interactive wizard.
Use it from another editor (ACP)
rodium --acp runs RodiumAi as an Agent Client Protocol agent over stdio, for editors that support ACP. Example agent entry:
…The editor signs in with your RodiumAi account. Credentials saved by rodium login and RODIUMAI_API_KEY are picked up automatically, and RODIUMAI_MODEL sets the default model.
Configuration
Settings, sessions and credentials live in ~/.rodiumai. Use --config <dir> to point at another configuration directory, or --data-dir <dir> for isolated local state. rodium config prints the current configuration (--json for scripts). Rules, workflows, skills and MCP servers are read from the workspace and from ~/.rodiumai; open /settings in a session to toggle them.
| Variable | Purpose |
|---|---|
| RODIUMAI_API_KEY | API key (rd_sk_...) for the API key connection |
| RODIUMAI_ENVIRONMENT | production (default), staging or local |
| RODIUMAI_DIR | Configuration directory (default ~/.rodiumai) |
| RODIUMAI_DATA_DIR | Data directory for sessions and settings |
| RODIUMAI_SANDBOX | 1 forces sandbox mode (isolated state) |
| RODIUMAI_NO_AUTO_UPDATE | 1 disables the background update check |
| RODIUMAI_LOG_LEVEL | trace, debug, info (default), warn, error or silent |
| RODIUMAI_LOG_ENABLED | 0 disables file logging |
| RODIUMAI_LOG_PATH | Log file path |
| RODIUMAI_DEBUG | 1 prints wrapper diagnostics |
| RODIUMAI_PROVIDER, RODIUMAI_MODEL | ACP defaults: rodiumai (account) or rodium (API key), and the model |
Updates and diagnostics
…The CLI trusts your operating system's certificate store, so it works behind TLS-inspecting proxies and with internal certificates. More in troubleshooting.
Privacy and usage data
RodiumAi Code runs on your machine. Your project files, session history and settings stay there. What you ask, with the context the agent adds to the request, is sent to the RodiumAI gateway, which keeps the text for 90 days unless you switch storage off in your dashboard settings. The Privacy Policy (section 2.5) has the full detail.
By default it also sends a short list of usage events to PostHog (EU cloud) to help us fix bugs: app start, sign-in outcome, sessions and tasks started, completed or cancelled, model and token counts, tool names and error categories. They carry the app, its version and your operating system, plus your account identifier or a random identifier created on your device. Never your prompts or answers, file names or paths, code, commands, git details, error messages, email address or keys.
| Where | How to turn it off |
|---|---|
| Everywhere | RODIUMAI_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1 |
| CLI | rodium telemetry off (on turns it back on, status shows the state) |
| Desktop app | Settings, Product analytics |
| VS Code extension | Turn off VS Code telemetry, or set rodiumai.telemetry.enabled to false |
Analytics are off by default in CI environments.