Agentic SOC Lab
A lab for testing AI-driven alert triage, IOC enrichment, and response workflows — synthetic telemetry, scoped tools, and a replay harness for tuning agent behavior safely.
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.
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
- 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
Everything runs in an isolated sandbox; tools are scoped and rate-aware; every run is recorded for replay.
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.
Guardrails & controls
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.
Example workflow
Generate telemetry
Produce a labeled batch of synthetic alerts for the target alert classes.
Run the agent
The agent triages, enriches, and scores each alert through scoped tools.
Score
Compare agent output to labels; record accuracy and false-positive metrics.
Replay & tune
Replay failing sessions, adjust the agent, and re-measure.
Tech stack
- Language
- Python 3.12
- Agent
- LangChain · Claude
- SIEM
- Splunk (sandbox)
- Runtime
- Docker
- Eval
- Replay harness + labeled sets
Screenshots
Visual placeholders. Replace with real screenshots and a demo video.
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.
Future roadmap
- More alert-class generators (cloud, identity, OT).
- Built-in red-team prompt library with scoring.
- Exportable eval reports for stakeholder readouts.
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.