Repository navigation
Releases
Releases · nambean/Pygg
Pygg 0.1.0-dev.1 (developer preview)
Developer preview. Pygg is a local gateway for coding agents (Claude Code, Codex, OpenCode and any OpenAI- or Anthropic-format client) on Windows. It sends each request to the providers you connect, moves on to the next one when a provider is out of quota or failing, and keeps every request priced in a ledger on your computer.
Download
Pygg_0.1.0_x64-setup.exe: the installer for Windows 10 and 11 (x64). It installs for the current user, with no administrator rights needed.Pygg_0.1.0_x64_en-US.msi: the same app as an MSI, for managed installs.- The command line:
npm install -g @pygg/cli@dev(npm), for Windows and Linux.
The builds are not code-signed, so Windows SmartScreen warns on first run: choose More info → Run anyway. Check the download against SHA256SUMS.txt.
In this build
- Gateway on
127.0.0.1:8741:autoandauto/cheaprouting across connections;- combos, tried in order or cheapest first;
- fallback before any byte reaches the client, with cool-downs on 401, 402, 429 and 5xx;
- session affinity;
- budgets and limits per client key;
- a journal written before each request is sent, so the ledger stays complete.
- Key rings: several accounts' API keys on one connection, used in order, in turn, least used today first, or by the quota each key has left. A refused key is cooled or blocked, and the next key is tried within the same request.
- Web sessions behind a guard: per-site pacing, no bursts, limits on prompt size, longer rests after a site's own warnings, and stricter limits for DeepSeek.
- Desktop app:
- Providers with health checks;
- Usage with costs, requests, tokens and every attempt;
- one-click setup for Claude Code, Codex and OpenCode;
- combo editor with model search;
- layouts checked at Windows text sizes up to 150 %.
- Installer: branded pages and a short animation of how the gateway works.
Not for unattended or financially critical use yet: limits rest on providers' prices and token estimates. Smart Tasks are experimental and on hold.