Self Driving Products: Product Signals to Pull Requests — Joshua Snyder, PostHog

· Source: AI Engineer · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering, Data Science & Analytics · Depth: Advanced, long

Summary

PostHog is developing a "Self Driving Products" pipeline designed to automate the process of identifying and fixing product issues by transforming observability data into actionable pull requests. This system aims to replace the slow, manual cycle of engineers interpreting dashboards, creating issues, and then developing fixes. The pipeline ingests trillions of events monthly from various sources, applying a safety filter and normalizing signals. A key innovation is grouping disparate signals (e.g., error stack traces, Slack messages, session replays) into unified "reports" by generating LLM queries rather than relying on structural embedding similarity. These reports are then processed by a Claude agent SDK-powered research agent in a Modal sandbox, which uses internal and external tools like Linear and Notion to diagnose problems, assign priority, and identify reviewers. The system then determines actionability, either queuing for human input, gathering more data, or automatically executing code to generate and iterate on a pull request until it passes CI.

Key takeaway

For MLOps Engineers or AI Engineers building autonomous systems, consider PostHog's approach to automating product fixes. Your focus should shift from dashboard interpretation to reviewing agent-generated pull requests. Implement robust evaluation frameworks with representative data early on. When designing data pipelines for agents, prioritize query generation over direct signal embedding for diverse data types to ensure accurate problem grouping and reduce noise. This can significantly accelerate your development cycle and free up engineering time.

Key insights

PostHog's pipeline automates product issue resolution by converting observability data into self-correcting pull requests.

Principles

Method

The pipeline ingests, normalizes, and groups product signals into reports, which a research agent diagnoses. An actionability step determines if an agent can automatically generate and iterate on a pull request.

In practice

Topics

Best for: AI Architect, AI Product Manager, Software Engineer, MLOps Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by AI Engineer.