IDE Companion for PostHog
Bring PostHog into your editor. Monitor your product, investigate errors, manage feature flags, and query analytics without leaving VS Code. FeaturesProactive DiscoveriesThe extension polls your PostHog project every 5 minutes and surfaces what needs attention in the sidebar: active errors, firing alerts, concluded experiments, stale feature flags, and rollbacks. AI-Powered ChatA built-in chat backed by Claude or GPT with full access to your PostHog data and codebase. Ask questions, take action, and get code suggestions in one place. All code changes and data mutations require your explicit approval before executing. IntegrationAnalyzes your codebase, figures out the right PostHog SDK and config, and shows you visual diffs for approval before changing anything. Watch demo Custom Event TrackingScans your codebase for places where event captures make sense. Highlight a function and say "add captures here." Watches new files and suggests captures automatically. Watch demo Error InvestigationActive errors show up in the Discoveries sidebar. Click one and the AI pulls the stack trace, searches your codebase, and proposes a fix. Watch demo Alert ManagementCreate, update, and manage PostHog alerts from VS Code. When one fires, investigate and fix in the same flow. Watch demo Feature FlagsCreate flags, spot stale ones at 100% rollout for over 30 days, and catch rollbacks. Highlight code to wrap it in a flag, toggle flags on/off from chat. Watch demo DashboardsAsk "how many users signed up this week?" and the AI queries PostHog, builds insights, and assembles dashboards you can share with your team. Watch demo SurveysDescribe a survey in plain English and the AI creates it in PostHog and proposes code changes to wire it into your app. Watch demo Getting Started
The extension starts polling your project immediately and surfaces discoveries as they come in. Requirements
FeedbackFound a bug or have a feature request? Open an issue on GitHub. LicenseMIT |