Don't @ me, @PostHog

All the PostHog you already use, plus a coding agent that lives in your Slack. Ask about your product data, debug issues, and ship PRs without leaving the thread.

  • Ask anything about your product data
  • Fix what's broken
  • Ship what's next
Connect SlackNot using PostHog? Sign up

Are you an agent? Read the plain version.

If you can prompt, you can use PostHog

Ship code

Got a bug to squash or a feature to build? Tag @PostHog. It reads the thread, writes the code, and opens a draft pull request. Keep iterating in the thread while it babysits CI.

One-click follow-ups

Buttons under each answer suggest what to ask next. Click one, and it asks for you.

Routing rules

Rules decide which repo gets each task. Add one with /posthog rules add.

Your name on the PR

Connect your GitHub, and the commits and the PR carry your name (not a bot's).

See the cost as you go

Every reply's footer names the model and what the thread has cost so far.

Pull requests that the PostHog bot opened from Slack threads, shown as merged and draft on GitHub

Query data

Got a hunch? Tag @PostHog. It reads the thread, digs through your data, and brings back an answer everyone can see.

Paste a link

Paste a PostHog link, and Slack unfurls it into a preview.

More than text

Send it screenshots, PDFs, and logs. It replies with charts, HTML pages, Slack canvases, and PostHog notebooks.

Ask in private

DM it the (embarrassing) prompts you don't want in a public channel.

Who can join your threads

Anyone who tags @PostHog in your thread can steer it. Want a guest list? Make people ask first, or keep it just you.

We're not model monogamous

Any model in PostHog Desktop, from Anthropic and OpenAI, through one interface. Pick a default you trust in the Home tab. Name another in a prompt if a task needs more horsepower.

Or turn on auto model choice. A fast model reads your first message and picks the cheapest model that should get it right.

Rafael Audibert3:40 PM

@PostHog use GPT-6.2 Sol, I'm told it's the good one this week

PostHogAgent3:41 PM

It is. Check back on Monday.

View session · GPT-6.2 Sol · Thread cost: $0.01 · Project: Your project name · Configure

Four ways to start a thread

Illustrative thread: Vojta says suggested replies now work in DMs. Cleo asks if people click them, then tags PostHog in the thread. PostHog answers from the context above. All data is sample data.

A hedgehog hugging a dog that wears a Slack tag
PostHog loves Slack (and Slack loves us back).

Everyone can ship now

It's a Slack message, so you don't need to be an engineer to be in build mode.

Clear the papercuts backlog

Tag the bot on tickets in a #papercuts channel.

Fix typos where you spot them

Tag the bot on the page with the typo.

Find out why a metric moved

Tag the bot in an alert's thread and ask why.

Build what customers ask for

Tag the bot where a customer asked for it.

Read up on a customer before a call

DM the bot for an account brief.

Turn interviews into themes

Attach transcripts and ask the bot for themes.

Warehouse sources

Sync Stripe, Postgres, HubSpot, and hundreds more into PostHog. The bot queries them with your product data.

Hook up your data →

Business Knowledge

Add your docs, pricing, and policies once. Ask about a refund or a plan limit in Slack, and the bot answers from them.

Teach it your business →

Self-driving reports

Point PostHog Self-driving at your errors and session replays. Reply to a report, and the bot opens a pull request.

Let it find the work →

Real things we're prompting that turn into PRs

Actual things happening in the PostHog Slack workspace.

A real request from PostHog's Slack, cut short: Cleo says the PostHog Desktop sign-ups paused screen is a dead end, because it promises a follow-up that never comes. She asks PostHog to drop the promise and send people to the hedgehog games. PostHog posts a plan, changes the screen, adds a tracking event, and opens a pull request in the main PostHog repo.

Open PostHog/posthog#120590 on GitHub

@PostHog from anywhere (literally)

The PostHog Slack app is free to install, and free to uninstall when you realize this means you can ship production code from your phone (which, frankly, might be too much power for anyone).

Connect SlackNot using PostHog? Sign up

Frequently @sked questions

Data questions don't need GitHub or a repo. To ship code, connect your personal GitHub, and the agent opens PRs as you. Without it, a task can use your project's GitHub App installation, and the PR comes from the PostHog bot.

The agent decides from your request. If it doesn't need code, the agent answers from your PostHog data. If it does, the agent picks a repo: the one you name, your only one, or the best match for your routing rules. If it can't pick, it asks in the thread with a repo picker. The picker has a No repo needed option.

The bot reacts to your message with eyes, then posts a progress message in the thread, with a link to the agent logs. When it's done, it posts a summary. If a run fails, reply retry to continue from the last checkpoint. See start a task and emoji cues for the full flow.

It works in any channel you invite it to, in a DM, and in a group DM you start with the bot in it. In a DM, just type. Everywhere else, tag @PostHog to start a thread.

Once a thread is going, the bot can pick up replies that don't tag it. You choose how in the App Home tab: ask first (the default), pick up automatically, or leave them alone. See reply without tagging the bot.

It can also offer to answer a question you post in a channel without a tag, when your PostHog data can answer it. See questions in channels.

Yes. By default, anyone who tags @PostHog in your thread can join. They can steer the run, add context, or answer its questions. To change who can join, open the App Home tab: ask once per thread, ask for each person, or ignore them.

The bot matches your Slack email to your PostHog account. If the emails differ, it sends you a button, visible only to you, to link them. Each message then runs as the person who sent it, with their own access, so a teammate can't borrow yours. The agent logs show who sent each message.

For PRs, connect your personal GitHub and your commits carry your name. Each commit has a Task-Id that traces back to the thread. Without it, the PR comes from the PostHog bot, through the project's GitHub App installation.

It reads the thread it's in and the files in that thread, your PostHog data, and the repos you connect. It can't read channels it isn't in.

In a Slack Connect channel, a member of your PostHog organization approves the bot once before it answers. It never unfurls links there.

The full list of scopes is on the Slack marketplace listing. Our privacy policy covers how we collect, manage, and store your data.

Yes. Name a model in your message ("use fable"), or a project in the first message of a thread. Or set defaults in the App Home tab. For reply style, use agent instructions, which you edit in PostHog.

The app is free to install, with no subscription. The agent uses PostHog AI credits, the same as PostHog AI in the app, and each reply's footer shows what the thread has cost so far. Subscriptions, link previews, ratings, and /posthog commands are free. See Slack app pricing.

  • The sandbox lasts about six hours. After it recycles, prompt it again.
  • Each teammate connects their own GitHub once to open PRs as themselves.
  • Files: up to 15 per message, 30 MB each (10 MB for PDFs). The bot tells you which files it skips.
  • Unusual phrasing can make it miss a model or project you name. The run then uses your defaults.
  • It's in beta, so its behavior can change between builds.

Choose your fighter

  • PostHog AI →

    In the PostHog app. It knows which chart you're looking at, and can build and query anything in PostHog.

  • PostHog Slack app →

    In your threads and DMs. Self-driving reports, subscriptions, and alerts land here too. @PostHog to summon it for questions and code fixes.

  • Your terminal or agent →

    In Claude Code, Cursor, Codex, and other agents, through the PostHog MCP.

It's the same agent on the same PostHog MCP.