Telemetry & Privacy
Autohand Code CLI has several independent data paths: a version check, optional product telemetry, optional session sync, automatic error reports, and opt-in agent traces. This page explains what each one sends, its default, and how to turn it off.
Privacy-first approach
Autohand Code CLI keeps each data path separate. Enabling one does not silently enable another, and content-bearing paths such as session sync and full agent traces need their own explicit choice.
Data paths at a glance
| Data path | Default | Destination | Content |
|---|---|---|---|
| Version check | On (except --bare) |
POST /v1/version/check |
Device ID, CLI version, OS and architecture, client type |
| Product telemetry | Off | POST /v1/telemetry |
Pseudonymous event envelope plus the event fields listed below |
| Cloud session sync | Off | POST /v1/history |
Full saved session messages and session metadata |
| Automatic error reports | On unless disabled | POST /v1/reports |
Error message, path-sanitized stack, diagnostic context, device and runtime metadata |
| Local agent traces and Work Map | Off | Local files only | Supported agents’ session files reduced to an aggregate Work Map |
| Cloud agent traces | Off | POST /v1/traces/batch |
Metadata only, or separately consented redacted full trace content |
Like any HTTP service, the Autohand API can observe normal connection metadata such as your IP address.
Version check and automatic reports
These two paths are separate from telemetry.enabled.
Version check. An ordinary CLI start sends a version check (subject to a 45-minute cache) and then repeats it every 45 minutes. The request body contains deviceId, currentVersion, platform (OS and architecture), and clientType. Bare mode (--bare) does not start it. Set AUTOHAND_SKIP_PING=1 to disable it for a process:
AUTOHAND_SKIP_PING=1 autohand
Automatic error reports. Enabled unless autoReport.enabled is false. A report contains the device ID, CLI version, platform, OS release, timestamp, error type and message, a path-sanitized stack, and diagnostic fields from the failure site, such as model, provider, session ID, conversation length, recent tool names, retry counters, and context usage. Reports are deduplicated within a session. Path sanitization is not full secret redaction, so review this setting separately from telemetry consent.
{
"autoReport": {
"enabled": false
}
}
Agent traces use separate consent
Agent traces and the local Work Map are separate from standard CLI telemetry and are controlled by the traces settings. The ahtraces companion is disabled by default and does not inspect supported coding-agent session files until you choose a trace mode.
Cloud modes require their own explicit consent and an authenticated paid Autohand Code account, including Team. Metadata only sync excludes prompts, responses, reasoning, commands, source code, paths, repository identities, session IDs, and credentials. Trace ingestion and storage does not count against Autohand API usage.
Read Agent traces and Work Map for installation, all four consent modes, the traces configuration keys, the 19 supported agents, Console viewing, and deletion controls.
What product telemetry collects
Product telemetry runs only when telemetry.enabled is true. Every event carries this envelope:
- a random event ID and a persistent pseudonymous device ID from
~/.autohand/device-id - the current session ID, event timestamp, and event type
- client type and CLI version
- OS platform and release, Node.js version, CPU architecture and core count, total and free memory
- running interaction count, distinct tool names used, and error count
Command telemetry records the command and known subcommand, not free-form arguments, which can contain prompts, paths, and server names.
What product telemetry does not collect
Product telemetry does not intentionally send:
- Conversation messages or your prompts
- File contents, diffs, or patches
- Tool arguments or tool results
- API keys, tokens, or credentials
Error and status fields can contain free-form text. The sanitizer removes common home-directory prefixes from stack traces, but it is not a general PII or secret detector. Keep this in mind when deciding whether to opt in.
The /feedback command
The /feedback command lets you send feedback to the Autohand team on demand. When you run this command, you have full control over what gets shared.
How it works
When you type /feedback, you can choose to:
- Report a bug or unexpected behavior
- Share a suggestion or feature request
- Provide general feedback about your experience
What is included in feedback submissions
| Data | Description | Can you opt out? |
|---|---|---|
| Your message | The feedback text you write | You control this entirely |
| CLI version | Which version of Autohand you’re using | No (required for triage) |
| Operating system | OS type and version (e.g., macOS 14.2) | No (required for triage) |
| Session transcript | Recent conversation history with the AI | Yes (prompted before sending) |
| Error logs | Recent error messages if reporting a bug | Yes (prompted before sending) |
What is never included
- API keys or credentials are automatically stripped from any logs
- File contents from your project are never attached
- Environment variables are excluded from submissions
- Personal information beyond what you explicitly write
Event types
When product telemetry is enabled, these events are sent:
| Event | Fields |
|---|---|
session_start |
Model, provider, provider display name and API format when present, reasoning effort, context window |
session_end |
Status, duration, model and provider metadata |
tool_use |
Tool name, success, duration, failure text, estimated result tokens, whether the result was truncated |
error |
Error type, message, path-sanitized stack, context string |
session_failure_bug |
Error name, message, and stack, retry counters, conversation length, recent tool names, iteration and context usage, model and provider |
model_switch |
Previous and new model, provider and provider metadata, reasoning effort, context window |
command_use |
Command, known subcommand, and surface (interactive, cli, acp, json_rpc, or mobile) |
heartbeat |
Session uptime, sent every 60 seconds while a telemetry-enabled session is active |
skill_use |
Skill name and source, activation mode and action, span ID, token and byte size, version and file timestamps, release reason |
goal_event |
Goal ID, lifecycle action, status or reason, source |
context_compaction |
Token counts before and after, surviving skill span IDs, reason, cropped count |
Events are queued in ~/.autohand/telemetry/queue.json (at most 500 entries) and sent in batches of 20. The client flushes every 60 seconds and retries failed sends up to three times. Unsent events stay in the local queue.
Cloud session sync
Session sync is a second, content-bearing consent. It runs only when all three are true:
telemetry.enabledistruetelemetry.enableSessionSyncistrue- you are signed in to an Autohand account
The upload contains your device ID, the session ID, every saved message’s role, full text, and timestamp, and this session metadata when available:
- model, provider, reasoning effort, and context window
- absolute workspace root, project name, session status, summary, and title
- client and client version
- start and end timestamps and duration
- lines added and deleted
- prompt, completion, cache, and total token usage, turn count, usage provenance, longest-turn duration, and usage timestamp
When you are offline, snapshots wait in ~/.autohand/telemetry/session-sync-queue.json, which keeps only the ten newest sessions.
Privacy features
- Pseudonymous device IDs: A randomly generated UUID is stored locally in
~/.autohand/device-id. - Path sanitization: Common home-directory prefixes are removed from stack traces before they are sent.
- Offline batching: Events are queued locally and sent when you are back online.
Opting out
The defaults already keep product telemetry, session sync, and traces off. Set each switch in your Autohand config file (~/.autohand/config.json by default), or review them with /settings:
{
"telemetry": {
"enabled": false,
"enableSessionSync": false
},
"traces": {
"enabled": false,
"cloudSync": false
},
"autoReport": {
"enabled": false
}
}
To skip the version check for a process, set AUTOHAND_SKIP_PING=1.
Partial opt-out
You can keep product telemetry while disabling the content-bearing session upload:
{
"telemetry": {
"enabled": true,
"enableSessionSync": false
}
}
Disabling product telemetry stops new events and network flushes but does not delete an existing local queue. Disabling session sync does not delete queued snapshots.
Enterprise options
Enterprise customers have additional telemetry controls:
- Private endpoints: Route telemetry to your own servers
- Data residency: Choose where data is stored (US, EU, APAC)
- Extended retention: Keep data for up to 2 years for compliance
- Audit logs: Detailed logs of all telemetry events
- Team analytics: Aggregated usage reports for your organization
Contact us for enterprise pricing and setup.