Agent2API
本地反向代理 + OpenAI 兼容 AI 网关:复用桌面客户端登录态,一个 base_url 调用十余家模型额度 · Local OpenAI-compatible gateway for AI coding clients — WorkBuddy, Raccoon, CatPaw, AutoClaw, Qoder, Cline, Accio, ZCode, CodeArts, Trae and more.
- accio
- autoclaw
- catpaw
- cline
- docker
- local-proxy
- openai-compatible
- qoder
- trae
- Stars
- 551
- Forks
- 138
- + today
- +1
- Created
- 1mo
Ranking data as of October 30, 2026 (UTC).
Star History
Today, hour by hour
Overview
本地反向代理 + OpenAI 兼容 AI 网关:复用桌面客户端登录态,一个 base_url 调用十余家模型额度 · Local OpenAI-compatible gateway for AI coding clients — WorkBuddy, Raccoon, CatPaw, AutoClaw, Qoder, Cline, Accio, ZCode, CodeArts, Trae and more. It ranks #4683 on GitTiger, gaining +1 star on October 30, 2026 (UTC).
The project is written in Rust and has 138 forks. It was created 1mo ago.
What it is
agent2api is a local reverse proxy and OpenAI-compatible AI gateway, written in Rust. The description says it reuses desktop-client login sessions so one base URL can call models from more than ten providers.
Capabilities described
- Starts a local gateway on port 3065 when the app first launches, according to the README summary. - Account management: add an account, choose a provider and sign in or enter credentials, following the in-app prompts. - OpenAI-compatible clients can use any placeholder API key, since the README summary says authentication is not enforced when disabled. - Supports Docker, per the topics and the README summary.
Getting started
The README summary describes adding accounts in the app and requires Rust 1.77 or later with the Tauri 2 toolchain to build the desktop app. See the repository README for full steps.
git clone https://github.com/aimod-cc/Agent2API.git
cd Agent2API
# see README for setupFrequently Asked Questions
Do I need an API key?
The README summary says authentication is not checked when it is disabled, so a placeholder key works. Enabling authentication is not described in the supplied evidence.
What do I need to build the desktop app?
The README summary lists Rust 1.77 or later and the Tauri 2 toolchain; on Windows, the WebView2 runtime is also needed.
What license does it use?
The supplied metadata lists NOASSERTION, meaning no license was detected. Check the repository.