BrainstormRouter
CLI

Control the router
from your terminal.

Send requests, list models, configure routing, and run the self-hosted gateway — all from the command line.

Install

Pick your package manager.

Ships as a standalone binary. Works with npm, pnpm, and Bun.

# npm
npm install -g openclaw

# pnpm
pnpm add -g openclaw

# bun
bun add -g openclaw
Key commands

Four verbs do the work.

send
openclaw send "Explain TCP" \
  --model auto --stream

Send a chat completion with model selection, streaming, and full header output.

models
openclaw models
openclaw models --provider anthropic
openclaw models --format json

List available models with health status and stats across all providers.

gateway
openclaw gateway --port 3000
openclaw gateway --watch

Run the self-hosted gateway locally for development or air-gapped deploys.

config
openclaw config set routing.default auto
openclaw config get budget
openclaw config list

View and modify routing, budget, and provider-key configuration.

Ship your first request — in one line.