Expand description
Pattern detection with sequence analysis and ML feature engineering.
Analyzes tool call sequences to detect patterns, anomalies, and trends.
Events are capped at MAX_EVENTS to prevent unbounded memory growth.
Analysis is amortized: patterns are recomputed every ANALYZE_INTERVAL events.
Structsยง
- Detected
Pattern - A detected pattern in tool call sequences.
- Pattern
Detector - Pattern detector using sequence analysis.
- Tool
Event - A single tool call event.