Event Discovery Agent
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.
Event Discovery Agent reviews the web Autocapture data your project already collects, identifies your core product flows, and suggests labeled events for the key interactions in them. It runs weekly and places its suggestions on the Agent-Suggested tab for review. Amplitude adds nothing to your taxonomy until someone accepts a suggestion.
Use Event Discovery Agent when you run web Autocapture and want to find the interactions worth tracking without defining each event by hand. Use Visual Labeling when you want to interactively select and name specific elements on your site yourself.
Availability
Event Discovery Agent isn't enabled for every account. Contact your Amplitude representative to request access.
How Event Discovery Agent works
Each run, Event Discovery Agent reads the Autocapture events in your project, such as Page Viewed, Element Clicked, and Element Changed. From those events, it identifies the sequences of interactions that make up your core product flows. For each interaction worth tracking, it drafts a labeled event: a name, a description, a category, and a definition that matches the element on your site. It then checks how reliable that definition is likely to be and how much the event matters to your analysis.
Suggestions don't add to your event volume. A labeled event is a definition layered on top of Autocapture data you already collect, so accepting a suggestion labels existing events instead of sending new ones. For more on how labeled events relate to volume, go to Labeled events and event volume.
Run schedule
During Early Access, Event Discovery Agent runs once a week. A run usually takes 1 to 2 hours. The agent creates suggestions only when it finds interactions worth tracking, so a run can finish with no new suggestions.
How the agent avoids duplicates
Before it suggests an event, Event Discovery Agent checks for overlap with:
- Events already in your taxonomy, including instrumented events, custom events, and labeled events.
- Suggestions that are still open on the Agent-Suggested tab.
- Suggestions someone dismissed.
The agent doesn't edit or delete existing events. If the agent finds more evidence for an interaction it suggested before, it can suggest a similar event in a later run, even if someone dismissed the earlier suggestion.
Requirements
Event Discovery Agent works with web Autocapture data from the Browser SDK. It reads page views and element interactions (Element Clicked and Element Changed). You can turn on element interactions and other Autocapture event types with remote configuration. For the events the agent reads, go to Web Autocapture Schema. The agent works best when your project has at least 10,000 web Autocapture events in the last 30 days.
To check your current Autocapture volume, use either method:
- In Amplitude Data, go to Events and check the 30 Day Volume column for web Autocapture events such as
Page ViewedandElement Clicked. - Build an Event Segmentation chart that measures event totals for the web Autocapture events over the last 30 days.
Permissions
What a user can do with Event Discovery Agent depends on their role in the project.
| Action | Who can do it |
|---|---|
| View the Event Discovery Agent settings page and the Agent-Suggested tab | Everyone with access to the project |
| Turn the agent on or off, change its settings, add context, and cancel or retry runs | Admins and managers |
| Edit, accept, dismiss, and restore suggestions | Admins and managers |
| Use open suggestions in event dropdowns across Amplitude, for example to test them in charts | Admins and managers always. Members and viewers only when Show suggestions in event dropdowns before they are accepted is on. |
Open suggestions appear in event dropdowns only while Event Discovery Agent is on. When the agent is off, suggestions remain on the Agent-Suggested tab but don't appear in dropdowns for anyone.
Turn on Event Discovery Agent
Event Discovery Agent runs per project. To turn it on for a project:
- In Amplitude Data, go to Event Discovery Agent.
- Turn on Enable Event Discovery Agent.
- Review the confirmation, then click Enable and start a run.
The first run starts immediately and usually takes 1 to 2 hours. After that, the agent runs weekly. If a run is already in progress, or a run finished successfully in the last 12 hours, turning on the agent doesn't start another run. The next run starts on the weekly schedule.
To turn the agent on for another project, switch to that project and repeat these steps.
When you turn off Enable Event Discovery Agent, Amplitude stops any run in progress and cancels future runs. It also turns off Show suggestions in event dropdowns before they are accepted. Suggestions you already received stay on the Agent-Suggested tab.
Control who sees suggestions outside Amplitude Data
The Show suggestions in event dropdowns before they are accepted setting controls whether open suggestions appear in event dropdowns across Amplitude, marked as agent-suggested. It defaults to on when you turn on Event Discovery Agent.
- On: All users can find and use open suggestions in event dropdowns.
- Off: Members and viewers see suggestions only on the Agent-Suggested tab. Admins and managers can always use suggestions in event dropdowns.
You can change this setting only while Event Discovery Agent is on.
Get notified about new suggestions
Amplitude doesn't send notifications about Event Discovery Agent by default. To get an email or Slack message when new suggestions are available to review, opt in:
- Go to Settings > Notifications.
- Under Updates about my data, find New Event Discovery Agent suggestions are available for review.
- Select Email, Slack, or both.
Give the agent context about your product
Context is optional, but it helps the agent name events the way your team does and focus on the parts of your product that matter. Add or change context at any time. Saved context applies to future runs, not runs already in progress.
Event Discovery Agent reads context from these sources:
- Context instructions: Free text you enter on the Event Discovery Agent settings page, up to 10,000 characters. Amplitude recommends 1,000 to 3,000 characters.
- Context files: Files you upload, such as data dictionaries, naming guides, or product specs. Supported formats are TXT, MD, HTML, DOC, DOCX, PDF, CSV, XLS, and XLSX, up to 25 MB per file.
- AI Controls context: The organization and project context set in AI Controls.
Context instructions and files are project-scoped. Other Amplitude AI agents in the project can use them too. Amplitude can also use uploaded files to add descriptions and context to your existing events and properties. To manage uploaded files, go to AI Controls.
Naming conventions
To name suggested events, the agent uses the first of these sources that states a naming convention:
- Your Event Discovery Agent context instructions and context files.
- The naming convention in your Amplitude Data settings.
- Your AI Controls context files, then project context, then organization context.
- The convention most of your existing events already follow.
- A product area followed by the object and a past-tense action, in Title Case, for example
Projects | Project Created.
What to include in context instructions
Short, specific instructions work best. Useful topics include:
| Topic | Example |
|---|---|
| Naming conventions | Use Title Case with Object + Action, such as Project Created or Plan Upgraded. |
| Product terms | "Workspace" means a customer account. "Boards" are our dashboards. |
| Core flows | Sign up, onboarding checklist, create a project, invite teammates. |
| Level of detail | Track Item Viewed with the item type as a property, not a separate event per item such as Shoes Viewed. |
| Areas to ignore | Legacy admin pages with "Classic" in the page title. |
| Tracking preferences | When an element has both data-track-id and data-testid, use data-track-id. Don't use style classes in event definitions. |
To add context instructions:
- In Amplitude Data, go to Event Discovery Agent.
- On the What should Event Discovery Agent know about your product and taxonomy? card, click Edit.
- Enter your instructions in Markdown, or click Upload markdown file.
- Click Save.
To add context files:
- On the Upload context files card, click Upload file.
- Choose a file, then click Upload.
Monitor runs
The Recent runs table on the Event Discovery Agent settings page lists runs from the last 30 days and the next scheduled run time. Each run shows one of these statuses:
| Status | Meaning |
|---|---|
| Pending | The run is queued to start. |
| Running | The agent is reviewing your data. Suggestions appear after every step of the run finishes. |
| Completed | The run finished. The row shows how many suggestions it created. |
| Failed | The run stopped before it finished. Click Retry run to start it again. |
| Cancelled | Someone stopped the run before it finished. |
Click a run to view its progress through each step and download its reports.
To stop a pending or running run, click Cancel run on its row, then confirm. Amplitude keeps the steps the run already completed and their saved reports.
Run reports
Each completed run produces reports you can download from the run's details. The reports explain what the agent found and why. Use them to review suggestions in bulk or to share the suggested events with your engineering team.
| Report | What it contains |
|---|---|
| Tracking Plan Export Bundle | A ZIP file of every report and data export from the run. |
| Taxonomy report | An HTML summary of the run: what it found, the user journeys the suggested events measure, the suggested events, and interactions the agent chose not to suggest, with the reason for each. |
| Implementation guide | A guide for engineers: the exact definition behind each suggested event, how reliable its selector is, the volume the agent measured, how to confirm the event fires on the element you expect, and where adding a fixed identifier to your code would make tracking more reliable. |
| Taxonomy events CSV | One row per suggested event with its name, source Autocapture event, and definition. |
| Taxonomy events JSON | The same event definitions in JSON. |
| Tracking plan | The questions the run worked from, the measured flows, the context the run read, and a full specification for each suggested event, including category, selector, durability, and analytical value. |
You can preview some reports in Amplitude before you download them.
Review suggestions
When the agent proposes an event, someone has to decide whether to accept it. Refer to Review Event Discovery Agent suggestions for how to find suggestions, judge analytical value and safety, edit and test a suggestion, and accept or dismiss it.
Share feedback
Amplitude's product team reads all feedback to shape Event Discovery Agent.
- Rate a suggestion: In the suggestion's details panel, click the thumbs icon and choose Good suggestion, Neutral suggestion, or Not a good suggestion. Add a comment, then click Submit feedback.
- Share overall feedback: On the Agent-Suggested tab, click Give feedback and answer the short survey about what's working and what isn't.
Was this helpful?
For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.