Forge is available: build a website with AI from your RodiumAi account.

Try Forge
RodiumAi docs
Forge & Code

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 x64 and arm64: npm picks the right one for your system. Node.js 22 or newer is only needed for the launcher.
  • The command is rodium. rodiumai is installed as an alias, so existing scripts keep working.
  • To update, run the install command again with @latest. rodium version prints the installed version.

Sign in

ConnectionHow it worksBilling
RodiumAi accountBrowser 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 keyAn 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.

The /usage panel in a terminal: sign-in method, email, plan Builder, a bar showing 36 percent of the weekly FRODI used, the reset date, the RODI balance and what happens when the FRODI run out.
/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

…
The rodium home screen in a terminal: the logo, the version, the signed-in account with its plan and FRODI, a few tips, and the prompt with the mode and the current model.
Run rodium in your project and start talking.
Key or commandWhat it does
TabSwitch between plan mode (read-only) and act mode
Shift+TabTurn tool auto-approval on or off
@pathMention a file in your prompt
EscClose a menu or stop the running agent
Esc EscRestore a previous checkpoint
Ctrl+POpen the command palette
/modelPick a model (and switch connection)
/usageAccount, plan and weekly FRODI allowance
/login, /logoutSign in or out
/settingsGeneral, MCP servers, skills, rules and tools
/history, /fork, /undo, /compact, /clearManage the session
/team <task>Run the task with a team of agents
/helpAll shortcuts and commands
The /model picker in a terminal, listing RodiumAi Auto first, then Anthropic, OpenAI and Google models.
/model switches the model without restarting.

One-shot runs and pipes

…
  • The prompt must be a single quoted argument.
  • --json streams NDJSON events and needs a prompt or piped input.
  • --yolo approves every tool call and exits when the task completes.
  • -t, --timeout <seconds> stops the run after a deadline.
  • The exit code is 0 on success and 1 on 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.

…
A rodium session in a terminal: a colored diff of cli.ts, a run_commands call for bun test and the final answer.
Diffs, commands and answers, right in the terminal.

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 history opens a picker to resume a session (--json for scripts).
  • rodium history export <id> and rodium 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.

VariablePurpose
RODIUMAI_API_KEYAPI key (rd_sk_...) for the API key connection
RODIUMAI_ENVIRONMENTproduction (default), staging or local
RODIUMAI_DIRConfiguration directory (default ~/.rodiumai)
RODIUMAI_DATA_DIRData directory for sessions and settings
RODIUMAI_SANDBOX1 forces sandbox mode (isolated state)
RODIUMAI_NO_AUTO_UPDATE1 disables the background update check
RODIUMAI_LOG_LEVELtrace, debug, info (default), warn, error or silent
RODIUMAI_LOG_ENABLED0 disables file logging
RODIUMAI_LOG_PATHLog file path
RODIUMAI_DEBUG1 prints wrapper diagnostics
RODIUMAI_PROVIDER, RODIUMAI_MODELACP 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.

WhereHow to turn it off
EverywhereRODIUMAI_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1
CLIrodium telemetry off (on turns it back on, status shows the state)
Desktop appSettings, Product analytics
VS Code extensionTurn off VS Code telemetry, or set rodiumai.telemetry.enabled to false

Analytics are off by default in CI environments.