Agent documentation
This page is published from the agent repository. Edit on GitHub View source
How the agent works, with links into the code that implements each mechanism. Code comments state only the why or the invariant and link the matching section here, so when the code and a page disagree, fix the page in the same pull request.
Status at a glance: capabilities.md (what is built, partial or planned, with evidence) and roadmap.md (generated from it and the tracking issues). ATT&CK techniques with named detection content: attack-coverage.md.
Links and anchors in these pages are checked in CI by tools/check-docs.py.
Contributors
Start with the architecture, then the page for the area you are changing.
- architecture.md: binaries, crate map, dependency direction, where platform code lives.
- lifecycle.md: one event from sensor to upload, threads, queues, startup and shutdown per OS.
- schema.md: the event model, the sensor contract, schema versioning and golden fixtures.
- state-and-storage.md:
BoundedMapand the durable upload spool. - configuration.md:
agent.tomldiscovery and validation, the signed policy document, policy helpers. - redaction.md: raw for detection, redacted for output; the redaction functions and their limits.
- development.md: toolchains, building, testing, sibling checkouts, CI gates.
- local-interfaces.md: the local IPC channel,
cli, the JSONL outputs.
Sensors
- sensors/linux/README.md: map of the Linux sources and how the agent composes them.
- ebpf-probes.md: raw tracepoint router, BTF-patched offsets, maps, in-kernel filters, verifier rules.
- wire-format.md: the ring-buffer ABI and the variable-length exec record.
- userspace-loader.md: build, load and attach, the drain loop, normalization, loss.
- process-context.md: lineage, process generations, argv, parent image, containers.
- signals.md: signals to the agent and to security tools, the pinned
SIGKILLslot. - lsm.md: BPF-LSM
file_openandinode_setattr. - uprobes.md: TLS, readline,
getaddrinfoand UDP/53 capture. - audit-fallback.md: the
NETLINK_AUDITfallback and the SELinux AVC reader. - netlink.md:
sock_diag, conntrack, proc connector. - journal.md: sshd, PAM, sudo/su and systemd unit events from journald.
- service-logs.md: web access logs and the MySQL error log.
- procmem.md: process memory reads for YARA memory scanning.
- testing.md: unit, robustness, fuzz and live lab tests.
- sensors/windows/README.md: the four Windows sources and their silence heartbeats.
- etw.md: the ETW session, providers, threading, back-pressure, liveness.
- etw-enrichment.md: identity, paths, containers, mark-of-the-web, BITS, remote threads, LSASS.
- eventlog.md: Event Log poll targets, transports, audit policy.
- sockets.md: socket-table snapshots for LISTENER-DRIFT.
- minifilter.md: the file-system minifilter and its event channel.
- sensors/macos/README.md: the four macOS sources and why they use C shims.
- endpoint-security.md: the EndpointSecurity client.
- unified-log.md: sudo, TCC and Gatekeeper from
log stream. - sockets.md: libproc socket snapshots.
- network-extension.md: flows and DNS from the Network Extension.
Detection engineers
- detection/README.md: the engines, how the sink connects them, shared conventions.
- detection/rules.md: stateless and stateful rules,
RuleState, signature-gated findings. - detection/sigma.md: the supported Sigma subset and its load-time validation.
- detection/yara.md: file and process-memory scanning.
- detection/ioc.md: IOC feeds, matching and the own-traffic skip.
- detection/enrichment.md: hashes, signatures and PE version strings.
- detection/ml.md: on-device ML tiers, feature parity, scoring and attribution.
- detection/deception.md: canary files and decoy credentials.
- correlation.md: co-occurrence rules, the Bayesian belief, kill shields, verdict fusion.
- attack-coverage.md: ATT&CK techniques with named detection content (generated).
Operators
- security-model.md: trust boundaries, privileges per OS, signing keys, attack surface, what is not defended.
- self-protection.md: watchdog, hang and silence detection, integrity checks, release probation.
- response.md: kill, quarantine, escalation and isolation, and how to undo them.
- transport.md: the control-plane channel, spooling, retries and degraded behavior.
- updates-and-releases.md: signed releases, content rings, key rotation, rollback,
release-tool. - packaging.md: packages per OS, the bootstrap layout, the release workflow.
- release.md: cutting a release, the release PR, signing, the unsigned-alpha rule, every release secret.
- configuration.md: every
agent.tomlkey and environment override. - local-interfaces.md:
clicommands and the local output files. - capabilities.md and roadmap.md: what works today and what comes next.