Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

docs: close the gaps in browser extension coverage

shukieshah0c5a96cdc1b0
diff --git a/README.md b/README.md
index 3c15c62f..8801b60a 100644
--- a/README.md
+++ b/README.md
@@ -54,8 +54,9 @@ paths under customer control.
<img src="images/beacon-architecture.png" alt="Beacon endpoint architecture" width="860">
</p>
-- **Agent runtime layer:** Hooks, OpenTelemetry sources, CI wrappers, and SDKs
- capture supported activity from AI agent harnesses wherever they run.
+- **Agent runtime layer:** Hooks, OpenTelemetry sources, CI wrappers, SDKs, and an
+ optional browser extension capture supported activity from AI agent harnesses
+ wherever they run, including chat on Claude.ai and ChatGPT.
- **Beacon endpoint layer:** Local processing normalizes events, applies
retention and redaction settings, and writes durable endpoint telemetry.
- **Output layer:** Teams inspect events in the local dashboard, retain JSONL,
@@ -106,8 +107,8 @@ CI, and cloud surfaces.
| Agent harness | Collection path | Telemetry coverage |
| --- | --- | --- |
-| [Claude.ai](https://docs.asymptotelabs.ai/runtimes/browser-extension) | Managed browser extension over local OTLP | Prompt, assistant response, tool call, and token usage telemetry from the claude.ai chat stream |
-| [ChatGPT](https://docs.asymptotelabs.ai/runtimes/browser-extension) | Managed browser extension over local OTLP | Prompt, assistant response, and tool call telemetry from the chatgpt.com chat stream |
+| [Claude.ai](https://docs.asymptotelabs.ai/runtimes/browser-extension) (beta) | Managed browser extension over local OTLP | Prompt, assistant response, tool call, and token usage telemetry from the claude.ai chat stream |
+| [ChatGPT](https://docs.asymptotelabs.ai/runtimes/browser-extension) (beta) | Managed browser extension over local OTLP | Prompt, assistant response, and tool call telemetry from the chatgpt.com chat stream |
The optional Chrome MV3 extension in [`browser-extension/`](browser-extension/) posts OTLP GenAI
logs to the collector already listening on `http://127.0.0.1:4318/v1/logs`, so browser chat lands in
@@ -332,6 +333,21 @@ go run ./cmd/beacon-sandbox run --scenario s02-bash-command
See [Verify Beacon In A Sandbox](https://docs.asymptotelabs.ai/contributing/beacon-sandbox)
for setup, what it can verify, and its limitations.
+The browser extension is a separate, optional component that builds on its own. It
+needs a running Beacon endpoint to post to, and its test suite replays recorded
+chat streams through the real extension in headless Chromium, so it needs no login
+and no network:
+
+```bash
+cd browser-extension
+npm ci
+npm run build # load dist/ unpacked in Chrome
+npm test # replay e2e
+```
+
+See [`browser-extension/README.md`](browser-extension/) for what it captures and
+what it retains.
+
For setup, deployment, integrations, and command details, see the
[Beacon CLI docs](https://docs.asymptotelabs.ai).
diff --git a/browser-extension/README.md b/browser-extension/README.md
index 85ba7f29..ad9b2c6c 100644
--- a/browser-extension/README.md
+++ b/browser-extension/README.md
@@ -89,8 +89,28 @@ npm run report # open the last HTML report
## Loading the extension in your own browser
-`npm run build`, then in Chrome → Extensions → Developer mode → **Load unpacked** → select `dist/`.
-Make sure the beacon endpoint agent is running (it provides the `127.0.0.1:4318` collector).
+**Beta, and not on the Chrome Web Store.** It installs unpacked, so Chrome will not
+auto-update it: to move to a new version, rebuild or re-download and reload.
+
+Build it, or download `agent-beacon-browser-extension-<version>-chrome.zip` from an
+[`ext-v*` release](https://github.com/Asymptote-Labs/agent-beacon/releases) and unzip it:
+
+```bash
+npm ci
+npm run build # produces dist/
+```
+
+Then:
+
+1. Make sure the Beacon endpoint agent is running. It provides the `127.0.0.1:4318` collector.
+2. Open `chrome://extensions`.
+3. Turn on **Developer mode**, top right.
+4. Choose **Load unpacked**, and select `dist/` (or the unzipped release folder).
+5. Send a message on claude.ai or chatgpt.com, then check for `claude_web` / `chatgpt_web`
+ events in `runtime.jsonl` or `beacon endpoint dashboard`.
+
+Read [Retained content](#retained-content) before enabling it on a browser profile you
+also use personally.
## Retained content
diff --git a/docs/runtimes/browser-extension.mdx b/docs/runtimes/browser-extension.mdx
index c4c563dd..31e701d6 100644
--- a/docs/runtimes/browser-extension.mdx
+++ b/docs/runtimes/browser-extension.mdx
@@ -7,7 +7,7 @@ description: "Asymptote support details for Claude.ai and ChatGPT browser chat t
Asymptote supports browser chat on Claude.ai and ChatGPT through an optional Chrome MV3 extension that relays conversation telemetry into the same local pipeline as agent activity.
-The extension is experimental. It reads the chat streams of two sites whose APIs are private and undocumented, so a change on either site can interrupt capture until the adapter is updated.
+The extension is in beta. It is not published on the Chrome Web Store and installs unpacked. It also reads the chat streams of two sites whose APIs are private and undocumented, so a change on either site can interrupt capture until the adapter is updated.
Browser chat resolves to two harness names, `claude_web` and `chatgpt_web`, so browser activity is attributed separately from CLI agents in the runtime log and the dashboard.
@@ -35,10 +35,48 @@ To confirm it is working, generate a chat turn on either site and look for `clau
## Install or configuration support
-Build the extension from `browser-extension/` in the agent-beacon repository, or download the zip from an `ext-v*` release, then load it unpacked through Chrome's developer mode.
+<Note>
+The browser extension is in beta and is not published on the Chrome Web Store. It installs unpacked through Chrome's developer mode, so Chrome will not auto-update it: to move to a new version, download it again and reload. The published archive is unsigned, and its `.sha256` is the only integrity check it has.
+</Note>
+
+Install it one of two ways.
+
+### From a release
+
+1. Download `agent-beacon-browser-extension-<version>-chrome.zip` and its `.sha256` from the [`ext-v*` releases](https://github.com/Asymptote-Labs/agent-beacon/releases).
+2. Verify the archive, then unzip it:
+
+```bash
+shasum -a 256 -c agent-beacon-browser-extension-<version>-chrome.zip.sha256
+unzip agent-beacon-browser-extension-<version>-chrome.zip -d agent-beacon-extension
+```
+
+### From source
+
+```bash
+cd browser-extension
+npm ci
+npm run build
+```
+
+The loadable extension is the `dist/` directory.
+
+### Load it in Chrome
+
+1. Make sure the Beacon endpoint is running, since the extension posts to the local collector on `127.0.0.1:4318`.
+2. Open `chrome://extensions`.
+3. Turn on **Developer mode**, top right.
+4. Choose **Load unpacked**, and select the unzipped folder or `browser-extension/dist`.
+5. Open claude.ai or chatgpt.com and send a message, then confirm `claude_web` or `chatgpt_web` events appear in the runtime log or the local dashboard.
+
+Chrome disables unpacked extensions when it restarts in some managed configurations. If capture stops, check that the extension is still enabled in `chrome://extensions`.
+
+### Configuration
Capture is configured in the extension's own options page: on/off, retention mode, the collector endpoint, and per-site toggles. There is no `beacon` command that configures it.
+Review the retention mode before enabling it on a machine where the same browser profile is used for personal conversations. The default retains full chat text.
+
## Retained content
Retention defaults to `full`. Browser chat telemetry has little investigative value without content, so the default keeps it, and the tradeoff is documented rather than defaulted away.
diff --git a/docs/runtimes/index.mdx b/docs/runtimes/index.mdx
index 3d73ece7..e10dcd83 100644
--- a/docs/runtimes/index.mdx
+++ b/docs/runtimes/index.mdx
@@ -43,6 +43,15 @@ These integrations are grouped by where the agent runs and how telemetry is coll
| [Hermes Agent](/runtimes/hermes-agent) | Shell hooks | Prompt, observed tool, command, file, approval request and response, session lifecycle, and subagent stop telemetry |
| [OpenClaw Gateway](/runtimes/openclaw-gateway) | Gateway-configured OTLP/HTTP | OTLP logs, traces, and metrics from the Gateway diagnostics plugin |
+### Local browser chat surfaces
+
+| Agent harness | Collection path | Telemetry coverage |
+|----------------|-----------------|--------------------|
+| [Claude.ai](/runtimes/browser-extension) (beta) | Managed browser extension over local OTLP | Prompt, assistant response, tool call, and token usage telemetry from the claude.ai chat stream |
+| [ChatGPT](/runtimes/browser-extension) (beta) | Managed browser extension over local OTLP | Prompt, assistant response, and tool call telemetry from the chatgpt.com chat stream |
+
+Browser chat resolves to the `claude_web` and `chatgpt_web` harness names, so it stays distinguishable from CLI agents. The extension retains full prompt and response text by default. See [Browser Extension](/runtimes/browser-extension) for the retention modes.
+
### CI harnesses
| Harness | Collection path | Telemetry coverage |
diff --git a/docs/runtimes/integration-model.mdx b/docs/runtimes/integration-model.mdx
index b6d5993a..7267b188 100644
--- a/docs/runtimes/integration-model.mdx
+++ b/docs/runtimes/integration-model.mdx
@@ -67,6 +67,7 @@ During install, Beacon configures the runtime surfaces it can safely manage:
| [Cursor](/runtimes/cursor) | Native hook payloads through `beacon-hooks` | Hooks emit session, prompt, tool, command, MCP-like, approval, and file edit telemetry where Cursor exposes payloads. |
| [Claude Cowork](/runtimes/claude-cowork) | Admin-configured OTLP from Anthropic's service | Production Cowork telemetry should use a durable customer-managed HTTPS collector endpoint. |
| [OpenClaw Gateway](/runtimes/openclaw-gateway) | Gateway-configured OTLP/HTTP export | Beacon prints Gateway diagnostics settings and validates OpenClaw-derived events in the runtime log. |
+| [Browser Extension](/runtimes/browser-extension) | Managed browser extension over local OTLP | A Chrome MV3 extension parses the claude.ai and chatgpt.com chat streams and posts OTLP GenAI logs to the local collector. Beta, installed unpacked rather than from the Chrome Web Store, and configured in the extension's own options page rather than by `beacon`. |
## Hook telemetry
diff --git a/docs/security/data-inventory.mdx b/docs/security/data-inventory.mdx
index 65df7311..1a443b4f 100644
--- a/docs/security/data-inventory.mdx
+++ b/docs/security/data-inventory.mdx
@@ -24,6 +24,21 @@ Beacon writes normalized endpoint events only when supported runtimes provide te
| Cursor | Native hooks | Prompt, tool, shell command, MCP-like, approval, and file edit telemetry |
| Claude Cowork | Admin-configured OTLP | Prompt, command, tool, and file telemetry when emitted through Claude Cowork OTLP |
| OpenClaw Gateway | Gateway-configured OTLP/HTTP | OTLP logs, traces, and metrics from the Gateway diagnostics plugin |
+| Claude.ai (`claude_web`) | Managed browser extension over local OTLP | Prompt text, assistant response text, request and response model, tool call id/name/arguments/results, token usage, and conversation id from the claude.ai chat stream |
+| ChatGPT (`chatgpt_web`) | Managed browser extension over local OTLP | Prompt text, assistant response text, model, tool call activity, and conversation id from the chatgpt.com chat stream. ChatGPT web does not report token usage in its stream |
+
+The browser extension is the only surface that reads content from a site the
+person is signed into personally, so its boundaries are worth stating explicitly.
+It observes the chat request and response streams on `claude.ai`, `chatgpt.com`,
+and `chat.openai.com`, and nothing else. It has no access to other tabs, browsing
+history, or page content elsewhere, and it never writes files.
+
+Its retention setting defaults to `full`, so complete prompt and assistant
+response text is retained in the local runtime log unless an operator changes it
+in the extension's options page. `redacted` scrubs emails and API-key-shaped
+tokens; `metadata` retains no chat text at all. Retention is applied in the
+browser before anything is sent, so under `metadata` the text never leaves the
+page.
## Local inventory metadata