Any coding agent. One command.Mọi coding agent. Một lệnh.任意 coding agent。一条命令。
Install the native anyr binary (alias ar), then launch Claude Code, Codex, or Grok Build through the AnyRouter gateway. One key, automatic failover, zero config files.Cài binary native anyr (alias ar), rồi chạy Claude Code, Codex hoặc Grok Build qua gateway AnyRouter. Một key, failover tự động, không file cấu hình.安装原生 anyr 二进制(别名 ar),再用 AnyRouter 网关启动 Claude Code、Codex 或 Grok Build。一把 Key,自动故障转移,不用写配置文件。
Installs anyr and ar into ~/.local/bin — no Node requiredCài anyr và ar vào ~/.local/bin — không cần Node装到 ~/.local/bin — 不需要 Node
Browser PKCE or paste an sk-ar- key. anyr auth login works too.
How it routesCách định tuyến怎么走流量
One CLI, any agentMột CLI, mọi agent一个 CLI,任意 agent
Sign in once — by browser, pasted key, or device code for headless machines — then the CLI hands off to the real Claude Code, Codex, or Grok Build binary, which routes through the AnyRouter Gateway.Đăng nhập một lần — trình duyệt, dán key, hoặc device code cho máy headless — CLI bàn giao cho binary Claude Code, Codex hoặc Grok Build, đi qua AnyRouter Gateway.登录一次:浏览器、粘贴 Key,或无头机用 device code。CLI 再把真实的 Claude Code / Codex / Grok Build 二进制接上 AnyRouter 网关。
Launchers
Pick your agent
Install once with curl | bash, then one CLI wraps the agents you already use. The same stored key powers every launcher.
In the terminal
What it looks like in use
Run any launcher with no flags for a guided menu — pick model, effort, and hub, then launch. Or pass flags and it skips straight through.
accountdefault sk-ar-v1-****…****
modelanyrouter/free
agentclaude
credits-
Sign in once — then every launcher reuses the same key
One gateway under every agent
The pieces the terminal is standing on — the catalog, the failover, the key handling.
Skills & Knowledge Hub
Load a hub straight into a session
A hub is your agent's context (skills, prompts, knowledge, and plugins) managed in the dashboard and pulled to any machine. Point a launcher at one and it syncs, shows you exactly what landed, then starts your agent with that context already in place.
Pick a hub, or let it list them
Pass --hub my-hub to load one directly, or run a launcher on its own and the CLI lists every hub you can see so you can pick one interactively.
Every item carries a scan verdict
Each skill, prompt, and doc is scanned for prompt injection before it can sync. Flagged items never reach your machine.
Loaded with --plugin-dir
The hub syncs to ~/.anyrouter/hubs/<slug> as a self-contained plugin, then launches with --plugin-dir pointed at it. Your ~/.claude/skills is never touched.
Everything else
Swap models, no config edits
Change --model and AnyRouter handles routing, failover, and billing. Per- project defaults live in anyrouter.yaml, checked in so the whole team gets the same setup.
# Swap models without touching configanyr claude --model z-ai/glm-5.2# Let a preset pick the model, set reasoning depthanyr claude --model auto --effort high# Same key works for Codexanyr codex --model anthropic/claude-sonnet-4.6 --effort xhigh
# defaults for every launcherdefault: @preset/coding-stackeffort: highhub: my-hub# per-launcher overridesclaude:model: anthropic/claude-sonnet-4.6codex:model: z-ai/glm-5.2effort: xhigh# auto-failover on these statusesfallback: [ 429, 401, 5xx ]
Your config follows you
Keys, presets, and hubs live in AnyRouter and load on any machine. Sign in and your whole setup is just there.
Clean exit, every time
Credentials live only in the agent's process. When it exits, they're gone, with no env vars or files left behind.
Interactive when you want it
No flags: arrow through models, effort, and hubs before launch. Pass flags: it skips straight through.
All keyboard, no mouse
↑↓ to navigate, ←→ to change, Enter to launch. Scriptable too.
- 01Sign in once
- 02Pick any model
- 03Launch the real agent
CLI overview
Interactive menu, first-run setup, shared config, management commands.
Claude Code
One-command setup, model flags, and manual env-var fallback.
Skill & Knowledge Hubs
Sync shared skills, prompts, and plugins to every machine with one command.
Configuration
anyrouter.yaml, profiles, JSON schema, and all CLI flags.
Login & security
Browser PKCE flow, device code flow, and key storage.
Model catalog
Browse every model id you can pass to --model.
Try it in your terminalThử ngay trên terminal在终端里试一次
Free to start. Install the binary, sign in once, then every coding session routes through AnyRouter.Miễn phí bắt đầu. Cài binary, đăng nhập một lần, mọi phiên coding đi qua AnyRouter.免费起步。装好二进制,登录一次,之后每次 coding 都走 AnyRouter。
Then run ar auth login and ar claudeRồi chạy ar auth login và ar claude然后 ar auth login,再 ar claude