Skip to content

Start building

Integration · Analytics and data

AI agents for Amplitude

Send events to an Amplitude project and read its analytics: event counts and segmentation, funnels, retention, active users, saved charts, cohorts and one user's activity, in the US or EU data center.

Actions
14
Read
12
Write
2

Actions

What your agents can do in Amplitude

14 actions. Each one is a tool your agents can call and a step your workflows can run.

Read 12

Look things up. Nothing changes.

  • Find a user

    Looks a person up by Amplitude ID, device ID, user ID or the start of a user ID.

  • Get a user's activity

    Reads one person's profile and their latest (or earliest) events by Amplitude ID.

  • Count an event over time

    Counts an event per day, week or month (or realtime/hourly) over a date range, as unique users, totals, % of daily active users, an average, or a property sum.

  • Run a funnel

    Measures how many users moved through a sequence of 2 to 10 events in a date range.

  • Measure retention

    Measures how many users who did a starting event came back to do a return event, per day, week or month after.

  • Count active or new users

    Counts active or new users per day, week or month over a date range, optionally filtered by segments and split by a user property.

  • Get realtime active users

    Counts active users in 5-minute buckets for today and yesterday.

  • List event types

    Lists the project's visible event types with this week's totals, to find the exact names other actions take.

  • Get a saved chart's results

    Reads the results of a chart saved in Amplitude by its ID (the last part of the chart's URL, like e1d2c3b4).

  • List cohorts

    Lists the project's behavioral cohorts.

  • Start a cohort export

    Asks Amplitude to prepare the member list of a cohort (counts toward the plan's monthly cohort download quota).

  • Check a cohort export

    Checks a cohort export started with "Start a cohort export".

Write 2

Create, change or send.

  • Send an event

    Records one event in the project with the HTTP V2 API, now or at a past time.

  • Add or remove cohort members

    Adds users to, or removes them from, an existing cohort by user ID (BY_NAME) or Amplitude ID (BY_ID), up to 10,000 IDs at a time.

A person can approve first

Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything.

Connection

How it connects

Connect it once in the console, then give it to the agents and workflows that need it.

Sign-in details

Enter the sign-in details Amplitude gives you for its API.

What you enter

  • API key
  • Secret key

Settings

  • Data center

Kept safe

  • Credentials are stored encrypted with your organization's own keys.
  • They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
  • Calls go only to the tool's own servers.

How we protect your data

Ideas

Ideas to start with

Starting points made only from the actions above. Mix them with any other tool your agents can use.

  • 01

    Ask about your Amplitude data

    Ask a question in plain words. The agent can find a user, get a user's activity or count an event over time in Amplitude, then answers with what it found.

  • 02

    Let an agent update Amplitude

    Have the agent send an event or add or remove cohort members in Amplitude as part of a larger task. Turn on approval and a person signs off on each change first.

  • 03

    Share what it finds in Slack

    Give one agent Amplitude and Slack: it can find a user in Amplitude and post a summary to a Slack channel in the same run.

FAQ

Amplitude and MyDeepAgents

Can MyDeepAgents connect to Amplitude?

Yes. The Amplitude connector has 14 actions: 12 read and 2 make changes. Your agents can call them as tools, and your workflows can run them as steps.

How do I connect Amplitude?

Enter the sign-in details Amplitude gives you for its API. You'll need: API key and Secret key. The connection also asks for: Data center. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.

Can an agent change data in Amplitude without asking?

Only if you let it. Each of the 2 actions that change data can be set to wait for a person's approval before it runs.

Can I use Amplitude in workflows as well as agents?

Yes. Every Amplitude action also works as a step in a workflow, and the same connection serves your agents and your workflows.

Early access

Put Amplitude to work

Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.