#1002/Anonymous/1w ago

CLIProxyAPI – a unified proxy API for CLI-based LLM tools

Make your local AI CLI feel like everyone else’s API.

CLIProxyAPI is an open-source proxy server that turns many AI command-line tools into a single, standard API you (and other tools) can call. Instead of juggling separate interfaces for Gemini CLI, Claude Code, Codex/GPT, Qwen Code, iFlow, Antigravity, etc., this project wraps them so they behave like an OpenAI/Gemini/Claude compatible API locally. It’s written in Go and designed for developers who want to: • Use multiple LLM CLIs behind one API • Support OAuth flows and multi-account authentication • Route requests to different models (Gemini, Claude, GPT, Qwen, iFlow) • Handle streaming responses, function calls, and multimodal input • Work with CLI clients and SDKs that expect a standard LLM API • Balance load across accounts/services for cost or performance reasons You can run it locally, in Docker, or integrate with other tools (some even build GUIs and native apps on top). The vibe is very much “glue that lets your favorite AI command-line tools act like a consistent API backend”—so you can stop rewriting connectors and just get shit done.

Discussion (0)

0 / 2000