How to Disable T3 Code Telemetry and Diagnostics

Disable T3 Code product events and relay traces with an environment variable or managed policy, and review separate mobile and hosted-service controls.

Set T3CODE_TELEMETRY_ENABLED=false before starting the T3 Code server to disable its product usage events and relay connection traces. Mobile diagnostics, hosted web tracing, and activity publishing have separate controls. This guide focuses on macOS; for an introduction to the application, see the T3 Code guide.

The instructions reflect the official documentation checked on November 25, 2026. Versions and interface labels may change.

What T3 Code reports

According to the documentation, product events can include provider and model, permission mode, request outcomes, duration, and available token counts, associated with a hashed installation identifier. A hashed T3 Connect account identifier is also sent when signed in. Events are retained at ingest.t3.codes and forwarded to PostHog. Ordinary product events exclude prompts, responses, and file contents. Relay traces are separate and include connection timings, request paths, and environment and thread identifiers.

Agent feedback is a separate feature, off by default, and a report can include conversation text when the user chooses to send it. Check Settings → Labs → Agent feedback. Saved feedback reports are not sent while product usage data is disabled.

The telemetry dispute and provider identifiers

Community members have questioned the telemetry default, disclosure, and opt-out controls. Issue #4123 records a dispute over earlier homepage claims and default behavior; the project also closed a proposal for a settings toggle. These records describe the dispute, but do not establish identical behavior across all releases.

PR #42299, merged on November 24, 2026, says that the server’s analytics previously read ~/.codex/auth.json and ~/.claude.json at startup and sent unsalted SHA-256 hashes of account identifiers found there. A hash is not the original identifier, but someone who knows a candidate identifier can hash it and compare the result. Reading files containing credentials does not itself establish that credentials were uploaded; the current documentation says product events exclude authentication tokens, prompts, responses, and file contents.

The change removed analytics reads of provider sign-in files and the associated provider identifiers, using a hash of a random install identifier instead. The fix is listed in the prerelease 0.1.12-nightly.20261124.5209. Check the release notes for your installed version: a merge to main alone does not mean an installed build contains the fix. Other T3 Code functions may still read sign-in files.

Network observations depend on the version, startup method, observation period, and network environment; a short observation from one installation cannot establish behavior elsewhere. A network opt-out test alone also cannot establish whether an older build still reads local files; inspect the relevant version and its permissions for that question.

Set the environment variable

On macOS with zsh, add this line to ~/.zshrc:

export T3CODE_TELEMETRY_ENABLED=false

The documentation also supports export DO_NOT_TRACK=1 for server product events and relay traces; it takes precedence over T3CODE_TELEMETRY_ENABLED=true. Other applications may also honor this general-purpose variable, so use the T3 Code-specific variable if you only want to configure T3 Code.

Quit the desktop app completely with ⌘Q and reopen it. The documentation says the desktop app reads shell profiles on macOS and Linux. On Windows, set the variable as a user environment variable and restart the app. For a server launched from a terminal, export the variable in that terminal before starting it. Existing processes do not acquire changes to a shell’s environment.

In a new terminal, check:

printenv T3CODE_TELEMETRY_ENABLED

The expected output is false. This checks the terminal’s environment, not whether the desktop app or a separate background service has applied the setting. Configure the service’s own startup environment and restart it; restarting alone does not ensure it inherits the current terminal’s variables.

Older desktop versions

A reported macOS issue affected versions 0.1.9 and 0.1.10-nightly.20261116.4800: the desktop app decided whether to trace relay connections before reading the login shell environment. The issue was closed with a fix on November 16, 2026, but the record does not establish which releases include it. Update the app, or for an affected version set the launch environment before opening it:

launchctl setenv T3CODE_TELEMETRY_ENABLED false

Quit and reopen the app. This setting does not persist across a macOS reboot. launchctl getenv T3CODE_TELEMETRY_ENABLED checks the current value, but does not prove the app has stopped transmitting. Undo the temporary setting with launchctl unsetenv T3CODE_TELEMETRY_ENABLED.

Optional: restrict the product event domain with hosts

The product documentation identifies ingest.t3.codes as the product event endpoint. A hosts entry adds a local name-resolution restriction; use the official opt-out above first. This rule affects programs on the machine that use the resulting resolution and may affect other functions using the same domain.

On macOS, check for existing entries before editing:

grep -n 'ingest.t3.codes' /etc/hosts

Review any existing entries for conflicts. With no matches, the command may exit with status 1. Edit the existing file with administrator privileges, preserving its other lines:

sudo nano /etc/hosts

Add the following line, then save and exit with Control-O, Enter, and Control-X in nano:

127.0.0.1 ingest.t3.codes

Run dscacheutil -q host -a name ingest.t3.codes and check for ip_address: 127.0.0.1. If the result is stale, restart the app and check again. dig queries DNS directly and does not establish whether an application uses the hosts entry. A matching system lookup alone does not prove that all reporting has stopped.

The rule covers this hostname and traffic using system resolution. Proxies, application-specific DNS, other addresses, or requests from other devices may bypass it; IPv6 and conflicting existing entries can also affect the result. Relay traces, mobile diagnostics, and activity publishing have separate paths and controls. To undo the change, edit /etc/hosts again and remove only the line you added.

Managed policy

Administrators can enforce a machine-wide policy. Create a policy.json file such as:

{
  "schemaVersion": 1,
  "organization": "Example",
  "limits": { "telemetry": false }
}

Run t3 policy check policy.json, then install it following the deployment instructions. On macOS, the policy file location is /Library/Application Support/T3Code/policy.json; only administrators should be able to write the file and directory. Check for an existing policy first: T3 Code does not merge policy sources and refuses to start when both a native policy and a file exist. Overwriting a file also removes its existing settings.

Restart the app or background service and run t3 policy show as the user running T3 Code to verify the running server loaded the new policy. It disables product events and relay traces from the server, desktop app, and browsers opened from that server. It does not control tracing by the mobile or hosted web apps. Older versions may not support the policy; check the version if validation fails.

Other data paths

Path Control or boundary
Mobile crash reports Turn off Send crash reports under Settings → About T3 Code → Diagnostics on the phone.
Mobile connection traces Turn off Send connection traces in the same location; this is separate from crash reports.
Agent activity for mobile notifications Turn off Publish agent activity under Settings → Sharing & access on the host. Disabling phone notifications alone does not stop publishing.
Hosted web app Local environment variables and policy do not control tracing by app.t3.codes; the documentation says it has no tracing toggle.
Agent providers External tools such as Codex have their own configuration and data practices.

If you configured your own OpenTelemetry receiver, also review Settings → Maintenance → Diagnostics and the relevant environment variables. These checks establish configuration scope; printenv alone cannot prove that all network traffic has stopped.


Sources: