Adaptive Retry Circuit Breaker Skill
by alphaparkinc
README.md
# Adaptive Retry Circuit Breaker Skill for Autonomous Agents
[](https://modelcontextprotocol.io)
[](https://www.python.org/)
[](LICENSE)
[](requirements.txt)
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
```bash
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.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues