SmartHome Video Anomaly Benchmark
Benchmark suite evaluating VLM models on video anomaly detection across 7 smart home categories — based on the SmartHome-Bench dataset (1,203 YouTube smart home camera clips).
Key differentiator from HomeSec-Bench: This benchmark requires video understanding (multi-frame sampling), not single-frame analysis.
Setup
Requires npm install + system dependencies. The deployment agent should:
- Check for
yt-dlpandffmpegin PATH - Run
npm installin the skill directory
Entry script: scripts/run-benchmark.cjs
Verification
node scripts/run-benchmark.cjs --help
Quick Start
As an Aegis Skill (automatic)
When spawned by Aegis, configuration is injected via environment variables. The benchmark downloads video clips, samples frames, evaluates with VLM, and generates an HTML report.
Standalone
# Run with local VLM (subset mode, 50 videos)
node scripts/run-benchmark.cjs --vlm http://localhost:5405
# Quick test with 10 videos
node scripts/run-benchmark.cjs --vlm http://localhost:5405 --max-videos 10
# Full benchmark (all curated clips)
node scripts/run-benchmark.cjs --vlm http://localhost:5405 --mode full
# Filter by category
node scripts/run-benchmark.cjs --vlm http://localhost:5405 --categories "Wildlife,Security"
# Skip download (re-evaluate cached videos)
node scripts/run-benchmark.cjs --vlm http://localhost:5405 --skip-download
# Skip report auto-open
node scripts/run-benchmark.cjs --vlm http://localhost:5405 --no-open
Configuration
Environment Variables (set by Aegis)
| Variable | Default | Description |
|----------|---------|-------------|
| AEGIS_VLM_URL | (required) | VLM server base URL |
| AEGIS_VLM_MODEL | — | Loaded VLM model ID |
| AEGIS_SKILL_ID | — | Skill identifier (enables skill mode) |
| AEGIS_SKILL_PARAMS | {} | JSON params from skill config |
Note: This is a VLM-only benchmark. An LLM gateway is not required.