Problem

Problem statement

There is no safe place to evaluate whether an AI agent triages alerts well — production is too risky, and ad-hoc tests are not repeatable or measurable.

Stakes

Why it matters

Teams adopting AI in the SOC need evidence, not vibes. A lab gives repeatable evals, accuracy metrics per agent revision, and a controlled place to exercise red-team scenarios before anything touches production.

Threat Model

Threat model

  • Agents that look accurate on a demo but drift between revisions.
  • Unbounded tool access during experimentation.
  • Test data leaking real customer telemetry into prompts.
  • No baseline for false-positive containment risk.
Architecture

Architecture

Everything runs in an isolated sandbox; tools are scoped and rate-aware; every run is recorded for replay.

Features

Key features

  • Synthetic and sanitized telemetry generators per alert class.
  • Scoped tool surface with argument schemas.
  • Replay harness that re-runs sessions deterministically.
  • Accuracy, precision, and false-positive metrics per revision.
  • Red-team scenario library for triage manipulation.
Controls

Guardrails & controls

Sandbox isolationScoped tool surfaceReplayable evalsPer-revision metricsAudit logging
Testing

Test scenarios

  • Triage accuracy across phishing, malware, and suspicious-login alerts.
  • False-positive containment rate under noisy input.
  • Prompt-injection attempts inside synthetic alert bodies.
  • Tool-scope escalation attempts during enrichment.
Workflow

Example workflow

01

Generate telemetry

Produce a labeled batch of synthetic alerts for the target alert classes.

02

Run the agent

The agent triages, enriches, and scores each alert through scoped tools.

03

Score

Compare agent output to labels; record accuracy and false-positive metrics.

04

Replay & tune

Replay failing sessions, adjust the agent, and re-measure.

Stack

Tech stack

Language
Python 3.12
Agent
LangChain · Claude
SIEM
Splunk (sandbox)
Runtime
Docker
Eval
Replay harness + labeled sets
Visuals

Screenshots

Visual placeholders. Replace with real screenshots and a demo video.

UI · TRIAGE CONSOLE
DEMO · REPLAY METRICS
Lessons

Lessons learned

  • Labeled synthetic data is the bottleneck — invest there first.
  • Replay determinism matters more than raw accuracy for tuning.
  • Scope tools even in the lab; habits formed there carry to production.
Roadmap

Future roadmap

  • More alert-class generators (cloud, identity, OT).
  • Built-in red-team prompt library with scoring.
  • Exportable eval reports for stakeholder readouts.
Put this to work

Want this pattern in your stack?

This lab stands up a prototype across alert classes to measure agent quality, and it's open work — get in touch if you're building something similar or want to compare notes.