systemprompt-analytics 0.2.1

Analytics for systemprompt.io AI governance infrastructure. Session, agent, tool, and microdollar-precision cost attribution across the MCP governance pipeline.
Documentation
mod ai_provider;
mod anomaly_detection;
mod behavioral_detector;
pub mod bot_keywords;
pub mod detection;
mod extractor;
mod providers;
mod service;
mod session_cleanup;
mod throttle;
mod user_agent;

pub use ai_provider::AnalyticsAiSessionProvider;
pub use anomaly_detection::{
    AnomalyCheckResult, AnomalyDetectionService, AnomalyEvent, AnomalyLevel, AnomalyThresholdConfig,
};
pub use behavioral_detector::{
    BEHAVIORAL_BOT_THRESHOLD, BehavioralAnalysisInput, BehavioralAnalysisResult,
    BehavioralBotDetector, BehavioralSignal, SignalType,
};
pub use extractor::SessionAnalytics;
pub use service::{AnalyticsService, CreateAnalyticsSessionInput};
pub use session_cleanup::SessionCleanupService;
pub use throttle::{EscalationCriteria, ThrottleLevel, ThrottleService};