Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions agentwatch/circuit_breaker/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"""Active circuit breaker for AgentWatch.

Provides a CLOSED -> OPEN -> PAUSED -> HALF_OPEN -> CLOSED state machine that
watches agent execution for threshold breaches (tokens, errors, hallucinations),
can safely pause and resume an agent by checkpointing its state through the
existing rollback engine, and records every transition for EU AI Act Article 12
record-keeping through the existing governance package.
"""

from agentwatch.circuit_breaker.breaker import (
CircuitBreaker,
CircuitState,
TransitionRecord,
TripReason,
)
from agentwatch.circuit_breaker.thresholds import CircuitThresholds

__all__ = [
"CircuitBreaker",
"CircuitState",
"TripReason",
"TransitionRecord",
"CircuitThresholds",
]
Loading
Loading