Skip to main content

Runtime Overview

Asymptote supports Codex CLI through local OTLP logs, with optional raw Codex spans for troubleshooting.

Prerequisites

Before enabling Codex CLI telemetry, make sure:
  • Codex CLI is installed and available as the codex executable for the user or managed endpoint.
  • beacon endpoint install has run so the local collector, endpoint config, and runtime log path exist.
  • The install includes the codex harness, either through the default harness list or an explicit --harness codex value.
  • Your team has reviewed content handling and destination access for prompt telemetry.

Collection path

Codex CLI exports local OpenTelemetry logs to Asymptote’s localhost collector. Asymptote uses Codex semantic logs for session, prompt, approval, and tool-result events, and suppresses high-volume Codex spans and metrics by default. Use --include-codex-spans during install or repair only when you need raw Codex spans for troubleshooting.

CI support

Asymptote can also capture Codex telemetry in CI with beacon ci start and beacon ci finish. In GitHub Actions, the Asymptote action creates a temporary CODEX_HOME with Codex OTLP settings and exposes it as steps.<id>.outputs.codex-home for actions such as openai/codex-action.
- name: Start Asymptote telemetry
  id: beacon
  uses: asymptote-labs/agent-beacon@v0.0.50
  with:
    mode: start
    harnesses: codex

- uses: openai/codex-action@main
  with:
    openai-api-key: ${{ secrets.OPENAI_API_KEY }}
    codex-home: ${{ steps.beacon.outputs.codex-home }}
    prompt: "Review this pull request"

- name: Finish Asymptote telemetry
  if: always()
  uses: asymptote-labs/agent-beacon@v0.0.50
  with:
    mode: finish

Discovery and status

Asymptote detects Codex CLI through the codex executable and ~/.codex/config.toml. Use beacon endpoint discover or beacon endpoint status to confirm that Codex CLI is present and configured.

Install or configuration support

beacon endpoint install writes Codex OTLP exporter tables to ~/.codex/config.toml. Codex CLI is not currently configured through Asymptote’s hook adapter.

Telemetry coverage

AreaSupport
Prompt telemetrySupported when emitted through Codex semantic logs
Command, tool, and file telemetrySupported when emitted through Codex semantic logs
Local JSONL and dashboardSupported
MDM deploymentSupported through the system-mode package or MDM-managed config

Deployment notes

For MDM deployments, use the signed and notarized macOS .pkg so endpoint events land in /var/log/beacon-agent/runtime.jsonl. The package installs the endpoint agent under /opt/beacon, creates system endpoint configuration, and loads the local collector LaunchDaemon. If a system collector is running while the CLI is reading the default per-user log, beacon endpoint status and the local dashboard surface a runtime-log source warning so you can tell where OTLP events are being written.

Supported agent harnesses

Return to the runtime support overview.

Agent harness integration model

See how Asymptote discovers and configures supported runtimes.