cd /news/ai-infrastructure/set-up-coding-agents-in-one-command-… · home topics ai-infrastructure article
[ARTICLE · art-94504] src=vercel.com ↗ pub= topic=ai-infrastructure verified=true sentiment=· neutral

Set up coding agents in one command with AI Gateway

Vercel's AI Gateway now lets developers set up coding agents in one command, routing traffic from Claude Code, Codex, OpenCode, and six other agents through a centralized gateway with access to 200+ models, unified dashboards, budgets, and team-wide policies. The setup command `vercel ai-gateway coding-agents setup` automatically detects agents, creates API keys, and writes gateway URLs into each agent's config, with support for Zero Data Retention and provider allowlists.

read2 min views6 publishedAug 12, 2026

Using coding agents means setting up multiple accounts, provisioning API keys, and scattering observability and billing. Now, you can route them through AI Gateway to centralize all of this and add controls, with set up in one command: Any of 200+ models in any agent, including models the agent has no native support for. The gateway routes the request to whichever model you picked, with automatic fallbacks.

One dashboard** for agent traffic**: spend, performance, tokens and more, across the models your agents used.

Budgets**, resets, and expiry on the ** keys agents use to control spend. Team-wide policy your agents can't route around: turn on Zero Data Retention or restrict which providers may serve requests, and it holds for every agent request without editing an agent's config.

Request traces, with the cost, tokens, and model behind each request. To start:

vercel ai-gateway coding-agents setup connects Claude Code, Codex, OpenCode, and more in one command. It finds the agents on your machine, creates the API key, and writes the gateway URL and your credentials into each agent's own config format.

Agent Selecting a model
Claude Code, CLI and desktop
Codex, CLI and desktop
OpenCode
Pi
Cline
Cursor Add gateway slugs under Settings, then Models
Hermes
Kilo Code
OpenClaw Add slugs to the starter list in

Files are edited in place with their formatting preserved, and setup does not pin to a model. This command supports 9 coding agents to utilize the models in AI Gateway. You can also use the /model

in-line command for a selector with all models: refer to the [models list](https://vercel.com/ai-gateway/models) for the full catalog.

Pass `--yes`

to take the defaults, or set the key up front:

── more in #ai-infrastructure 4 stories · sorted by recency
── more on @vercel 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/set-up-coding-agents…] indexed:0 read:2min 2026-08-12 ·