Supported CLIs
Seven CLIs and your own API keys
Install a CLI on your Mac and sign in the way it asks, or add an API key for a model provider. Pocket CLI finds them, and you can run, follow and approve them from your phone.
Three steps
- Install the CLI on your Mac. If
<command> --versionruns in Terminal, Pocket CLI can find it. It looks on your PATH, in~/.local/bin, Homebrew and common Node version managers. - Sign in the way the CLI asks. Or, on the Mac, open the account menu at the bottom left → CLI accounts…, choose the CLI and click Add & sign in. You can add more than one account per CLI.
- Open Pocket CLI. The CLI appears in the account list. Switch to it on iPhone, iPad or Mac and send your first task.
Pocket CLI doesn't replace your CLI or change how it works: it runs the CLI on your Mac and brings the conversation to your phone.
At a glance
| CLI | Command | Sign in | Permission modes on the phone | Approve on the phone |
|---|---|---|---|---|
dsh | Save your DeepSeek Platform API key in the DeepSeek Mac app or dsh web | Full access | No | |
agy | Sign in to Antigravity with your Google account | Plan only, Auto, Full access | No | |
codex | codex login | Ask each step, Accept edits, Plan only, Auto, Full access | Yes | |
cursor-agent | Add & sign in in Pocket CLI, or cursor-agent login | Plan only, Full access | No | |
copilot | Add & sign in in Pocket CLI with your GitHub account | Plan only, Auto, Full access | No | |
grok | Add & sign in in Pocket CLI | Auto, Full access | No | |
claude | claude auth login | Ask each step, Accept edits, Plan only, Auto, Full access | Yes |
Approve on the phone: when the run needs permission it stops and waits for you to allow or deny. The other CLIs can't ask in the middle of a run, so they run in the mode you picked: Plan only reads without changing anything; Full access doesn't ask.
CLI by CLI
DeepSeek
Command: dsh · config: ~/.dsh. Pocket CLI uses the key where dsh keeps it and doesn't save a copy. One model (DeepSeek's default). Plan & usage asks DeepSeek for your balance with that key. To choose DeepSeek's models yourself, add the key as an API model instead (below).
Antigravity
Command: agy · config: ~/.gemini/antigravity. In Auto, Antigravity's own reviewer decides; it doesn't stop to ask. Plan & usage shows your plan tier.
Codex
Command: codex · config: ~/.codex. Choose the model and reasoning effort. Plan & usage shows your plan's limits.
Cursor Agent
Command: cursor-agent · config: ~/.cursor. Also found as agent. Plan & usage shows your plan.
GitHub Copilot
Command: copilot · config: ~/.copilot. In Auto, Copilot's own check refuses what it blocks instead of asking.
Grok
Command: grok · config: ~/.grok. Plan only isn't offered yet: Grok's plan mode can still run commands.
Claude Code
Command: claude · config: ~/.claude. Choose the model. Plan & usage shows the five-hour and weekly limits.
API models: bring your own key
No CLI for the model you want? Add its API key on the Mac and use it like any other account. On the Mac, open the account menu at the bottom left → API models… → Add an API service, pick the provider, paste the key, then choose which of its models to show.
- One account, many models. Every service you add joins one API models account. In the same conversation you can switch from one provider's model to another's in the model menu.
- Ready-made providers: DeepSeek, Kimi (Moonshot), GLM (Z.ai and Zhipu), Qwen (Alibaba Cloud), MiniMax, Xiaomi MiMo, OpenRouter, SiliconFlow, BytePlus ModelArk, Google Gemini, xAI Grok, Mistral, Groq, Together AI, OpenAI and the Claude API, plus models on your Mac through Ollama or LM Studio. Any other service that speaks the OpenAI or Anthropic API can be added as Custom.
- Balance. Plan & usage shows your balance for DeepSeek, Kimi, OpenRouter and SiliconFlow.
- Your key stays on your Mac, in the macOS Keychain, and is sent only to that provider. It never goes through our relay or to your phone. Before you add a service, Pocket CLI tells you that your prompts and code will go to that provider, which bills you directly.
- What you need: Claude Code installed on the Mac. API models run in it; you don't need to sign in to a Claude account.
Keys are added on the Mac only. On iPhone and iPad, API models show up as their own group, labelled API, apart from your CLI accounts.
If a CLI doesn't show up
- Run
<command> --versionin Terminal to check it's installed. - Installed somewhere else? Link it into
~/.local/bin, for exampleln -s /path/to/dsh ~/.local/bin/dsh, then reopen Pocket CLI. - Still missing? Write to us from Support with the CLI and its version.