PostHog's Joshua Snyder on Self-Driving Products

Joshua Snyder from PostHog explains how to build a "self-driving product" pipeline that translates product signals into automated pull requests.

9 min read
Joshua Snyder presenting on Self-Driving Products at an AI Engineer event.
AI Engineer

Joshua Snyder from PostHog presented on the concept of "Self-Driving Products," detailing how to engineer a pipeline that translates product signals into actionable pull requests. The core idea is to automate the process of identifying and fixing issues within a product, moving from a reactive, human-intensive workflow to a proactive, AI-driven one.

PostHog's Joshua Snyder on Self-Driving Products - AI Engineer
PostHog's Joshua Snyder on Self-Driving Products — from AI Engineer

Visual TL;DR. Product Signals leads to Self-Driving Pipeline. Self-Driving Pipeline leads to Ingest & Group. Ingest & Group leads to AI Research Agent. AI Research Agent leads to Assess Actionability. Assess Actionability leads to Execute Automated PRs. AI Research Agent leads to LLMs Rewrite Queries. Execute Automated PRs leads to Proactive Product Fixes.

  1. Product Signals: raw data from error tracking, session replays, experiments, feedback
  2. Self-Driving Pipeline: five stages: Ingest, Group, Research, Assess, Execute
  3. Ingest & Group: filter, normalize, and cluster signals to identify potential issues
  4. AI Research Agent: analyzes grouped signals to understand the root cause of problems
  5. Assess Actionability: determines if the identified issue is something that needs fixing
  6. Execute Automated PRs: automatically generates pull requests to fix product issues
  7. LLMs Rewrite Queries: leverages language models for more efficient data analysis
  8. Proactive Product Fixes: shifts from reactive to automated, AI-driven issue resolution
Visual TL;DR
Visual TL;DR — startuphub.ai Product Signals leads to Self-Driving Pipeline. Self-Driving Pipeline leads to Ingest & Group. Ingest & Group leads to AI Research Agent. Execute Automated PRs leads to Proactive Product Fixes Product Signals Self-Driving Pipeline Ingest & Group AI Research Agent Execute Automated PRs Proactive Product Fixes From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Product Signals leads to Self-Driving Pipeline. Self-Driving Pipeline leads to Ingest & Group. Ingest & Group leads to AI Research Agent. Execute Automated PRs leads to Proactive Product Fixes Product Signals Self-DrivingPipeline Ingest & Group AI Research Agent Execute AutomatedPRs Proactive ProductFixes From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Product Signals leads to Self-Driving Pipeline. Self-Driving Pipeline leads to Ingest & Group. Ingest & Group leads to AI Research Agent. Execute Automated PRs leads to Proactive Product Fixes Product Signals raw data from error tracking, sessionreplays, experiments, feedback Self-Driving Pipeline five stages: Ingest, Group, Research,Assess, Execute Ingest & Group filter, normalize, and cluster signals toidentify potential issues AI Research Agent analyzes grouped signals to understand theroot cause of problems Execute Automated PRs automatically generates pull requests tofix product issues Proactive Product Fixes shifts from reactive to automated,AI-driven issue resolution From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Product Signals leads to Self-Driving Pipeline. Self-Driving Pipeline leads to Ingest & Group. Ingest & Group leads to AI Research Agent. Execute Automated PRs leads to Proactive Product Fixes Product Signals raw data from errortracking, sessionreplays,… Self-DrivingPipeline five stages:Ingest, Group,Research, Assess,… Ingest & Group filter, normalize,and cluster signalsto identify… AI Research Agent analyzes groupedsignals tounderstand the root… Execute AutomatedPRs automaticallygenerates pullrequests to fix… Proactive ProductFixes shifts fromreactive toautomated,… From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Product Signals leads to Self-Driving Pipeline. Self-Driving Pipeline leads to Ingest & Group. Ingest & Group leads to AI Research Agent. AI Research Agent leads to Assess Actionability. Assess Actionability leads to Execute Automated PRs. AI Research Agent leads to LLMs Rewrite Queries. Execute Automated PRs leads to Proactive Product Fixes Product Signals raw data from error tracking, sessionreplays, experiments, feedback Self-Driving Pipeline five stages: Ingest, Group, Research,Assess, Execute Ingest & Group filter, normalize, and cluster signals toidentify potential issues AI Research Agent analyzes grouped signals to understand theroot cause of problems Assess Actionability determines if the identified issue issomething that needs fixing Execute Automated PRs automatically generates pull requests tofix product issues LLMs Rewrite Queries leverages language models for moreefficient data analysis Proactive Product Fixes shifts from reactive to automated,AI-driven issue resolution From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Product Signals leads to Self-Driving Pipeline. Self-Driving Pipeline leads to Ingest & Group. Ingest & Group leads to AI Research Agent. AI Research Agent leads to Assess Actionability. Assess Actionability leads to Execute Automated PRs. AI Research Agent leads to LLMs Rewrite Queries. Execute Automated PRs leads to Proactive Product Fixes Product Signals raw data from errortracking, sessionreplays,… Self-DrivingPipeline five stages:Ingest, Group,Research, Assess,… Ingest & Group filter, normalize,and cluster signalsto identify… AI Research Agent analyzes groupedsignals tounderstand the root… AssessActionability determines if theidentified issue issomething that… Execute AutomatedPRs automaticallygenerates pullrequests to fix… LLMs RewriteQueries leverages languagemodels for moreefficient data… Proactive ProductFixes shifts fromreactive toautomated,… From startuphub.ai · The publishers behind this format

