Automic VaultAutomic Vault

brew

Install cliproxyapi with Homebrew, scoop

Wrap Gemini CLI, Codex, Claude Code, Qwen Code as an API service. Version 7.2.50 via Homebrew; verified 2026-07-03.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cliproxyapi

local Homebrew formula metadata

Windows

Scoopverified · 92%
scoop install main/cliproxyapi

Scoop official bucket manifest trees · bucket/cliproxyapi.json · source: api.github.com

overview

Package summary

Wrap Gemini CLI, Codex, Claude Code, Qwen Code as an API service

Commands and aliases

  • cliproxyapi

history

Project history and usage

CLI Proxy API is a Go proxy server that exposes OpenAI-, Gemini-, Claude-, Codex-, and Grok-compatible API interfaces backed by local or multi-account CLI authentication flows.

Project history

The GitHub repository was created on 2025-07-01. The official README describes the project as a proxy server for CLI models, including support for OpenAI Codex and Claude Code via OAuth, streaming and non-streaming responses, function calling, multimodal input, and reusable Go SDK docs.

The project's docs moved beyond a single README into a help.router-for.me documentation site and a repository docs tree covering SDK usage, advanced executors and translators, access, watchers, and custom-provider examples.

Adoption history

CLIProxyAPI had very strong package and GitHub adoption signals for a young project: GitHub repository metadata showed tens of thousands of stars and thousands of forks, while the Homebrew formula API reported tens of thousands of on-request installs over the preceding year and several hundred `--HEAD` installs.

The README lists many projects based on or inspired by CLIProxyAPI, including vibeproxy, CPA management dashboards, quota inspectors, desktop wrappers, VS Code integrations, and sidecar patterns for coding agents.

How it is used

Users run the proxy locally, authenticate CLI-backed providers through OAuth or API-key style flows, and point OpenAI-, Gemini-, Claude-, or Codex-compatible clients and SDKs at the local service. The README emphasizes multi-account load balancing, provider translation, management APIs, and integration with AI coding tools.

Why package nerds care

CLIProxyAPI is package-nerd significant because it packages a fast-moving 2025-2026 AI tooling pattern: turning subscription-backed CLI tools into local API-compatible endpoints. Its Homebrew formula, Scoop listing, management-center ecosystem, and numerous downstream wrappers show how package managers became the distribution layer for local AI proxy infrastructure.

Timeline

  • 2025-07-01: GitHub repository is created.
  • 2025-2026: README documents OAuth support for Codex, Claude Code, Gemini, and other CLI-backed providers.
  • 2026: Homebrew formula tracks stable release 7.2.45 from the official GitHub tag archive.
  • 2026: README lists many downstream projects based on or inspired by CLIProxyAPI.

Related projects

  • The official README lists based-on projects such as vibeproxy, CCS, Quotio, ProxyPilot, Claude Proxy VSCode, CPA-Manager-Plus, CLIProxyAPI Dashboard, ProxyPal, Panopticon, Tunnel Agent, and Universal Chat Provider.
  • The README also lists inspired or port projects such as 9Router, OmniRoute, PPAP, and Codex Switch.

security posture

Risk level: orange

formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service

Signals

  • metadata:service

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

macOS
$(brew --prefix)/etc/cliproxyapi.conf/opt/homebrew/etc/cliproxyapi.conf/usr/local/etc/cliproxyapi.conf
Unix
config.yaml~/.cli-proxy-api/config.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.cli-proxy-api

executables

Installed executables

CommandKindExposureNote
cliproxyapicliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version7.2.50
manager updated2026-07-03
local dataok
upstreamcurrent
latest detectedv7.2.50

https://github.com/router-for-me/CLIProxyAPI

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cliproxyapi
Version7.2.50
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cliproxyapi
Homepagehttps://github.com/router-for-me/CLIProxyAPI
Repositoryhttps://github.com/router-for-me/CLIProxyAPI
Upstream docshttps://github.com/router-for-me/CLIProxyAPI/tree/main/docs
LicenseMIT
Source archivehttps://github.com/router-for-me/CLIProxyAPI/archive/refs/tags/v7.2.50.tar.gz
Last updated2026-07-03T17:51:31Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecliproxyapi
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Scoop95%

main/cliproxyapi

scoop install main/cliproxyapi
  • normalized package name match
  • Matched by: Cliproxyapi
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/cliproxyapi.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment