Agent-LinkOne gateway for every coding agent
Agent-Link is a local unified gateway and desktop app for AI coding agents. It brings multiple agents, model providers, subscriptions and local models into one place.
How it works
One gateway for the whole model world
Agent-Link sends conversation requests through a local gateway, chooses the model and provider, handles tool calls, and returns the model result.
Capabilities
Many agents, one place for all models
No more editing every tool's configuration or pasting keys into each one. Agent-Link manages models, accounts and routing in one place.
One model list, many agents
Unified model configuration for Claude Code, Codex, Gemini CLI, OpenCode and other tools.
Local unified gateway
Speaks OpenAI Chat, OpenAI Responses, Anthropic Messages and the Gemini request protocol.
BYOK, subscriptions and API keys
Subscription accounts, third-party API keys, LAN models and local models can all be called from one place.
Routing and failover
Switch between models, accounts and providers by order, rotation, usage and quota policy.
Plugin system
Plugins handle login, model discovery, request forwarding and extra pages; Agent-Link orchestrates them.
Tokens stay on your machine
API tokens are written to protected provider configuration locally and sent only to the upstream service you choose.
API Distribution
One token for every model
Agent-Link includes an API Distribution provider. No endpoint or model list to configure — paste a token and start using its models.
- Create an API tokenOpen api.meding.site and create a token.
- Open the Providers pageLaunch Agent-Link and go to Providers.
- Paste the tokenPaste it into the built-in API Distribution provider.
- Save and pick a modelAll models offered by that provider become available.
- Base URL
- https://api.meding.site/v1
- API token
- Create one at api.meding.site, then paste
- Local gateway
- 127.0.0.1:7500
The name, Base URL and icon are maintained by Agent-Link; custom ports in existing configurations keep working.
Quick start
Three steps to get started
Configure everything in the graphical interface or on the command line — your choice.
- STEP 01
Download and launch
Download an installer at the top of the page and start Agent-Link.
- STEP 02
Configure a provider
Paste an API Distribution token on the Providers page, or configure another built-in provider.
- STEP 03
Choose models for agents
On the Agents page, pick a model for Claude Code, Codex and each other agent.
# list configured providers
$ agent-link providers
# set a model for Claude Code / Codex
$ agent-link claude api-distribution/<model-id>
$ agent-link codex api-distribution/<model-id>
# open the terminal interface
$ agent-link tui
# OpenAI-compatible tools can use the local gateway
$ export OPENAI_BASE_URL=http://127.0.0.1:7500/v1
$ export OPENAI_API_KEY=agent-link
FAQ
Frequently asked questions
Answers reflect what the project documentation actually states — no invented features, pricing or customers.
What is Agent-Link?
Agent-Link is a local unified gateway and desktop app for AI coding agents, maintained by DeepCloud (深度云创科技). It centralizes multiple agents, model providers, subscription accounts and local models behind one model list, so you do not edit configuration or paste keys in every tool.
Which AI coding agents does Agent-Link support?
The documented agents include Claude Code, Codex, Gemini CLI and OpenCode. You set the model for each agent from one place instead of changing each tool's configuration separately.
How does the local gateway work?
Agent-Link routes conversation requests through a local gateway at 127.0.0.1:7500. The gateway speaks OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and the Gemini protocol, selects a model and provider, then returns the model result. OpenAI-compatible tools can point at it with OPENAI_BASE_URL=http://127.0.0.1:7500/v1 and OPENAI_API_KEY=agent-link.
Does Agent-Link support BYOK, subscriptions and API keys together?
Yes. The project describes BYOK (bring your own key) alongside subscription sharing: subscription accounts, third-party API keys, LAN models and local models can all be used from the same place, with routing and failover across models, accounts and providers.
Is Agent-Link free and open source?
Yes. The GitHub repository is MIT-licensed and describes the project as free and open source. Agent-Link also includes a built-in API Distribution provider (api.meding.site) where you paste a token; upstream model usage depends on the provider you choose.
How does Agent-Link compare with LiteLLM, One API or New API?
The project materials do not include a feature-by-feature benchmark against LiteLLM, One API or New API. Agent-Link's stated focus is narrower: a desktop app plus local gateway for AI coding agents, with one model list, protocol translation, subscription sharing, routing and failover. Those other projects are gateways/LLM API management systems with their own scopes; no superiority claim is made here.
Which platforms are available?
The project ships builds for Windows 10/11 (64-bit) and macOS for Apple silicon and Intel. The GitHub repository also documents Linux and Docker builds; see https://github.com/crazymsn/Agent-Link for current downloads.
Where are API tokens stored?
According to the project documentation, API tokens are written only to protected provider configuration on your own machine and are sent only to the upstream service you select. Do not commit tokens to Git, screenshots, logs or issues.