Mantle PostHog Agent

Your AI product analytics assistant

Connect PostHog (US cloud) and let the agent track events, manage feature flags, analyze funnels, and run experiments — all from a single conversation.

Free plan available · No credit card · API key connect · US cloud region

What the PostHog Agent does

Six things that make product analytics effortless. All work with your real PostHog data.

Tracks and queries events

Capture custom events, query event data, and analyze user behavior without writing SQL or navigating dashboards.

Manages feature flags

Create, update, and evaluate feature flags. Roll out features gradually and kill switches when needed.

Analyzes funnels and insights

Build funnels, track conversions, and generate trend insights through natural language questions.

Runs experiments

Set up A/B tests, track experiment results, and make data-driven decisions about feature launches.

Creates dashboards and cohorts

Build dashboards with charts, define cohorts of users, and share insights across your team.

Manages surveys and recordings

Deploy surveys, review session recordings, and gather qualitative feedback alongside your quantitative data.

Three steps, two minutes

Get your API key. Connect it. Start analyzing with AI.

Step 1

Get your PostHog API key

Copy your personal API key from PostHog settings. Make sure your project is on the US cloud region.

Step 2

Connect to Mantle

Paste your API key in Settings and the agent connects to your PostHog US instance instantly.

Step 3

Start analyzing

The agent can now query events, manage feature flags, build funnels, and run experiments.

Powerful workflows, out of the box

Triggered by product events, schedules, or analytics questions.

Analyze a conversion funnelButton

One click to build a funnel from signup to activation and see where users drop off.

Define funnel stepsQuery event dataCalculate conversionsVisualize results
Weekly product metrics reportSchedule

Every Monday, compile key metrics like DAU, retention, and feature adoption into a digest.

Cron: Monday 9amQuery key metricsCompare with last weekPost report
Create a feature flagButton

Define a flag, set rollout rules, and enable it — all from a single conversation.

Name the flagSet rollout percentageAdd filtersEnable flag
Alert on metric dropTrigger

When a key metric drops below threshold, the agent investigates and posts findings.

Metric drops below thresholdQuery related eventsAnalyze segmentsPost analysis

Every PostHog action, available as a tool

The agent can track, query, experiment, and manage — through the official PostHog API.

25tools
4categories
1API

Events & insights

7 tools

Capture events, query data, and build trend and funnel insights.

Capture event
List events
Get event definitions
Create insight
Get funnel insights
Get trend insights
Get retention insights

Feature flags & experiments

6 tools

Create and manage feature flags and A/B test experiments.

Create feature flag
List feature flags
Get flag status
Create experiment
Get experiment results
Update experiment

Dashboards & cohorts

6 tools

Build dashboards, define user cohorts, and share insights.

Create dashboard
List dashboards
Move dashboard tile
Create cohort
List cohorts
Get cohort details

Surveys & recordings

6 tools

Deploy surveys and review session recordings.

Create survey
List surveys
Get survey responses
List session recordings
Get recording details
Create recording summary

Your analytics, your rules

API key scoping and project-level permissions. Your data stays yours.

Project-scoped keys

Each API key is scoped to a specific project. The agent cannot access data from other projects.

Read-only option

Use a read-only key for analysis workflows without the ability to modify flags or settings.

Pause in one click

Toggle the agent off from the dashboard. All PostHog activity stops immediately.

Revoke anytime

Delete your API key from PostHog settings to instantly cut all access.

Questions, answered

PostHog is an open-source product analytics platform. It includes event tracking, feature flags, experiments, session recordings, and surveys — all in one tool.

PostHog offers separate cloud regions. US cloud stores data in the United States. If your PostHog project is on the US region, use this integration.

Yes, if your API key has write permissions. Use a read-only key if you only need analytics and insights.

Yes. The agent can capture custom events, define event properties, and query them for analysis.

You can start for free — no credit card needed. The Free plan includes a usage allowance that refills every 5 hours. Paid plans unlock more usage, every AI model, and team features.

Your product data, understood.

Connect PostHog (US) and let AI analyze events, manage flags, and run experiments. Start on the Free plan.

No credit card required · API key connect · US cloud region · Revoke anytime