Agent Analytics quickstart
Early Access
This feature is in Early Access. During this time, aspects of the functionality may still be developed, and this documentation may not always be up to date. If you have any questions, contact Amplitude Support.
Choose your SDK and setup path, then get your agent's traffic flowing into Amplitude in about five minutes. You need a project with Agent Analytics enabled and its API key. Anonymous user and session IDs are fine.
This page contains the fast installation path with limited customizations. To instrument production with full identity and privacy controls, go to Set up Agent Analytics and the SDK reference instead.Quick setup with your coding agent
Instrument this app with Amplitude Agent Analytics using the Node SDK. Install the SDK: npm install @amplitude/ai @amplitude/analytics-node Then follow `node_modules/@amplitude/ai/amplitude-ai.md`.
Set up manually
Watch the events arrive
After the setup panel's doctor command passes, open your project's Live Events stream.[Agent] AI Response events appear with model, provider, latency, token, and cost fields populated. For the full verification checklist, go to Verify your data.Add IDs when you're ready
It's a ladder you climb over time, not a form you fill out on day one.
| Add | What it unlocks |
|---|---|
| Nothing (provider wrappers only) | Basic LLM traces and aggregate call counts |
| User ID | Per-user analytics, cohorts, retention |
| Session ID | Multi-turn analysis, session enrichment, quality scores |
| Agent ID | Per-agent cost, latency, and quality dashboards |
Was this helpful?