What agents do with PostHog
- Summarize Each Customer's Product Usage From PostHog Through an APIYes. Your backend starts one session per account; the agent reads that account's PostHog events and returns a JSON usage summary to your webhook.Every account renewal approachingRun it
- Customer Health Score From PostHog for Each AccountA customer-success platform gives each SaaS customer an agent that reads its PostHog weekly and scores every account's product usage, with the reason for each drop.Every Monday morningRun it
- Summarize PostHog Experiment ResultsYes. An agent reads an experiment's variants and goal metrics through PostHog and returns results.md with the winner, effect size, significance and caveats.Every experiment nearing its planned end dateRun it
- Which of Our Customers' Accounts Stopped Using the Product This Week? A Customer-Success App's Weekly Check of Each Customer's PostHogA customer-success software company makes one agent per customer, signed into that customer's PostHog, that lists accounts whose weekly active users fell sharply.Every Monday morningRun it
- Find Where Users Drop Off in a PostHog FunnelYes. An agent runs your signup funnel in PostHog, finds the step that loses the most users and breaks it down by browser, device and referrer in funnel.md.Every Monday morningRun it
- Build a Retention Cohort Report From PostHogYes. An agent runs weekly PostHog retention for the last eight signup weeks and writes which cohorts stayed and what they did first.Every Monday morningRun it
- Find Stale Feature Flags in PostHogYes. An agent lists your PostHog feature flags and returns the ones safe to remove: fully rolled out, not evaluated in 30 days, or disabled.Every first Monday of the monthRun it
- Get a Weekly Product Metrics Report From PostHogYes. Each week an agent pulls active users, signups, activation and top events from PostHog and writes metrics.md with changes and the query behind each.Every Monday morningRun it
- Fix Angular Exceptions From PostHog Error TrackingYes. An agent takes the most frequent exception in PostHog error tracking, maps its stack to your Angular services, fixes it with a test and opens a pull request.Every Monday morningRun it
- Fix Django Exceptions From PostHog Error TrackingYes. An agent reads your top PostHog error-tracking issue, maps its stack to your Django code, reproduces it in pytest and opens a pull request.Every Monday morningRun it
- Fix Next.js Exceptions From PostHog Error TrackingYes. An agent takes your most frequent PostHog exception, maps its frames to the team or billing code in your Next.js app, reproduces it and opens a pull request.Every new top exception in PostHogRun it
- Fix Nuxt Exceptions From PostHog Error TrackingYes. An agent takes your top PostHog exception, traces it to the Nuxt server route or component behind it, fixes it with a Vitest test and opens a pull request.Every weekly error reviewRun it
- Fix React Exceptions From PostHog Error TrackingYes. An agent takes your most frequent PostHog exception, maps it to the React feature that throws, reproduces it in Vitest, fixes it and opens a pull request.Every new top exception in PostHogRun it
- Fix SvelteKit Exceptions From PostHog Error TrackingYes. An agent takes your top PostHog exception, traces it to the SvelteKit load or action that throws, adds a Vitest test, fixes it and opens a pull request.Every release that raises errorsRun it
- Fix Vue Exceptions From PostHog Error TrackingYes. An agent reads your top PostHog exception, finds the Vue code that throws it, reproduces it in a test and opens a pull request with the fix.Every new PostHog error-tracking issueRun it
- Find Why Signups Dropped in a Next.js AppSend Rush a signup-drop question with a PostHog connection and a Next.js repository, and get a report joining the funnel data to the commits that touched it.Every funnel drop alertRun it
How it works
- Connect PostHog once
Sign in under Settings → Connections. Rush keeps the sign-in; no script or laptop holds a token.
- Hand an agent the work
From the console, on a schedule, or with one API call that names
posthog. - Get the result back
Files, an answer or a PR, with a record of every step the agent took.
Skills from PostHog's agent plugin that join every run reaching this server:
For developers: how PostHog connects
PostHog is a remote MCP server, published by PostHog, at https://mcp.posthog.com/mcp. Connecting it signs in through the MCP OAuth flow on PostHog's side.
From PostHog: PostHog's MCP documentation · source code.
Connect it once in the console under Settings → Connections, or from your server with POST /me/connections. The sign-in finishes in a browser signed in to the console as the same person, and a link not finished within 10 minutes expires.
After that, a run that names posthog in connections, or runs a saved agent that names it, gets it; your connections reach no run that does not name them.
POST https://api.phoenix.so/me/connections
{
"type": "mcp",
"name": "PostHog",
"url": "https://mcp.posthog.com/mcp"
}Whose PostHog account the agent uses
Your PostHog connection is personal: it belongs to the person who signed in. A run started in the console uses that person's PostHog, and a run started with an API key uses the PostHog of the member who created the key.
To act for your own app's users, make each user an agent from your template and show them, signed in to your app, the sign-in link POST /o/{org}/agents/{agent}/connections returns. They sign in to their own PostHog, and that agent's runs use their account and nothing else: never yours, never another user's.
Frequently asked questions
How do I connect PostHog to Rush?
Open Settings → Connections in the console and connect PostHog, or send POST /me/connections with {"type":"mcp","name":"PostHog","url":"https://mcp.posthog.com/mcp"} and open the authorize_url it returns while signed in to the console. The connection reads pending until the sign-in finishes, then connected.
Does every run get my PostHog account?
No. A run gets your PostHog connection only when it names it in connections ("connections": ["posthog"]), or runs a saved agent that names it. A saved agent names its connections once, and every run of it gets them.
What can an agent do in PostHog?
Query product analytics, feature flags, experiments, error tracking and logs, and build insights and dashboards. 16 published jobs use it; this page lists them.
Which skills come with PostHog?
investigating-error-issue, investigating-logs, building-a-dashboard, from PostHog's own agent plugin, pinned to a commit. They join every run that reaches PostHog's MCP server, inside the run's 10 MB skills limit.
Keep reading
- AI agents for product and project management teams: every job and app for them
- How connections work: sign in once, then every run that names a connection gets it
- Start your first run from the developer API quickstart
- Pricing: one price per member, hours shared by the team
- How Rush compares with other cloud agents
- Every app and MCP server Rush connects to