Expand description
Detection — loop and convergence detection for agent loops.
loop_detector— Detects repetitive tool-use patterns and enforces limits.convergence— Detects when agent responses become semantically similar.manager— UnifiedDetectionManagerthat orchestrates both detectors.
For capability traits and the runtime bundle, see crate::runtime.
Re-exports§
pub use convergence::ConvergenceAction;pub use convergence::ConvergenceConfig;pub use convergence::ConvergenceConfigError;pub use convergence::ConvergenceDetector;pub use convergence::ConvergenceStatus;pub use loop_detector::LoopDetector;pub use loop_detector::LoopDetectorConfig;pub use loop_detector::LoopStatus;pub use loop_detector::NoOpToolSignature;pub use loop_detector::Operation;pub use loop_detector::ToolSignature;pub use loop_detector::global_detector;pub use loop_detector::hash_result;pub use manager::DetectedPattern;pub use manager::DetectionConfig;pub use manager::DetectionManager;pub use manager::DetectionStats;
Modules§
- convergence
- Convergence detection for agent loops.
- loop_
detector - Loop detection for agent operations — prevents infinite repetition.
- manager
- Detection manager — loop and convergence detection for agent behavior.