PluginWorld
Ge

genpark-agent-adaptive-retry-circuit-breaker-skill

MCP

Enables agents to guard external API calls with circuit-breaker health checks, success/failure reporting, and recovery state inspection, including exponential backoff with jitter and fail-fast rejection.

@Alpha-Park · MIT License · updated today

SECURITY

B

SCORE

60

STARS

▲ 7

PLUG IN

git clone https://github.com/Alpha-Park/genpark-agent-adaptive-retry-circuit-breaker-skill.git

See the README to configure this MCP server

README

Adaptive Retry Circuit Breaker Skill for Autonomous Agents

MCP Compatible Python 3.9+ License: MIT Zero External Dependencies

Resilience and fault-tolerance engine protecting multi-agent pipelines from cascade outages, API rate limit exhaustion, and unstable external web services.

Core Features

  • Finite State Machine: Seamlessly manages CLOSED, OPEN, and HALF_OPEN states.
  • Exponential Backoff with Full Jitter: Prevents thundering herd problems when upstream APIs recover.
  • Fail-Fast Defense: Immediately rejects downstream requests when a service is degraded, preventing timeout latency spikes.

MCP Server Integration

python mcp_server.py

Available MCP Tools

  • check_execution_allowed: Query if a target service endpoint is healthy and requests are permitted.
  • report_result: Record success or failure to trigger state transitions.
  • get_breaker_state: Get current breaker status, failure metrics, and recovery timers.

SIMILAR PLUGINS