Overview
Understanding how Superline Agent Detection works
Agent Detection Overview
Superline Agent Detection provides real-time detection of AI agents in browser sessions using metadata and behavioral patterns. This page provides an overview of how the library works and its key components.
How It Works
Feature Extraction
The library extracts features from browser metadata and user behavior (mouse movements, keyboard patterns, scroll behavior, clicks)
Data Processing
Extracted features are processed through standardization, normalization, and one-hot encoding where appropriate
Model Scoring
A logistic regression model analyzes the processed features to calculate a detection probability
Classification
The probability value is compared to a threshold to classify the session as human or AI agent
Key Components
Detection Result
When you call AgentDetector.finalizeDetection()
or AgentDetector.getCurrentDetectionResult()
, you receive a detection result with the following structure: