Alex connects terminal harnesses on the left to LLM providers on the right through one local proxy
Alex Local LLM control plane
Stable curl -fsSL https://raw.githubusercontent.com/madhavajay/alex/main/install-release.sh | sh
Beta curl -fsSL https://raw.githubusercontent.com/madhavajay/alex/main/install-beta.sh | sh
GitHub repository
Middleware failover

Sick of Fable refusing?

Keep the same session moving when a model hits a guardrail.

Get Alex

How does it work?

  • Alex lets you configure multiple token providers.

    ClaudeCodexGeminiGrokKimiOpenRouterExoAmp
  • Alex can run custom middleware to reroute your session to meet your needs.

    Alex middleware configuration
  • The future is multi-provider, multi-modal: MoA — Mixture of Agents.

    MoAFable-5GPT-5.6K3
Built for real agent sessions

Problems Alex fixes

Problem Fable 5 guardrails kill your session.

Solution Alex can transparently switch to GPT-5.6 Sol, or fork the session into another harness or model.

PiClaudeCodexGrok

Problem Your subscription logs out mid-run.

Solution Alex pings you on Telegram to re-auth from your phone and can reroute traffic until it reconnects.

AnthropicOpenAIGeminiGrok

Problem You cannot use your Anthropic subscription from other harnesses.

Solution Alex routes through Dario so requests match Anthropic’s expected wire format.

PiCodexClaudeOpenCode

Problem You hit five-hour or weekly limits and start juggling accounts.

Solution Alex bonds multiple subscriptions and fails over automatically.

Account 1Account 2Account 3

Problem You cannot see what agents and subagents are really doing.

Solution Alex shows every message, tool call, response, and subagent as one readable chat thread.

ClaudeCodexPiAmpCursor
Active Development

Help make Alex.

Alex is open source. Come help make Alex on GitHub — issues, PRs, and help wanted.

Three commands

How it works

Install Alex

Terminal
curl -fsSL https://raw.githubusercontent.com/madhavajay/alex/main/install-release.sh | sh

Then follow the setup wizard

Alex onboarding wizard

Add your subscriptions

CLI
alex auth import

Connect a harness

CLI
alex connect pi
# pi | claude | codex | grok | amp | cursor

Run a harness

CLI
alex wrap claude
# or another connected harness

Then use

/model alex/*