Core Features
Circuit Breaker
Automatically stop runaway agents and prevent cascading failures with intelligent circuit breakers.
How It Works
The circuit breaker monitors agent behavior and automatically trips when anomalies are detected, preventing runaway costs, infinite loops, or cascading failures.
Normal operation, requests flow through
Tripped, all requests blocked
Testing recovery, limited requests
Configuration
Configure circuit breaker thresholds per agent or globally:
Trip Triggers
Circuit breakers can trip based on multiple conditions:
Error Rate
Too many consecutive failures or high failure percentage
Latency
Response times consistently exceeding thresholds
Cost Anomaly
Spending rate significantly above baseline
Token Usage
Token consumption exceeding limits
Loop Detection
Repetitive patterns indicating infinite loops
Checking Circuit Status
Webhook Notifications
Receive notifications when circuit breakers change state:
Important: When a circuit breaker trips, all requests to that agent are immediately blocked until manual reset or automatic recovery.