Vercel、AI Gateway でコーディングエージェントをワンコマンド設定
本文の状態
日本語全文を表示中
詳細モードで約3分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Vercel Blog
Vercel は AI Gateway を活用して、コード生成エージェントのセットアップを単一コマンドで完結させる機能を導入し、複数アカウントや API キーの管理課題を解消する。
Continue in AI NEW LAB
このニュースを、実務の判断につなげる
AI NEW LABで、試したことや先に確認したい条件を共有できます。まずはログインなしで読めます。
AI NEW LABで論点を見るAI深層分析を開く2026年8月13日 08:48
AI深層分析
キーポイント
ワンコマンドでのエージェント設定
Vercel は「vercel ai-gateway coding-agents setup」コマンドにより、Claude Code や Codex など複数のコード生成エージェントへの接続を自動化し、API キーの作成と設定ファイルを直接書き込む。
統一的な管理ダッシュボード
AI Gateway を介することで、200 種類以上のモデルからのトラフィック、コスト、トークン使用量などを一元化し、予算制限やキーの有効期限管理をチーム全体で適用可能にする。
柔軟なモデルルーティングとフォールバック
エージェントがネイティブにサポートしていないモデルを含め、指定したモデルへのリクエストルーティングと自動フォールバック機能を提供し、開発の継続性を確保する。
重要な引用
Any of 200+ models in any agent, including models the agent has no native support for.
Team-wide policy your agents can't route around: turn on Zero Data Retention or restrict which providers may serve requests.
編集コメントを表示
編集コメント
Vercel は開発者体験の向上を目指し、AI エージェントの管理課題に特化したソリューションを提供している。この機能は、多様なモデルを扱う現場における運用効率とセキュリティガバナンスの両立を実現する重要な一歩となる。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
コーディングエージェントを利用するには、これまで複数のアカウント設定や API キーの発行、観測機能と請求情報の散在化が必要でした。しかし AI Gateway を経由させることで、これらを一元的に管理し、制御機能を追加できるようになりました。セットアップはたった 1 コマンドで完了します。
エージェント内で利用可能な 200 種類以上のモデルから選べます。エージェントがネイティブに対応していないモデルでも問題ありません。ゲートウェイがリクエストを指定したモデルへルーティングし、自動フォールバックも機能します。
エージェントが使用したすべてのモデルにわたる、スパン、パフォーマンス、トークン数などを一元管理できるダッシュボードを用意しました。
API キーには予算設定、リセット機能、有効期限を設定できます。これによりエージェントの支出を厳格にコントロール可能です。
チーム全体で適用されるポリシーは、エージェントが迂回できません。「ゼロデータ保持」機能をオンにするか、リクエストを受け付けるプロバイダーを制限すれば、エージェントの設定を変更しなくてもすべてのリクエストに適用されます。
各リクエストには、コスト、トークン数、使用されたモデルの詳細なトレース情報が記録されます。
開始方法:
vercel ai-gateway coding-agents setup コマンドを実行すると、Claude Code、Codex、OpenCode など複数のエージェントをワンコマンドで接続できます。このコマンドはマシン上のエージェントを検出し、API キーを作成し、ゲートウェイ URL と認証情報を各エージェントの独自設定形式に自動書き込みます。
Agent
モデルの選択方法:
Claude Code (CLI およびデスクトップ版)
/model または /model を使用します。例: /model anthropic/claude-opus-5
Codex (CLI およびデスクトップ版)
/model または codex --model
OpenCode
/models で一覧を表示し、vercel// を選択
Pi
/model または pi --list-models
Cline
cline auth -p vercel-ai-gateway -m コマンドを実行するか、セッション内で切り替え
Cursor
設定画面でゲートウェイのスラッグを追加し、その後 Models セクションへ移動
Hermes
AI Gateway を使ったコーディングエージェントのセットアップは、単一のコマンドで完了します。
/model custom:vercel-ai-gateway:
Kilo Code の /models コマンドを実行し、OpenAI 互換のモデルを選択してください。あるいは OpenClaw を利用することもできます。
openclaw.json のスターターリストにスラッグを追加します。
ファイルはフォーマットを維持したままその場で編集され、セットアッププロセスでは特定のモデルに固定されません。このコマンドにより、AI Gateway 内のモデルを利用する 9 つのコーディングエージェントを設定できます。また、すべてのモデルを含むセレクターとして /model インラインコマンドも使用可能です。利用可能なモデルの一覧は、カタログリストを参照してください。
デフォルト値を採用するには --yes を渡すか、事前にキーを設定します。
コーディングエージェントのドキュメントを読む
vercel ai-gateway CLI リファレンス
モデルカタログを閲覧する
さらに詳しく読む
原文を表示
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
/model or /model <slug>, as in /model anthropic/claude-opus-5
Codex, CLI and desktop
/model or codex --model <slug>
OpenCode
/models, then pick vercel/<creator>/<model>
Pi
/model, or pi --list-models
Cline
cline auth -p vercel-ai-gateway -m <slug>, or switch in session
Cursor
Add gateway slugs under Settings, then Models
Hermes
/model custom:vercel-ai-gateway:<slug>
Kilo Code
/models, then pick openai-compatible/<creator>/<model>
OpenClaw
Add slugs to the starter list in openclaw.json
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 for the full catalog.
Pass --yes to take the defaults, or set the key up front:
Read the coding agents documentation
vercel ai-gateway CLI reference
Browse the model catalog
Read more
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み