@agent-inspect/circuit
v6.7.3
Published
Local circuit-breaker analyzers for AgentInspect trace patterns
Downloads
6,012
Readme
@agent-inspect/circuit
Deterministic analyzers for loops, retries, stalls, and timeouts in traces.
Support level: Supported — see SUPPORT-LEVELS.md.
When to use
- Detect agent loops or excessive retries locally
- Complement CLI
--detect-stalls/ check rules
When not to use
- Live circuit breaking in production traffic (this analyzes traces)
- Remote APM
Install
npm install @agent-inspect/circuitExample
import { runCircuits } from "@agent-inspect/circuit";
const result = runCircuits({ events });Privacy
- Local analysis only
API
Circuit/loop analysis helpers (see package exports).
CLI
npx agent-inspect check --detect-stalls
Docs
Version
Part of the fixed AgentInspect release line. See the npm badge / package manifest for the current version.
License
MIT
