Don't @me, @PostHog

PostHog now lives in Slack. Ask about your product data, debug issues, and generate PRs without leaving the thread.

@PostHog updating docs from a Slack thread

One hog, two jobs

@PostHog wraps two competencies – analytics and coding – into a single agent. Explore "why did EU signups drop?", then prompt a PR to do something about it.

Connect Slack

Tag @PostHog with a bug, edit, or a feature idea. It spins up a sandboxed environment, plans, edits files, runs the tests, and opens a draft PR.

  • "Fix the flaky billing CI job"
  • "Add a retry policy to the webhook worker"
  • "Resolve the merge conflicts on PR #1234"

Tag @PostHog with any data question. It's the same SQL-writing, statistically-minded assistant as PostHog AI, but it responds where you send work memes.

  • "Why did EU signups drop last week?"
  • "Brief me on this customer before my call"
  • "Roll out the new dashboard flag to 25%"

A typical run, from @mention to merge

@PostHog rolling out a feature flag from a Slack thread via the PostHog MCP

You don't need to know any of this to use it. But here's what happens after you hit send:

  1. The agent scans the thread for relevant content (text only, for now).
  2. It plans the work, edits files, and runs checks inside a sandboxed environment.
  3. It opens a draft PR with a detailed description, and links it back into the thread.
  4. It iterates on follow-up messages from the original requester (and politely declines commands from your colleagues).
  5. It watches CI, reruns failed jobs that look environmental, and doesn't touch workflow files.
  6. It automatically triages review comments – acts on trusted code-review bots, and flags other changes as it babysits.

Everyone can code now

It's not just engineers offloading chores. Non-technical team members can describe a problem or an idea, and the agent takes it from there.

Engineers

The fun part is building. The boring parts are now the bot's problem.

  • "Prototype the new onboarding flow as a feature-flagged variant"
  • "Instrument the checkout funnel with the events product needs"
  • "Wire up a kill-switch flag around the billing webhook"

Product managers

Generate PRs instead of PRDs. Run ad-hoc analysis without pinging an engineer.

  • "Compare activation across the last three signup variants"
  • "Spin up a 25/25/50 flag for the onboarding rewrite"
  • "Synthesize themes from this week's user interviews"

Product marketers

Draft launches faster than you can make a meme. The bot actually reads your positioning doc.

  • "Draft the launch blog from the spec doc"
  • "Update positioning across the site for the new release"
  • "Refresh the competitor comparison page with current data"

Support & Sales

Pull customer activity before the renewal call starts. Ship "Acme needs export" before the deal closes.

  • "Brief me on Acme before tomorrow's call"
  • "Find every ticket from this week mentioning rate limits"
  • "Draft a PR for the export option three customers have asked for"

Choose your fighter

PostHog AI

When you're already in the app looking at data – ask it to write the SQL, build the dashboard, or make sense of what you're seeing.

PostHog Slack app

For all the drive-by stuff you'd normally Slack a teammate about (typos, cross-repo checks, quick fixes).

PostHog Code

For real engineering work – signals from the inbox, parallel agents, anything where you care about the diff before it ships.

Building your own? PostHog MCP wires the same product context into the editor or agent of your choice.

Where it lives
Right sidebar in app.posthog.com
Any Slack channel or thread
Desktop app
How to summon
Click the sparkle or AI chat window
Tag @PostHog
Open the app, start a task
Best for
Exploring data, writing SQL with words instead of, you know, SQL. Building dashboards and configuring features without leaving the tab.
Drop-and-go work from wherever you already are. Small fixes, content tweaks, and data questions in-thread.
Focused engineering work. Parallel agents, deep refactors, and signal-driven PRs from the inbox.
Permissions
Reads and writes inside your PostHog project – insights, dashboards, flags, experiments, surveys, HogQL. Never touches your source code or the open web.
Everything PostHog AI can do, plus drafts code changes as PRs on the repos you connect.
Everything the Slack app can do, plus reads your local repos and pulls in context from Linear, GitHub Issues, and Zendesk.
Where it runs
None – it's a panel in PostHog Cloud.
Ephemeral sandbox (~6 hours, then it disappears).
Local, an isolated worktree, or a PostHog-managed cloud sandbox.
Models
Auto-picked from OpenAI and Anthropic, we tune so you don't have to.
Auto-picked from OpenAI and Anthropic (we tune so you don't have to).
You pick: Claude Code or Codex, with reasoning effort dialed in per task.
@PostHog working through CI checks on a draft PR in a Slack thread

Try itBeta

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 Slack

FAQ

Community questions

Questions about this page? or post a community question.