Claude Proxyfor AgentRouter
Normalizes supported quota or rate-limit failures into HTTP 429 responses with Retry-After, allowing compatible clients to apply their normal retry behavior.
curl -sSL https://raw.githubusercontent.com/brainstormersia-cmd/agentrouter-autoretry-claudecode/main/install.py | python3One command. Downloads + configures + launches automatically. Python 3.8+. (Bash / Zsh)
Already installed?
python retry-proxy.py --update·--start--versionProxy──➔
──➔AgentRouter

Auto Retry
Recognizes supported temporary upstream failures and preserves the client’s retry workflow.
Keep going. Don't give up.
403↓429
403 → 429 Normalization
Converts recognized quota-style failures into 429 responses with Retry-After.
Smoother limits. Fewer breaks.
Local First
Runs locally and keeps proxy configuration under your control.
Private. Secure. Yours.
Works with your tools
View all guides →curl http://127.0.0.1:8787/v1/messages \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-5",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello!"}]
}'Built around reliability
Local First
Runs on your machine.
Retry-Aware
Preserves client retry logic.
Minimal Rewriting
Changes only what is necessary.
Open Source
Inspectable and configurable.
MIT Licensed • Pure Python Standard Library
