@ar-ai/brink-cli
v1.0.7
Published
Local AgentRouter proxy and guided setup for Claude Code and Codex.
Readme
Brink
Made by rexy and brink. Brink is a local AgentRouter proxy for Claude Code and Codex. It provides guided client setup, protocol bridges, bounded retries for transient provider failures, and a terminal dashboard.
Install and run
Install Node.js 24 or newer with npm, then install Brink:
npm install --global @ar-ai/brink-cli
brinkOn first run, Brink opens guided setup and starts the proxy after setup succeeds. Choose Claude Code, Codex, or both; enter your own AgentRouter API key at the hidden prompt and select a model. Setup can install a missing selected client. npm installation itself only installs Brink; it does not ask for credentials or change client settings.
Keep Brink open. In a second terminal, open your project and run claude or codex. Use /model inside the client. The proxy listens on 127.0.0.1:8787 by default. Stop it with Ctrl+C.
You can also run Brink without a global installation:
npx @ar-ai/brink-cliFor a project-local installation, use npm install @ar-ai/brink-cli, then npx brink. The runtime supports Windows, macOS, and Linux; selected client installers require a supported 64-bit platform.
Commands
| Command | Purpose |
| --- | --- |
| brink | Start the proxy, opening setup on first run. |
| brink setup | Install/connect clients or change models. |
| brink start --plain | Start the proxy with ordinary line logs. |
| brink check | Repair Brink-managed client settings. |
| brink update | Replace the saved API key through hidden input. |
| brink art | Display the supplied artwork. |
| brink --help | Display help. |
brink update changes credentials. To update the software, stop Brink and run npm install --global @ar-ai/brink-cli@latest.
Settings are saved in ~/.config/brink/config.json (or BRINK_CONFIG_HOME). Setup also writes selected clients' user settings. Credentials are stored locally without encryption; Windows file access follows your profile permissions. Model access, quota, and billing remain controlled by AgentRouter.
