llms.txt Content
# Amplitude
Amplitude is the AI-native digital analytics platform built for AI builders, engineers, data teams, product managers, and marketers. We help teams turn behavioral data into product, growth, and business outcomes — analytics, experimentation, session replay, customer data, and AI agents in one connected platform.
This file is a brief orientation to amplitude.com for AI assistants. Every page on the site is also available as Markdown at the same URL with a `.md` suffix (e.g. `/pricing` → `/pricing.md`). For a full curated index of every public page, see https://amplitude.com/sitemap-llms.txt.
## How AI agents should install Amplitude
The fastest, most reliable way to instrument an app with Amplitude is the **Amplitude Setup Wizard** — a CLI that detects your framework, installs the right SDK, plans events with your approval, and verifies events are flowing. It has a first-class agent mode that streams NDJSON, auto-approves prompts, and exposes a stdio MCP server.
### First call: read the manifest
Before invoking any other command, run this to get the full CLI surface (commands, flags, env vars, exit codes, glossary) as hand-maintained, machine-readable JSON. Branch on the manifest — do not scrape `--help`.
```bash
npx @amplitude/wizard manifest
```
### Quickstart (discovery → run → verify)
```bash
# 1. Inspect current state without writes or network
npx @amplitude/wizard status --json
npx @amplitude/wizard detect --json
# 2. Drive the full setup in agent mode (NDJSON to stdout, auto-approves prompts)
npx @amplitude/wizard --agent --install-dir . --api-key "$AMPLITUDE_API_KEY"
# 3. Confirm it worked
npx @amplitude/wizard verify --json
```
For human-in-the-loop diff review, split step 2 into `plan` (no writes) then `apply --plan-id <id> --yes`.
### Capability flags
`--auto-approve` (silently pick recommended) ⊂ `--yes` (also OK to write files) ⊂ `--force` (also OK to overwrite/delete). `--agent` alone implies `--yes` for back-co