a Gemini API key, Vertex AI (gcloud), or a Vertex deployment behind Apigee
Copilot
your signed-in Microsoft Copilot web session (SSO and all)
The agents read, search, edit and run commands across the whole workspace; every
tool call streams into the transcript, and you choose whether each one asks
first, whether file edits are applied silently, or whether everything just runs.
Setup
Install the airelay command — the extension is a front-end for it and
needs it on your machine. No Java required; see
Install:
curl -fsSL https://raw.githubusercontent.com/Chelayel/ai-relay/main/packaging/install.sh | sh
on macOS/Linux, irm …/install.ps1 | iex on Windows, or an installer from
the releases page. If it isn't on your PATH, set airelay.path.
Claude needs nothing more. For Gemini, Copilot or web
search, run AI Relay: Set Up an Agent (command palette, or the ⚙ button
in the panel): pick the connection, answer a few input boxes — keys are
masked — and it is saved to ~/.airelay/config.properties, readable only by
you and shared with the command line and the IntelliJ plugin. Copilot's
default is browser mode: a Chrome/Edge tab opens on the first turn and you
sign in there.
Open the AI Relay view in the activity bar.
Using it
Enter sends, Shift+Enter adds a line, Esc stops a running turn.
The chip under the message box shows the current file, or the selected lines when there is a selection, and follows the editor as you move around. It is attached to the next message; click it to leave it out.
The permission bar appears when the agent wants to run something in ask
mode; Allow runs it once, Always for the rest of the conversation.
New starts a fresh conversation; switching agent or permission mode does too.
Settings
Setting
Default
airelay.path
airelay
The command, or a full path to it.
airelay.backend
claude
Default agent for new windows.
airelay.permissionMode
acceptEdits
ask, acceptEdits or bypass.
airelay.extraArgs
—
Extra arguments for every launch, e.g. --model NAME --no-web.
Independent and unofficial — not affiliated with Anthropic, Google or Microsoft.
Source and issues: github.com/Chelayel/ai-relay.