Enterprise DNAEnterprise DNA

Open Source

Relay

by Imamuzzaki Abu Salam

A small local proxy that lets coding agents such as Claude Code and Codex CLI switch between your GitHub Copilot, OpenAI, Anthropic, Z.AI, DeepSeek, Groq, Ollama and other accounts without a restart.

Our verdict

Source reviewedReviewed 22 Oct 2026 by Enterprise DNA editorial

A small local proxy that lets coding agents such as Claude Code and Codex CLI switch between your GitHub Copilot, OpenAI, Anthropic, Z.AI, DeepSeek, Groq, Ollama and other accounts without a restart.

Best for: Developers with several provider accounts who want one local switch for their coding agent, on a machine only they use.

Choose something else if: you share a network or a machine, or you need a maintained tool. It is a one-person project with no tagged releases, and its Copilot route may conflict with GitHub's terms.

Source review

Using Relay in practice

Where it runs

Runs on your own computer. Requests go from the local proxy to whichever provider account is active.

How to install

Install Bun 1.2 or later, git and pnpm, then install Relay from GitHub. Add an account with relay account add, start the proxy with relay proxy start and point the agent at http://127.0.0.1:8787/api/anthropic or /api/openai/v1.

Install commands

pnpm install -g github:ImBIOS/relay

As published in the linked sources. Not run by us.

What it costs

Free under the MIT licence, with no paid tier. You pay for the provider accounts and subscriptions you connect.

Prices and plans change. Check the linked sources before committing.

Why consider it

  • Translates between Anthropic and OpenAI request formats, so one agent can use either kind of provider.
  • Switching or rotating accounts does not need an agent restart.

What to watch for

  • In the source we read, the proxy listens on all network interfaces unless RELAY_HOST is set, and its README says any string works as the key. Anyone who can reach port 8787 can use your accounts.
  • Provider keys are stored as plain JSON in your home folder.
  • Its GitHub Copilot route calls Copilot's internal endpoints with editor headers. Check GitHub's terms before using it.

A first task to try

Set RELAY_HOST=127.0.0.1, add one account, start the proxy, then send one short prompt from your agent and check which account answered.

Suggested exercise, not an installation test. We reviewed the linked documentation; no host compatibility is implied.

Other options to understand

Related tools can solve different parts of the same job. Compare fit before treating them as replacements.

Key facts

What we have checked

Days since the last commit
130
Checked GitHub
GitHub forks
0
Checked GitHub
GitHub stars
10
Checked GitHub
Open issues
1
Checked GitHub
Releases in the last 90 days
0
Checked GitHub

Each value shows when we last confirmed it and where it came from. Values we have not confirmed are left out, never guessed.

Stars and usage

How Relay is growing

GitHub stars

10 to 10

stars. 1 Oct 2026 to 6 Nov 2026, 3 readings.

Source: GitHub. Checked .

Health and security

Is Relay looked after, and what do its setup files show

Health score

35 out of 100

Does someone look after this repository? It does not say the code is good or safe. Worked out from GitHub signals checked . How it is worked out

PartPointsWhat we saw
Recent activity21 of 30Last push 130 days ago
Releases0 of 150 releases in 90 days
Issue repliesNot countedThe latest check has no issue response reading (fewer than 3 measured issues, or issues switched off)
Maintainer0 of 15Owned by a single user
Official sourceNot countedMCP servers only

Alternatives

Alternatives to Relay

RecordTypeHow we knowChecked
LiteLLMThis is an alternative to itOpen sourceNamed in the listingNot dated

Compare

Compare Relay side by side

Sources

Where this comes from

A source shows what was published when we checked it. It does not certify security, performance or a working installation. Read our method.

Changelog

What changed

No changes recorded yet. Releases, price changes and deprecations appear here, with their dates, once we track them for this record.

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.