> ## Documentation Index
> Fetch the complete documentation index at: https://agentrail.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Check and control AgentRail's anonymous usage telemetry

> Understand what anonymous telemetry AgentRail collects, what it never sends, and how to check or change your telemetry preference at any time.

AgentRail sends anonymous product telemetry by default to improve setup reliability, provider integration behavior, and agent lifecycle quality. Telemetry is enabled during `agentrail init` and can be changed at any time with a single command.

## What is collected

Telemetry uses an anonymous install ID — not your name, email, or account. Events are sent to PostHog EU Cloud.

AgentRail telemetry is limited to product usage signals such as which commands you run and whether setup steps succeed or fail. It is designed to help identify setup problems and improve the experience across different environments.

**AgentRail never sends:**

* Source code
* Issue text
* PR diffs
* Prompts
* Terminal logs
* Environment variables
* Secrets or tokens
* Raw provider API payloads

## Check your current setting

```bash theme={null}
agentrail telemetry status
```

This prints whether telemetry is currently enabled or disabled.

## Disable telemetry

```bash theme={null}
agentrail telemetry off
```

## Enable telemetry

```bash theme={null}
agentrail telemetry on
```

## Set telemetry during init

You can set your preference before any telemetry is captured by passing a flag to `agentrail init`:

<CodeGroup>
  ```bash Enable telemetry theme={null}
  agentrail init --telemetry
  ```

  ```bash Disable telemetry theme={null}
  agentrail init --no-telemetry
  ```
</CodeGroup>

<Note>
  If you do not pass either flag, `agentrail init` enables telemetry by default and tells you so during setup.
</Note>
