CLIs · Gemini

Point Gemini CLI at the Gemini door.

The base URL is the origin only. The CLI adds /v1beta/models/…. A key in ?key= is refused. Gemini CLI is not a partner of REA.

Config

export GOOGLE_GEMINI_BASE_URL=https://api.reacontrolplane.com
export GEMINI_API_KEY="rea_YOUR_REA_KEY.AIza_YOUR_GEMINI_KEY"

On Windows those two names go in %USERPROFILE%\.gemini\.env.

Gemini CLI stays on Gemini.

LoopGuard, PreFlight, and TraceGuard run on this door. They are included on every plan. The model table is on Set up. You bring your own model key. REA does not host the model.