Documentation Index
Fetch the complete documentation index at: https://docs.asymptotelabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
Runtime Integrations
Beacon supports multiple runtime surfaces because each AI agent runtime exposes telemetry differently. Claude Code, Codex CLI, Gemini CLI, Claude Cowork, and OpenClaw Gateway use OpenTelemetry paths. Cursor, Devin, OpenCode, and Factory Droid can use the embeddedbeacon-hooks adapter where hook payloads expose richer runtime activity.
Discovery and status
beacon endpoint discover checks which supported AI runtimes are present and whether their telemetry is configured.
| Runtime | How Beacon discovers or validates it |
|---|---|
| Claude Code | Looks for the claude executable and Claude settings paths |
| Codex CLI | Looks for the codex executable and ~/.codex/config.toml |
| Gemini CLI | Looks for the gemini executable and ~/.gemini/settings.json |
| OpenCode | Looks for the opencode executable or ~/.config/opencode, then checks the managed Beacon plugin |
| Devin | Looks for the devin executable, ~/.config/devin, or ./.devin, then checks Beacon hook configuration |
| Factory Droid | Looks for the droid executable and validates OTEL_TELEMETRY_ENDPOINT in the effective launch environment |
| Cursor | Looks for the Cursor binary or ~/.cursor, then checks Beacon hook configuration |
| Claude Cowork | Treats it as an admin-configured OTLP source because telemetry is enabled in Claude organization settings |
| OpenClaw Gateway | Validates observed OpenClaw-derived events in the runtime log after Gateway diagnostics are configured |
Install-time configuration
During install, Beacon configures the runtime surfaces it can safely manage:- Claude Code and Codex CLI are pointed at the local OTLP collector.
- Codex CLI receives structured OTLP exporter tables in
~/.codex/config.toml; Beacon also setslog_user_prompt = falseand sends logs, traces, and metrics to the local collector. - Gemini CLI can be opted in with
--harness gemini; Beacon writes local OTLP settings to~/.gemini/settings.json, setstargettolocal, uses OTLP gRPC, enables the collector, and removesoutfileso telemetry flows to Beacon. - Factory Droid’s OTLP endpoint stays under Droid’s launch environment, commonly managed through MDM or another customer-owned policy.
- OpenClaw Gateway is configured in OpenClaw with the
diagnostics-otelplugin; Beacon prints local OTLP/HTTP setup guidance and validates observed events. - Cursor, Devin, Factory, and OpenCode hooks are installed separately with
beacon endpoint hooks, because hooks are per-user or per-project runtime configuration rather than base collector service configuration.
Integration paths
| Runtime | Collection path | Notes |
|---|---|---|
| Claude Code | Local OTLP export to Beacon’s localhost collector | Uses Claude settings to enable telemetry and point OTLP to localhost. |
| Codex CLI | Local OTLP logs, traces, and metrics | Beacon writes structured Codex OTLP config and filters noisy internal transport spans. |
| Gemini CLI | Opt-in local OTLP logs, traces, and metrics | Beacon writes Gemini telemetry settings and maps Gemini prompts, tool calls, MCP activity, file operations, and approval events into endpoint events. |
| OpenCode | Managed local plugin through beacon-hooks | Plugin invokes Beacon for chat, session, command, permission, diff, and error events where payloads are available. |
| Devin | Native hook payloads through beacon-hooks | Hooks emit session, prompt, pre-tool, post-tool, permission request, stop, session-end, approval, and file telemetry where Devin exposes payloads. |
| Factory Droid | OTLP HTTP launch environment plus optional hooks | Beacon validates Factory OTLP state but does not mutate shell profiles for Droid. |
| 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 | Admin-configured OTLP from Anthropic’s service | Production Cowork telemetry should use a durable customer-managed HTTPS collector endpoint. |
| OpenClaw Gateway | Gateway-configured OTLP/HTTP export | Beacon prints Gateway diagnostics settings and validates OpenClaw-derived events in the runtime log. |
Hook telemetry
Cursor, Devin, Factory, and OpenCode hooks cover activity that is better represented as runtime events than generic OTLP spans.- Cursor records session lifecycle, prompt submission, tool invocation, shell command execution, MCP-like tool activity, approval decisions, and file edits where payloads are available.
- Devin records session lifecycle, prompt submission, pre-tool and post-tool activity, permission requests, stop events, session-end events, approvals, and file telemetry where payloads are available.
- Factory records session start and end, prompt submission, write/edit/create tool use, stop events, and related file activity where payloads are available.
- OpenCode records chat messages, session events, command execution, permission activity, diffs, and errors where payloads are available.
metadata.
Related
Beacon architecture
Return to the architecture overview.
Telemetry pipeline
Follow runtime signals through collection, normalization, storage, and forwarding.
Supported runtimes
Compare runtime support in the detailed feature matrix.
Hooks
Install, inspect, and uninstall runtime hook integrations.