The "Self-Driving" Pipeline

Snyder outlined a five-stage pipeline for this self-driving product approach: Ingest, Group, Research, Assess, and Execute. The ingest phase involves filtering and normalizing signals from various sources like error tracking, session replays, experiments, analytics, and external feedback channels. These normalized signals are then grouped together to identify potential issues.

Related startups

The research phase involves an AI agent that analyzes these grouped signals to understand what the problem might be. Following this, the assess phase determines the actionability of the identified issue. Finally, the execute phase involves writing code to fix the problem and, ideally, creating a pull request for review and merging.

From Observability to Automation

Snyder contrasted the current state of observability with the future vision. Today, signal detection leads to human investigation, analysis, and then the creation of a pull request. In the future, a background agent will detect a change, research the problem, create a pull request, and ship the feature behind a feature flag. This shift aims to drastically reduce the time and effort required to respond to product issues.

The current process is described as slow and potentially uninteresting for engineers. The proposed automated pipeline aims to streamline this by having agents handle the initial detection and research, freeing up human engineers for more complex tasks or creative development.

Key Learnings and Challenges

During the development of this pipeline, several key learnings emerged:

  • Evals Matter: It's difficult to predict what might go wrong without testing on representative data.
  • Embed the Right Thing: Embedding models should prioritize structural similarity over purely semantic similarity to group signals effectively.
  • Agents Will Always Fix a Problem: If an agent is presented with a problem, it will attempt to solve it. Therefore, it's crucial to feed agents well-defined problems.
  • Tokens Are Free (But Costs Matter): While tokens might seem free, the cost implications of ingesting vast amounts of data can lead to suboptimal architectural decisions.

The Pipeline in Action

Snyder elaborated on the specific steps within the pipeline. The ingest phase involves filtering and normalization, with a safety filter using an LLM classifier to identify and drop malicious injection attempts. The output of this phase is a normalized signal with attributes like source, type, content, and vector embedding.

The grouping stage focuses on cross-type clustering. For example, an error tracking signal about a "checkout null pointer bug" and a Slack message stating "Hey checkout is broken for me" would be grouped together. Similarly, analytics data showing a "funnel drop on pricing page" and an experiment showing a "price variance drop" would be clustered as a "pricing experiment regression." This grouping is weighted based on the significance and source of the signals.

Rewriting Queries with LLMs

A significant challenge discussed was how to effectively search through the vast amount of signal data. A naive approach using raw embeddings proved inefficient. The better approach involves rewriting queries using LLM-generated natural language queries. This allows the agent to retrieve more relevant signals by understanding the intent behind the problem description.

Research and Actionability

The research and actionability phase involves a research agent that uses various tools, including PostHog's own MCP tools, GitHub API, and external MCPs. The agent analyzes the reported problem, its context, and relevant data to determine actionability. The output is categorized into three buckets: immediately actionable (where the agent can create a task and write a fix), needs human input (requiring more context or decision-making from a human), and not actionable (for issues that are too trivial or lack sufficient data).

Closing the Loop

The presentation concluded by summarizing what has been built and outlining future directions. PostHog has built a system that ingests signals, groups them into reports assessed for actionability, and prepares pull requests ready for merging. The future vision includes automatically shipping experiments, deploying changes behind feature flags based on metric performance, and continuously learning from every outcome to refine the system.

© 2026 StartupHub.ai. All rights reserved. Do not enter, scrape, copy, reproduce, or republish this article in whole or in part. Use as input to AI training, fine-tuning, retrieval-augmented generation, or any machine-learning system is prohibited without written license. Substantially-similar derivative works will be pursued to the fullest extent of applicable copyright, database, and computer-misuse laws. See our terms.