Pack 04 · Aevrix Studio v1

Multi-LLM Fallback Patterns.

"I'll just retry on failure" is not a strategy. Ten Cursor + Claude Code rules plus a working ~200-LOC reference router with adapters for Anthropic, OpenAI, Gemini, and OpenRouter — and a test suite.

$39 Personal $159 Commercial — entire legal entity
Pay $39 with Crypto Buy $39 with Card ↗ All packs

Five concrete outcomes

What's inside

10 enforceable .mdc rule files + bundled CLAUDE.md + working reference/llm_router.py (~200 LOC) with adapters for Anthropic, OpenAI, Gemini, and OpenRouter, plus reference/tests/test_llm_router.py.

01
provider-abstraction.mdc
Adapter pattern, capability map, unified interface.
02
adaptive-thinking-effort.mdc
Effort mapping across Anthropic / OpenAI / Gemini / Bedrock.
03
streaming-dual-path.mdc
Streaming + non-streaming with one call site.
04
tool-call-normalization.mdc
Unified tool-call shape across providers.
05
cost-aware-routing.mdc
Cheapest-first with cost-ceiling guard.
06
latency-aware-routing.mdc
P95 tracking, stickiness floor, jitter handling.
07
caching-layer.mdc
Exact + semantic cache, TTL discipline, invalidation.
08
retry-budgets.mdc
Circuit breakers, exhaustion classes, never-retry list.
09
provider-quirks.mdc
Concrete API differences with workarounds.
10
budget-observability.mdc
Usage logs, alert rules, daily kill-switch.
Cursor 0.45+Claude Code 1.xCline 3.xContinue 0.9.xPython 3.11+Anthropic · OpenAI · Gemini · OpenRouter

FAQ

Does this replace LiteLLM, Portkey, or OpenRouter?

No — it complements them. The rules describe correct routing behavior; the reference router shows how that behavior looks in code. You can apply the same patterns inside LiteLLM, Portkey, or your own router.

Are the adapters production-ready or just demos?

Production-ready in shape (proper streaming, tool-call normalization, error classification) — but the reference is intentionally readable, not optimized for every edge case. Treat it as a foundation you extend, not a black box.

Can I add a Bedrock adapter?

Yes — the provider-abstraction.mdc rule defines the contract. The Bedrock adapter is a 50-line addition that the rules will guide your agent to write correctly.

Personal vs Commercial?

Personal is one developer, unlimited Personal Projects. Commercial covers an entire legal entity, paid client work, internal forking. See LICENSE.

Updates and refunds?

Patch-level v1.x updates free for life of license. 14-day no-questions refund through Lemon Squeezy.

Available now

Instant download after payment. 14-day no-questions refund. Crypto via Cryptomus; card via Lemon Squeezy (Merchant of Record — handles VAT, receipts, and refunds).

Personal — $39
One developer · unlimited personal projects
Commercial — $159
Entire legal entity · products you sell
See the bundle