Overview
Beacon detections are threat rules for AI-agent telemetry. They read normalized endpoint events, evaluate rule conditions over those events, and emit findings that explain which rule fired, why it fired, and which events were involved. The detection format is open and lives in the Agent Beacon repository. Rules are YAML documents with CEL match expressions, metadata, and embedded test fixtures. The detection engine ships with the Beacon CLI, while rule packs can be managed separately from the binary.What Detections Look For
Detections focus on risky agent behavior that is hard to understand from one raw log line alone:- commands that suggest network egress, credential access, or destructive activity
- file reads or edits involving sensitive paths
- MCP and tool activity that crosses expected boundaries
- approval, policy, or enforcement outcomes that should be reviewed
- sequences of events within the same agent session, such as reading a secret and then making an outbound request
Detection Flow
- A supported agent harness emits runtime telemetry.
- Beacon normalizes that telemetry into endpoint events and writes
runtime.jsonl. beacon scanloads the active rule set from an explicit rules directory, the local rule store, or the built-in baseline.- Each rule is decoded, validated, and compiled before it runs.
- The scan evaluates rules against the ordered event stream.
- Matching rules produce findings with rule metadata, severity, reason, session context, and evidence events.
beacon scan or inspect it in the loopback-only endpoint dashboard. The dashboard Detections view lists active rules, while the Findings view runs those rules over the configured runtime log on demand.
Rules And Findings
A rule is the durable detection definition. It contains anid, title, severity, CEL logic, and test fixtures that prove the expected behavior.
A finding is the runtime result of a rule firing. Findings include the rule identity, severity, emitted reason, matched session when available, and the event evidence that caused the match.
Single-event rule shape
Rule Sources
Beacon can run detections from three sources:- an explicit directory passed to
beacon scan --rules - the local endpoint rule store managed by
beacon rules - the built-in baseline when no local store is installed
beacon rules pull action.
Read Next
YAML Schema
Learn the fields used by Beacon threat-rule YAML files.
Detection Standard
Understand the threat-rules/v1 standard, maturity ladder, and conformance model.
Detection Engine
See how rules are loaded, compiled, evaluated, and turned into findings.
beacon scan
Run active rules over local endpoint telemetry.
Endpoint dashboard
Browse active detections and findings in the local dashboard.
Related
Endpoint Event Schema
Review the normalized JSON fields that detections evaluate.
beacon rules
Manage, install, lint, and inspect local detection rules.

