agentgate v1.4.2
agentgate --status
running on 127.0.0.1:9090 · v1.4.2 · 26 providers

One local gateway for
AI model requests.

一个本地入口,统一管理你的 AI 模型请求。

AgentGate is a local AI gateway for AI apps and clients, including Codex, Claude Code, Gemini CLI, OpenCode, AtomCode, and apps compatible with OpenAI, Anthropic, or Gemini protocols. It routes each request to the model you choose, fails over automatically when a provider breaks, traces everything locally, and bridges protocol differences across OpenAI-compatible providers.

$ AI apps Codex · Claude Code · Gemini CLI · OpenCode · AtomCode
$ upstream OpenAI · Anthropic · DeepSeek · Kimi · GLM · Copilot + 20 more
agentgate · demo
agentgate demo
man agentgate

What it does.

// 它到底做了什么。

# original experience intact

Codex / Claude Code / OpenCode / Gemini CLI / AtomCode keep their original behavior. Codex Desktop plugins, Claude Code settings, Copilot quota — none get broken. One-click restore to official config.

Codex 的插件、Claude Code 的设置、Copilot 的额度都不会乱。一键恢复官方。

# your model entry

Model requests enter AgentGate. You decide protocol conversion, passthrough, provider, and model — 26 providers, multi-key rotation, automatic failover. All locally.

官方接口进 AgentGate,本地决定转换 / 直连 / 选 provider / 选模型。26 家、多 key 轮询、故障自动切换。

# every request observable

Routing decisions, protocol conversion, errors, token counts, cost, failover — all auditable in the local dashboard. Which request went where, cost how much, why it failed over — all on record.

路由、转换、错误、token、成本、故障转移 —— 都在本地面板可追踪。

AgentGate is not a hosted API reseller. It is a local-first desktop entry point for AI model requests. It gives you provider flexibility without breaking client-specific behavior.

不是托管 API 分发平台,是 AI 模型请求的本地桌面入口。要 provider 自由,又不愿客户端原有能力被破坏。

agentgate --download

Download for your OS.

// 选你的系统。免费、开源,跑在你自己的机器上。

# latest v1.4.2 · recently

macOS Apple Silicon aarch64.dmg
macOS Intel x64.dmg
Windows 10 / 11 x64-setup.exe
Linux Debian / Ubuntu amd64.deb
Linux other distros amd64.AppImage

# headless CLI (agentgate-serve) 与历史版本: releases ↗

agentgate --help

Get started.