Ergo AI Guide

Amazon Ergo in Cursor: Gateway Workaround (No Native Support)

No official native support: Cursor does not have official Amazon Ergo-1.0 support documented by AWS. The AWS Amazon Ergo coding-tools guide lists Claude Code, Codex CLI, OpenCode, and Kiro—Cursor is absent from that list. Below is a gateway workaround that points Cursor’s OpenAI-compatible settings at Vercel AI Gateway (https://ai-gateway.vercel.sh/v1) using model ID amazon/ergo-1.0.

Workaround 1: Vercel AI Gateway base URL in Cursor Editor

If your Cursor plan allows custom OpenAI-compatible endpoints (not locked down by an enterprise org policy):

  1. Open Cursor Settings → Models.
  2. Paste your Vercel AI_GATEWAY_API_KEY into the OpenAI API Key field.
  3. Toggle Override OpenAI Base URL on and set it to:
https://ai-gateway.vercel.sh/v1
  1. Add custom model ID amazon/ergo-1.0, select it in chat/composer, and confirm the routed request appears in your Vercel AI Gateway usage logs.

Important limitation: Cursor Tab autocomplete does not use this custom base URL route—Cursor Tab always runs on Cursor’s own autocomplete models. Background agents and enterprise-managed plans may also restrict custom OpenAI base URLs.

Workaround 2: Vercel CLI gateway helper for Cursor CLI

If you use Cursor CLI, Vercel publishes a gateway setup command to wire amazon/ergo-1.0 without editing settings manually:

pnpm dlx vercel@latest ai-gateway setup --agent cursor

After running it, send a read-only test prompt and check your Vercel AI Gateway dashboard to confirm requests actually hit amazon/ergo-1.0 (do not assume another picker entry routes to Ergo). See Vercel’s Cursor integration docs for current gateway billing rules.

Want an officially documented direct Bedrock client instead?

If your Cursor plan blocks custom endpoints or you want direct Amazon Bedrock zero-retention routing without a workaround, switch to an AWS-documented tool: Codex CLI, OpenCode, Claude Code, or Kiro—or test prompts in the browser playground.

QUESTIONS

Frequently asked questions

Does Cursor officially support Amazon Ergo?

No. AWS’s official Amazon Ergo-1.0 coding-tools documentation lists Claude Code, Codex CLI, OpenCode, and Kiro—not Cursor. Native picker availability is not guaranteed across plans, so pointing Cursor to Vercel AI Gateway is a workaround.

Does routing Amazon Ergo via Vercel AI Gateway power Cursor Tab?

No. Overriding the OpenAI Base URL to Vercel AI Gateway only routes supported chat/composer requests; Cursor Tab autocomplete runs on Cursor’s own specialized models.

What is the cleanest alternative if Cursor blocks custom base URLs?

Use Codex CLI or OpenCode for officially documented direct Amazon Bedrock routing (global.amazon.ergo-1.0), or test Amazon Ergo directly in the Vercel AI Gateway browser playground.