Install
openclaw skills install supervision-layerWrap every tool call with timeouts, circuit breakers, audit logging, and crash loop protection. Enforcement the agent cannot bypass.
openclaw skills install supervision-layerStop trusting agents to police themselves. Supervision Layer wraps every tool call in timeouts, circuit breakers, and audit logs — enforcement the agent cannot bypass.
| Without Supervision | With Supervision | |
|---|---|---|
| Runaway calls | Agent loops infinitely on a failing API | Circuit breaker trips after 3 failures |
| Stuck sessions | Tool hangs silently, agent waits forever | Timeout kills it after 30s |
| Audit trail | No record of what happened | Every call logged with timestamp, outcome, cost |
| Crash loops | Subagent restarts infinitely | After 3 crashes, marked permanently failed |
from supervision import get_supervisor
supervisor = get_supervisor()
result = await supervisor.execute(
tool="web_fetch",
fn=fetch_fn,
agent_id="worker-1",
session_id="sess-abc",
)
cd scripts/ && python -m pytest test_supervision.py -v
58 tests. 0 external dependencies. Works with any async Python project.
MIT