Explainable AI for Counter-Strike 2 Match Intelligence
Analyze CS2 demos, reconstruct player behavior, generate explainable evidence and detect statistical anomalies using modern behavioral analytics.
Sentinel AI is an open-source behavioral analysis platform for Counter-Strike 2.
Unlike traditional anti-cheat systems, Sentinel never injects into the game, never reads process memory and never interferes with gameplay.
Instead it reconstructs an entire match from a demo file and performs explainable statistical analysis of player behavior.
The result is a transparent report describing why specific actions appear unusual instead of producing an opaque "cheater / not cheater" verdict.
Sentinel is not another anti-cheat.
It is a behavioral intelligence platform.
CS2 Demo
│
▼
World Reconstruction
│
▼
Feature Extraction
│
▼
Behavior Analysis
│
▼
Evidence Engine
│
▼
Explainable Report
- Source 2 parsing
- zstd compressed demos
- entity tracking
- round reconstruction
- event extraction
Sentinel rebuilds the entire match state.
✔ Players
✔ Teams
✔ Weapons
✔ Tick timeline
✔ Round information
✔ Event graph
Current implementation computes dozens of behavioral metrics including:
- Aim Velocity
- Hidden Tracking
- Rotation Justification
- Information Availability
- Solo Playstyle Index
- Team Proximity
- Trade Participation
- Utility Support
- Decision Timing
- Movement Statistics
Feature vectors are generated for every player across the entire match.
Instead of:
Player is cheating
Sentinel produces:
Round 18
Hidden Tracking
Visibility:
No
Audio:
No
Radar:
No
Tracking Duration:
1.42 seconds
Confidence:
92%
Every anomaly is backed by evidence.
Source2 Demo
│
▼
Demo Parser
│
▼
Entity Tracking
│
▼
Event Extraction
│
▼
World Reconstruction
│
▼
Feature Extraction
│
▼
Bayesian Analysis
│
▼
Evidence Engine
│
▼
HTML / JSON Report
✔ Source2 demo parsing
✔ Event extraction
✔ World reconstruction
✔ Feature engine
✔ Bayesian scoring
✔ Evidence generation
✔ HTML reports
✔ JSON reports
✔ CLI
✔ Dataset calibration
✔ Golden testing
✔ Statistical models
✔ Ensemble models
Match
Duration:
40 minutes
Ticks:
156,422
Players:
10
Events:
5,354
Feature vectors:
87,990
Evidence:
329/player
Player example
SV4RiC
Aim
0.119
Movement
0.192
Wall
0.369
Overall
0.225
Sentinel generates
- HTML Report
- JSON Report
The HTML report includes
- score visualization
- category breakdown
- evidence
- player comparison
- anomaly summaries
sentinel/
crates/
sentinel-core
sentinel-demo
sentinel-events
sentinel-world
sentinel-map
sentinel-geometry
sentinel-visibility
sentinel-features
sentinel-analysis
sentinel-evidence
sentinel-report
sentinel-cli
sentinel-ui
datasets/
docs/
examples/
tests/
assets/
Clone
git clone https://github.com/YOUR_NAME/sentinel.git
cd sentinelBuild
cargo build --releaseAnalyze
sentinel analyze match.demCalibration
sentinel calibrate calibration.jsonStatistics
sentinel stats vectors.jsonVerification
sentinel verifyreports/
match.html
match.json
Sentinel follows six core principles.
Same input.
Same output.
Always.
Every score must have evidence.
Every subsystem is an independent Rust crate.
Golden tests
Regression tests
Calibration datasets
Results can be reproduced across machines.
Designed for experimentation and statistical validation.
Typical Premier Match
Ticks
156,000+
Players
10
Events
5,000+
Feature vectors
80,000+
Analysis
<10 seconds
(depending on hardware)
Core Architecture
✅
Source2 Integration
✅
Behavior Analysis
✅
Evidence Engine
✅
Calibration
✅
Visibility Engine
🚧
Interactive Replay Viewer
🚧
Machine Learning Validation
🚧
Traditional anti-cheats answer:
Is there a cheat running?
Sentinel asks:
Does this player's behavior statistically deviate from legitimate gameplay?
That distinction enables transparent, reproducible, and explainable analysis.
Sentinel is a research and analytics platform.
It does not:
- inject into Counter-Strike 2
- modify gameplay
- bypass Valve Anti-Cheat
- inspect process memory
Anomaly scores are statistical indicators intended to assist analysis. They are not definitive proof of cheating.
Contributions are welcome.
Please read
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md
before opening a Pull Request.
MIT License
Valve
Rust Community
Open Source Contributors
Counter-Strike Community
Built with Rust.
Designed for explainable behavioral intelligence.
