Home Security AI Benchmark
Comprehensive benchmark suite evaluating LLM and VLM models on 143 tests across 16 suites — context preprocessing, tool use, security classification, prompt injection resistance, alert routing, knowledge injection, VLM-to-alert triage, and scene analysis.
Setup
Requires npm install. This skill has a package.json with dependencies (e.g. openai SDK). The deployment agent should check for package.json and run npm install in the skill directory before launching.
Entry script: scripts/run-benchmark.cjs
Verification
node scripts/run-benchmark.cjs --help
Quick Start
As an Aegis Skill (automatic)
When spawned by Aegis, all configuration is injected via environment variables. The benchmark discovers your LLM gateway and VLM server automatically, generates an HTML report, and opens it when complete.
Standalone
# LLM-only (VLM tests skipped)
node scripts/run-benchmark.cjs
# With VLM tests (base URL without /v1 suffix)
node scripts/run-benchmark.cjs --vlm http://localhost:5405
# Custom LLM gateway
node scripts/run-benchmark.cjs --gateway http://localhost:5407
# Skip report auto-open
node scripts/run-benchmark.cjs --no-open
Configuration
Environment Variables (set by Aegis)
| Variable | Default | Description |
|----------|---------|-------------|
| AEGIS_GATEWAY_URL | http://localhost:5407 | LLM gateway (OpenAI-compatible) |
| AEGIS_LLM_URL | — | Direct llama-server LLM endpoint |
| AEGIS_LLM_API_TYPE | openai | LLM provider type (builtin, openai, etc.) |
| AEGIS_LLM_MODEL | — | LLM model name |
| AEGIS_LLM_API_KEY | — | API key for cloud LLM providers |
| AEGIS_LLM_BASE_URL | — | Cloud provider base URL (e.g. https://api.openai.com/v1) |
| AEGIS_VLM_URL | (disabled) | 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: URLs should be base URLs (e.g.
http://localhost:5405). The benchmark appends/v1/chat/completionsautomatically. Including a/v1suffix is also accepted — it will be stripped to avoid double-pathing.