All 556 Dependencies
Every package PostHog depends on, ranked by repo health score.
PostHog is an open source platform that gives product engineers every tool they need to understand user behavior and ship better products — without stitching together multiple SaaS subscriptions or sending customer data to third parties. It unifies product analytics, web analytics, session replay, feature flags, A/B experiments, error tracking, surveys, data warehousing, and CDP pipelines into a single deployable stack. Teams get a generous free tier on PostHog Cloud, or can self-host the MIT-licensed open source core on their own infrastructure.
The platform is built on a polyglot architecture: a Django 5 backend handles the product API and business logic, high-throughput event ingestion runs in Rust (the capture service handles millions of events per second with sub-millisecond overhead), feature flag evaluation is served from a dedicated Rust flags service for low latency, and the frontend is a large TypeScript/React application using Kea for state management. ClickHouse is the analytical backbone for querying billions of events, while PostgreSQL handles transactional data.
PostHog has grown beyond analytics into a full product OS. It now ships AI observability (tracing LLM generations, latency, and cost), workflow automation, a built-in MCP server for AI assistants, revenue analytics, desktop and mobile session recordings, and a visual review tool for design feedback. The codebase is actively evolving toward a modular product-boundary architecture using Turborepo selective testing and tach import enforcement, letting individual product teams iterate independently at scale.
With over 35,000 GitHub stars, 78 distinct product modules, and more than 2,900 commits per month, PostHog is one of the most actively developed open source projects in the developer tools space.