lpalbou

AIRelays — Communication skill for Claude Code

Communication community

Independent OpenAI-compatible local relay for your own ChatGPT and Claude subscriptions: one standard /v1 API (chat completions, responses), multi-account balancing with automatic failover and retry.

How to install AIRelays

This entry records only its repository, not the path inside it, so there is no exact command to give. Open lpalbou/AIRelays and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AIRelays does

Independent OpenAI-compatible local relay for your own ChatGPT and Claude subscriptions: one standard /v1 API (chat completions, responses), multi-account balancing with automatic failover and retry, and a cross-platform desktop app. Single-user personal use; not affiliated with any provider.

Alternatives in Communication

README

AIRelays

`AIRelays` is a local OpenAI-compatible HTTP server with provider-scoped runtimes.

  • The default runtime uses an AIRelays-owned ChatGPT subscription login.
  • The Claude runtime balances your own subscription accounts through AIRelays-owned local claude CLI profiles; your personal Claude Code sign-in is never used or changed.
  • AIRelays protects the relay with its own bearer token by default.
  • Traffic is logged to JSONL files with automatic rotation and retention (7 days, 1 GiB total by default).

Independence And Intended Use

  • AIRelays is an independent third-party project. It is not affiliated with, endorsed by, or sponsored by any provider.
  • Provider and product names are used only to describe compatibility targets and upstream behavior.
  • AIRelays is designed for a single user running a local relay for personal convenience.
  • AIRelays is not presented as a shared, pooled, multi-user, or resale service.
  • The Claude runtime is local-only and not presented as a sanctioned provider integration path.
  • Personal, local, or noncommercial use does not by itself establish provider permission. You are responsible for checking that your access methods, automation, credential handling, and workloads comply with the applicable terms. AIRelays does not certify compliance; unauthorized use may lead to account suspension or termination, and relay compatibility may stop working without notice.

See [DISCLAIMER.md](DISCLAIMER.md) — it links the official Anthropic and OpenAI terms and policy pages to review.

Install

AIRelays ships two ways; both drive the same relay and share the same config (`~/.config/airelays`) and data (`~/.airelays`).

Headless relay and CLI (macOS, Linux)

For servers, SSH sessions, Intel Macs, or terminal-first workflows, install the `airelays` command with one line:

curl -fsSL https://raw.githubusercontent.com/lpalbou/AIRelays/main/scripts/install-headless.sh | bash

The script installs the newest PyPI release in