Skip to content
Documentation

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: BoundedMap and the durable upload spool.
  • configuration.md: agent.toml discovery 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

Detection engineers

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.toml key and environment override.
  • local-interfaces.md: cli commands and the local output files.
  • capabilities.md and roadmap.md: what works today and what comes next.