Settings
The Harness Setup card on Settings > Uplink > Publishing Keys shows these settings. omp reads only environment variables, soagentgolf harness setup omp prints the same export lines and writes no file. Load them only in the shell that starts omp. See Keep the key out of shared shells and Set up with the CLI. To copy them by hand, replace:
<endpoint>withhttps://uplink.agent.golffor Cloud Uplink, or with the listener of your Self-Hosted Uplink instance, for examplehttp://127.0.0.1:4318.<publishing-key>with your personal publishing key. See Publishing keys.
- Use
http/protobuf. A Self-Hosted Uplink instance with its gRPC listener on also acceptsgrpcon port 4317. Cloud Uplink also acceptsgrpcathttps://uplink.agent.golf. See Protocol. - Each per-signal endpoint includes the full signal path:
/v1/logs,/v1/metrics, or/v1/traces. - omp sends no email or account ID of its user. Agent Golf links its sessions to you through your publishing key, as for every harness.
OTEL_SERVICE_NAME unset.
Keep the key out of shared shells
Theexport lines hold your publishing key. Do not add them to a shell profile that every shell loads, for example ~/.bashrc or ~/.zshrc:
- Each program that you start from such a shell gets the key.
- The lines turn on content capture with
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT. GitHub Copilot reads the same variable, so a Copilot session that starts from that shell also captures content. See GitHub Copilot session content.
export lines in a file that only you can read, for example ~/.config/agentgolf/omp.env. Then start omp in a subshell that loads the file:
Session content
By default, omp sends no message content, tool arguments, or tool results.OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true includes them. The settings above turn it on. Remove it where your policy does not allow the uplink instance to receive that content.
With content capture off, Agent Golf links fewer sessions to pull requests automatically. See Session content.
Verify the setup
- Start
ompand send a prompt. Then do the checks in Verify the setup. - If Uplink receives no requests, confirm that the endpoint variables are set in the environment of
omp, and that the protocol ishttp/protobuf.