genpark-llm-gateway-fallback-circuit-breaker-skill

mcp
Security Audit
Warn
Health Warn
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 8 GitHub stars
Code Pass
  • Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

GenPark AI Agent Skill - Autonomous LLM gateway fallback router, error exponential backoff, and health check circuit breaker.

README.md

GenPark AI Agent Skill - LLM Gateway Fallback Circuit Breaker

GenPark Verified
Protocol
License

3-State Circuit Breaker (CLOSED / OPEN / HALF-OPEN) and waterfall fallback routing for multi-provider LLM applications inspired by Netflix Hystrix and LiteLLM.

stateDiagram-v2
    [*] --> CLOSED
    CLOSED --> OPEN: Failures >= Threshold
    OPEN --> HALF_OPEN: Recovery Timeout Expired
    HALF_OPEN --> CLOSED: Consecutive Successes >= 2
    HALF_OPEN --> OPEN: Any Failure

Features

  • 3-State Circuit Breaker: Prevents hammering degraded API endpoints.
  • Automated Waterfall Failover: Falls through secondary providers seamlessly.
  • Zero External Dependencies: Pure Python 3.9+ standard library.

Quickstart

from client import LLMGatewayCircuitBreakerClient

gateway = LLMGatewayCircuitBreakerClient()
res = gateway.execute_with_failover(["primary", "backup"], caller_func)

Ecosystem & Citations

Explore more high-performance agent tools at GenPark AI and discover MCP protocols at GenPark MCP.

Reviews (0)

No results found