Skip to content
Agents tracked: 492 Releases (7d): 545 Agent status: 1 with issuesSince last limit reset: Claude 9d · Codex 7d For AI agents: Markdown Updated Nov 20, 2026

PostHog

Product analytics SDK to track events and user behavior in Python applications.

Logging, monitoring and analyticsPYPI

GitHubWebsiteAPI page

1. License

License from PyPI license expression.

github.com/posthog/posthog-python

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What PostHog does

Product analytics SDK to track events and user behavior in Python applications.

PostHog popularity

56 / 100
Gid Score, #1231 overall
11.8M
downloads a week, pypi
65
GitHub stars
9
agent projects use it
PostHog: downloads per weekPyPI, posthog 11,833,948
PostHog: GitHub starsposthog/posthog-python 65

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How PostHog is used

  • PostHog is a dependency in 9 of the 6,254 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,063, Ethereum and EVM 1,777, 3D and games 3,120, agent frameworks and SDKs 13,629); counting those, it appears in 378 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is Sentry SDK (26 projects).
  • Projects that use it most often also use Pydantic (95.8%), OpenAI Python Library (94.4%), backoff (93.4%).

By coding agent

7 projects, 0.2%
5 projects, 0.2%

Often used with

In 95.8% of its projects
In 94.4% of its projects
In 93.4% of its projects
In 93.4% of its projects
In 92.9% of its projects
In 92.3% of its projects
In 92.3% of its projects

More about PostHog

Agent Skills for it
  • posthog-automation: Automate PostHog tasks via Rube MCP (Composio): events, feature flags, projects, user profiles, annotations. Always search tools first for c
  • posthog-adblock-bypass: Configure a Next.js app using posthog-js so session recording and dead-click capture survive browser ad blockers. Aliases the three blocker-
  • posthog: Read PostHog analytics: your user, projects, saved insights. Trigger phrases: posthog, analytics, posthog insights.

See all

More in Logging, monitoring and analytics

Alternatives

PostHog This page

MITGid 5611.8M/wk

Sentry SDK

Error tracking and performance monitoring SDK for Python applications.

MITGid 6536.3M/wk

Compare PostHog with another tool

Get started

Install it.

pip install posthog

No step-by-step start for PostHog yet: we have not written its hand-checked card.