The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
docs: organize install docs by operating system
shukieshah9c6c5d5cef59
diff --git a/README.md b/README.mdindex cbded19c..6dd11c5d 100644--- a/README.md+++ b/README.md@@ -169,7 +169,7 @@ available for CLI installs across supported macOS/Linux architectures.Installing a Linux package performs the system-mode install itself: it registersand starts a systemd unit, writes configuration to `/etc/beacon/endpoint`, andpoints the installing user's agent runtimes at the local collector. See the-[Linux install guide](https://docs.asymptotelabs.ai/cli/endpoint-linux).+[Linux install guide](https://docs.asymptotelabs.ai/platforms/linux).| MDM platform | Support path || --- | --- |diff --git a/docs/cli/endpoint-install.mdx b/docs/cli/endpoint-install.mdxindex 197166f5..c52968d6 100644--- a/docs/cli/endpoint-install.mdx+++ b/docs/cli/endpoint-install.mdx@@ -7,7 +7,7 @@ description: "Install or update the local Beacon endpoint collector and runtime`beacon endpoint install` configures the local endpoint agent, writes the OpenTelemetry Collector configuration, installs the collector service, configures selected agent harnesses, and optionally adds Splunk HEC or Falcon LogScale HEC collector destinations.-The service is a launchd job on macOS and a systemd unit on Linux. Where neither is available, Beacon runs a supervised collector instead and says so. See [Linux install](/cli/endpoint-linux) for the Linux packages and the `--service` flag.+The service is a launchd job on macOS and a systemd unit on Linux. Where neither is available, Beacon runs a supervised collector instead and says so. See [macOS](/platforms/macos) or [Linux](/platforms/linux) for the platform setup, including the Linux packages and the `--service` flag.```bash title="Command syntax"beacon endpoint installdiff --git a/docs/cli/endpoint-paths.mdx b/docs/cli/endpoint-paths.mdxindex 7090fb52..5de56949 100644--- a/docs/cli/endpoint-paths.mdx+++ b/docs/cli/endpoint-paths.mdx@@ -26,7 +26,7 @@ what is actually running as PID 1, not at which tools are installed, so a contai| Platform | Service manager | System mode | User mode ||---|---|---|---|-| macOS | launchd | `/Library/LaunchDaemons/com.beacon.endpoint.collector.plist` | `~/Library/LaunchAgents/com.beacon.endpoint.collector.plist` |+| macOS | launchd | `/Library/LaunchDaemons/com.beacon.endpoint.collector.plist` | `~/Library/LaunchAgents/com.beacon.endpoint.collector.user.plist` || Linux | systemd | `/etc/systemd/system/beacon-collector.service` | `~/.config/systemd/user/beacon-collector.service` || Containers, no init | supervised | `/etc/beacon/endpoint/collector.pid` | `~/.beacon/endpoint/collector.pid` |diff --git a/docs/cli/install.mdx b/docs/cli/install.mdxindex 2c3532b9..b465612f 100644--- a/docs/cli/install.mdx+++ b/docs/cli/install.mdx@@ -3,6 +3,20 @@ title: "Install Beacon"description: "Install the Beacon CLI with Homebrew or platform archives"---+## Choose your platform++This page installs the **CLI**. Setting up the endpoint agent — the local collector that captures+agent activity — differs by operating system, so start with your platform:++<Columns cols={2}>+ <Card title="macOS" icon="apple" href="/platforms/macos">+ Homebrew for your own machine, or the signed `.pkg` for a managed fleet. launchd.+ </Card>+ <Card title="Linux" icon="linux" href="/platforms/linux">+ A `.deb` or `.rpm` that installs and starts the endpoint for you. systemd.+ </Card>+</Columns>+## HomebrewInstall the Beacon CLI with Homebrew:@@ -24,10 +38,13 @@ beacon version 0.0.66Beacon releases publish macOS and Linux archives for `amd64` and `arm64` alongside Homebrew builds. For archive-based installs or source builds, see [Manual CLI Installation](/cli/manual-install).-Apple Silicon endpoint package releases are attached to GitHub Releases as-signed, notarized, and stapled `.pkg` assets for MDM or manual system installs.-Use those package assets when you want `/opt/beacon`, the local collector-LaunchDaemon, and the bundled Vector forwarder helpers installed together.+Releases also attach native endpoint packages, which install the CLI, the collector, and the service+together rather than leaving you a second step:++| Platform | Package | Installs |+|---|---|---|+| macOS (Apple Silicon) | Signed, notarized, stapled `.pkg` | `/opt/beacon`, the collector LaunchDaemon, and the bundled Vector forwarder helpers |+| Linux (amd64, arm64) | `.deb` and `.rpm` | `/opt/beacon`, the `beacon-collector` systemd unit, and your agent runtime configuration |## Next stepsdiff --git a/docs/deployment/open-source.mdx b/docs/deployment/open-source.mdxindex 13ddaa52..d383a982 100644--- a/docs/deployment/open-source.mdx+++ b/docs/deployment/open-source.mdx@@ -31,6 +31,12 @@ beacon version 0.0.48## Configure endpoint telemetry+<Note>+ Setting up the endpoint differs by operating system. This section describes the per-user install,+ which works on both. For the platform detail — packages, service management, and fleet deployment —+ see [macOS](/platforms/macos) or [Linux](/platforms/linux).+</Note>+For most individual developer setups, continue with the default per-user endpoint install:```bash title="Configure endpoint telemetry"@@ -45,7 +51,7 @@ beacon endpoint install --harness claude,codex,gemini```<Note>- System-mode install (`--system`) is supported on macOS and on Linux distributions that use systemd. The default mode uses per-user paths; use `--system` as root for package or MDM deployments. On Linux, installing the `.deb` or `.rpm` does the system install for you — see [Linux install](/cli/endpoint-linux).+ System-mode install (`--system`) is supported on macOS and on Linux distributions that use systemd. The default mode uses per-user paths; use `--system` as root for package or MDM deployments. On Linux, installing the `.deb` or `.rpm` does the system install for you — see [Linux](/platforms/linux).</Note>Beacon records supported prompt, tool, command, file, approval, policy, and runtime context when the source runtime emits it. Before events are written to `runtime.jsonl` or sent through configured destinations, Beacon applies redaction, sanitization, truncation, and event-size limits.diff --git a/docs/docs.json b/docs/docs.jsonindex 5f46ebea..6aa99510 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -286,6 +286,14 @@"icon": "download","pages": ["cli/install",+ {+ "group": "Platforms",+ "icon": "laptop",+ "pages": [+ "platforms/macos",+ "platforms/linux"+ ]+ },"cli/upgrade","cli/manual-install"]@@ -329,7 +337,6 @@"root": "cli/endpoint","pages": ["cli/endpoint-install",- "cli/endpoint-linux","cli/endpoint-status","cli/endpoint-doctor","cli/endpoint-inventory",@@ -1321,6 +1328,10 @@{"source": "/beacon-sandbox","destination": "/contributing/beacon-sandbox"+ },+ {+ "source": "/cli/endpoint-linux",+ "destination": "/platforms/linux"}],"footer": {diff --git a/docs/get-started/quickstart-developers.mdx b/docs/get-started/quickstart-developers.mdxindex 2808e058..54a7d33d 100644--- a/docs/get-started/quickstart-developers.mdx+++ b/docs/get-started/quickstart-developers.mdx@@ -9,13 +9,26 @@ The developer setup uses per-user paths and writes endpoint events to `~/.beacon## 1. Install Beacon-```bash+<CodeGroup>+```bash title="macOS"brew tap asymptote-labs/tapbrew install beaconbeacon endpoint install```-See [Asymptote Open Source](/deployment/open-source) for install details and runtime-specific notes.+```bash title="Linux"+# Download the .deb or .rpm for your architecture from the latest release.+# Installing it performs the endpoint setup for you.+sudo apt install ./beacon_<version>_linux_amd64.deb+```+</CodeGroup>++On Linux the package installs a system-mode endpoint managed by systemd, so the paths differ from the+per-user layout described above — see [Linux](/platforms/linux). For a per-user Linux install instead,+run `beacon endpoint install` after installing the CLI.++See [Asymptote Open Source](/deployment/open-source) for install details and runtime-specific notes,+or [macOS](/platforms/macos) for the platform detail.## 2. Confirm collection healthdiff --git a/docs/get-started/quickstart-security-it.mdx b/docs/get-started/quickstart-security-it.mdxindex 47fc68a0..3eb3f032 100644--- a/docs/get-started/quickstart-security-it.mdx+++ b/docs/get-started/quickstart-security-it.mdx@@ -19,7 +19,11 @@ For the full comparison, see [Hosting Options](/deployment/hosting-options).## 2. Run a small open-source pilot-If you are starting local-first, pilot Beacon on a small macOS group before broad MDM deployment.+If you are starting local-first, pilot Beacon on a small group before broad deployment. The fleet+story differs by platform, so read the one you are rolling out to first:+[macOS](/platforms/macos) ships MDM assets for Jamf, Fleet, and Rippling;+[Linux](/platforms/linux) ships `.deb` and `.rpm` packages that install and start the endpoint+themselves.Decide three things up front:diff --git a/docs/cli/endpoint-linux.mdx b/docs/platforms/linux.mdxsimilarity index 74%rename from docs/cli/endpoint-linux.mdxrename to docs/platforms/linux.mdxindex adbbd89e..cdc2d2b2 100644--- a/docs/cli/endpoint-linux.mdx+++ b/docs/platforms/linux.mdx@@ -27,22 +27,83 @@ sudo dnf install ./beacon-<version>-linux-amd64.rpm`amd64` and `arm64` packages are published for both formats.-Then check it:+<Note>+ The package depends on systemd, because the service it registers is a systemd unit. On a+ distribution without systemd, install the CLI from the tarball and run `beacon endpoint install`+ without `--system`; see [Without systemd](#without-systemd).+</Note>++## Confirm it worked```bash title="Verify the install"beacon endpoint status --system-beacon endpoint doctor --system```-`status` should report the service as running with `kind: systemd`. `doctor` checks the whole chain —-unit, collector, config, log, harness settings — and prints the command to fix anything it finds.+```+Beacon Endpoint Agent 1.0.6+Config: /etc/beacon/endpoint/config.json+Runtime log: /var/log/beacon-agent/runtime.jsonl+Collector: grpc=true http=true+Service: loaded=true running=true+Harness: Claude Code telemetry=enabled+Last event: present+```++`beacon endpoint doctor --system` goes further, checking the whole chain — unit, collector, config,+log permissions, and each harness's settings — and printing the command to fix anything it finds.++On a fresh install it reports one warning, and it is not a problem:++```+Beacon endpoint doctor: warn+harness_observed: warn target=claude_code (telemetry is configured but no matching event has+ been observed yet) action="run Claude Code or beacon endpoint test-event"+Summary: 0 failure(s), 1 warning(s)+```++That says "configured correctly, but you have not used it yet." It clears the first time you run+your agent. What matters is `0 failure(s)`.++If you would rather confirm the pipeline before running a real session, write a synthetic event:++```bash title="Prove the collector is receiving and writing events"+sudo beacon endpoint test-event --system+```<Note>- The package depends on systemd, because the service it registers is a systemd unit. On a- distribution without systemd, install the CLI from the tarball and run `beacon endpoint install`- without `--system`; see [Without systemd](#without-systemd).+ Pass `--system` here. Without it the command targets the *user-mode* log under `~/.beacon`, which+ is not the log a system install writes to — so it would report success against the wrong file.</Note>+## Using it++Nothing to remember. Run your agent the way you normally do:++```bash+claude+```++Prompts, the commands the agent runs, files it reads and writes, token counts and cost, approvals+and denials all land in `/var/log/beacon-agent/runtime.jsonl` — one JSON object per line. Two+independent paths feed it, which is why a gap in one still leaves you with data:++| Path | Carries |+|---|---|+| OpenTelemetry | Prompts, tool calls, token usage, cost — via `OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4317` in your agent settings |+| Hooks | Session start and end, tool use, permission requests, subagent activity, reasoning |++Both are loopback-only. Nothing leaves the machine.++From there:++```bash title="Look at what was captured"+beacon endpoint dashboard # local web view of sessions, timelines, and event detail+beacon scan # run threat detection rules over the log+beacon token-usage # token and cost rollups+```++See the [event schema](/telemetry-schema/event-schema) for the full field reference.+## What the install does| Step | Result |@@ -200,4 +261,10 @@ sudo beacon endpoint uninstall --system<Card title="Endpoint doctor" icon="stethoscope" href="/cli/endpoint-doctor">Diagnose and repair an existing install.</Card>+ <Card title="Local dashboard" icon="chart-line" href="/cli/dashboard">+ Browse captured sessions, timelines, and event detail locally.+ </Card>+ <Card title="Threat detection" icon="shield-halved" href="/cli/scan">+ Run the open threat rules over your runtime log, offline.+ </Card></Columns>diff --git a/docs/platforms/macos.mdx b/docs/platforms/macos.mdxnew file mode 100644index 00000000..0be8e825--- /dev/null+++ b/docs/platforms/macos.mdx@@ -0,0 +1,140 @@+---+title: "macOS"+description: "Install the Beacon endpoint on macOS with Homebrew or the signed package, and understand how the launchd service is managed"+---++Beacon runs a local collector on your machine, points your agent runtimes at it, and writes+normalized events to a JSONL log you own. On macOS the collector runs as a launchd job.++There are two ways in, and which one you want depends on whether you are setting up your own machine+or a fleet.++## Your own machine++```bash title="Install the CLI, then the endpoint"+brew tap asymptote-labs/tap+brew install beacon+beacon endpoint install+```++`beacon endpoint install` with no flags is a **user-mode** install: everything lives under+`~/.beacon/endpoint`, the launchd job is a LaunchAgent in your own domain, and nothing needs root.+That is the right choice for a single developer.++Then confirm it:++```bash title="Verify"+beacon endpoint status+beacon endpoint doctor+```++On a fresh install `doctor` reports one warning — `harness_observed`, saying telemetry is configured+but no matching event has been seen yet. That is not a problem; it clears the first time you run your+agent. What matters is `0 failure(s)`.++## A managed fleet++For deployment across machines, use the signed, notarized, and stapled `.pkg` attached to each+release. Installing it performs a **system-mode** install: configuration under+`/Library/Application Support/Beacon/Endpoint`, a LaunchDaemon, and the runtime log at+`/var/log/beacon-agent/runtime.jsonl`.++The package also configures the console user's agent runtime, because a system endpoint runs as root+and the collector is useless if nothing is exporting to it.++<Columns cols={2}>+ <Card title="Jamf Pro" icon="screwdriver-wrench" href="/mdm/jamf">+ Package deployment, policy scripts, validation, and Extension Attributes.+ </Card>+ <Card title="Fleet" icon="screwdriver-wrench" href="/mdm/fleet">+ Package and user-context deployment helpers.+ </Card>+ <Card title="Rippling" icon="screwdriver-wrench" href="/mdm/rippling">+ Package deployment through Rippling MDM.+ </Card>+ <Card title="All MDM options" icon="list" href="/mdm">+ Compare the supported management paths.+ </Card>+</Columns>++## Managing the service++The collector is an ordinary launchd job:++```bash title="User mode"+launchctl print "gui/$(id -u)/com.beacon.endpoint.collector.user"+```++```bash title="System mode"+sudo launchctl print system/com.beacon.endpoint.collector+```++`KeepAlive` restarts the collector if it exits and `RunAtLoad` starts it at login or boot. Both are+set by the install; you do not configure them.++If the job or its plist is missing or broken, repair it without reinstalling:++```bash title="Repair"+beacon endpoint doctor --fix+```++## What is macOS-specific++Most of Beacon behaves identically everywhere — the event schema, the collector, hooks, the+dashboard, threat detection. These are the parts that do not:++| Area | On macOS |+|---|---|+| Service manager | launchd — a LaunchAgent in user mode, a LaunchDaemon in system mode |+| System config | `/Library/Application Support/Beacon/Endpoint` |+| Service definition | `~/Library/LaunchAgents/com.beacon.endpoint.collector.user.plist`, or `/Library/LaunchDaemons/com.beacon.endpoint.collector.plist` |+| Package | Signed, notarized, and stapled `.pkg`, Apple Silicon |+| Update verification | SHA-256 **plus** Apple notarization |+| Fleet management | Jamf, Fleet, and Rippling assets ship in the package |+| Log forwarding helpers | Bundled Vector helpers for Falcon, S3, and GCS |++Two of those have no Linux equivalent and are worth knowing if you run a mixed fleet: notarization+gives macOS an OS-level authenticity check that Linux has no counterpart for, and the MDM assets are+macOS-only. See [Linux](/platforms/linux) for how that platform differs.++## Updates++Upgrade the CLI with Homebrew, or let Beacon update a package install in place:++```bash title="Update in place"+sudo beacon endpoint update --check+sudo beacon endpoint update --apply+```++`--apply` downloads the release package, verifies its SHA-256 **and** its Apple notarization,+installs it, restarts the collector, and rolls back if the new version fails its health check. The+command reports which verification it performed, so a mixed fleet can tell the two platforms apart:+macOS gets `sha256+notarization`, Linux gets `sha256` because there is no OS-level equivalent.++`--apply` requires a package install. A Homebrew install is upgraded with `brew upgrade beacon`.++## Uninstall++```bash title="Remove the endpoint"+beacon endpoint uninstall # user mode+sudo beacon endpoint uninstall --system+```++`--keep-logs` and `--keep-config` are available if you want to keep either.++## Related++<Columns cols={2}>+ <Card title="Endpoint install" icon="download" href="/cli/endpoint-install">+ All install flags, harness selection, and hook installation.+ </Card>+ <Card title="Endpoint paths and ports" icon="folder-tree" href="/cli/endpoint-paths">+ Where Beacon writes config, logs, and service definitions on each platform.+ </Card>+ <Card title="Endpoint status" icon="circle-info" href="/cli/endpoint-status">+ Inspect collector health, runtime log state, harnesses, and diagnostics.+ </Card>+ <Card title="Local dashboard" icon="chart-line" href="/cli/dashboard">+ Browse captured sessions, timelines, and event detail locally.+ </Card>+</Columns>