3 ms·
Ask HN: Do LLM agents need a separate safety layer?
LLM agents are good at deciding. They are bad at knowing when to stop.
VERONICA is a failsafe state machine that sits between strategy engines and external systems. It provides:
- Per-entity circuit breakers (task A failure doesn't block task B)
- SAFE_MODE manual halt that persists across crashes
- Atomic state persistence (survives SIGKILL)
- Signal-aware graceful shutdown (SIGINT/SIGTERM)
- Zero dependencies (pure Python stdlib)
Strategy engines can be replaced. Safety layers cannot.
30-day deployment (0 downtime). 12 crash-recovery events handled (100% state recovery). Avg load: 1.003 ops/sec.
Validation: 2,600-second high-load test at 1000 ops/sec sustained (2.6M operations).
Install via GitHub:
`pip install git+https://github.com/amabito/veronica-core@v0.1.0`
Repository:
https://github.com/amabito/veronica-core
- amabito 8mo ago[dead]