Agent Consensus and Drift Guard OS (Vol. 1): Divergence Detection, Bounded Circuit-Breaking, and Shadow Audit for Multi-Agent and LLM Pipelines
This technical guide and reproducible Python reference implementation (Volume 1, Core Foundation) introduces the Agent Consensus and Drift Guard OS for detecting inter-agent disagreement, uncertainty spikes, and step/loop drift in multi-agent and multi-step LLM pipelines before unsafe outputs propagate. Rather than relying solely on app-level prompts, Volume 1 places a bounded 4-state circuit breaker (PASS, RETRY, DEGRADE, TRIP) at the pipeline control layer alongside a drop-in CSV shadow mode auditor (run_consensus_guard_shadow_audit) and a 4-panel verification benchmark (120 steps, dt = 0.05 s, seed = 42). Included in Volume 1:- Composite risk scoring (compute_risk_score) and bounded 4-state circuit breaker policy (decide_circuit_action).- 120-step benchmark comparing Uncontrolled (peak risk 0.77, 16 unsafe steps >= 0.65), Warn-Only, and Guard OS (peak post-guard risk 0.429, 0 unsafe steps).- Drop-in CSV Shadow Mode Auditor (run_consensus_guard_shadow_audit) and 3-step deployment workflow. License & Commercial Inquiries:Released under a Non-Exclusive Open Research License for academic, evaluation, and non-commercial use. For commercial deployment, industrial integration, or licensing inquiries, please contact: [email protected]
Authors
- Shizuka Itou
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24705038
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00