Skip to content
JS
Package

@posthog/ai

PostHog Node.js AI integrations

v8.13.2, 24 Sept 2026MITESM + CommonJSTypes: BundledMonitoring and error trackingTypeScript tooling
$ npm install @posthog/ai

Key numbers

As of 25 Sept 2026
Weekly downloads
507.7k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
today
v8.13.2
GitHub stars
610
347 forks
Open issues / PRs
113 / 50
Contributors
-
Commits, last 52 weeks
2,562

No weekly download data in the snapshot.

507,662 downloads last week, 2,457,796 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
178231 in total
Latest version
8.13.2, 24 Sept 2026today
First published
21 Jan 2025
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
113
Open pull requests
50
Commits, last 52 weeks
2,562
Dependents on npm
14

Major versions

  1. v8 first release 8.0.0, 8 Jun 2026
  2. v7 first release 7.0.0, 6 Nov 2025
  3. v6 first release 6.0.0, 7 Aug 2025
  4. v5 first release 5.0.0, 2 Jun 2025
  5. v4 first release 4.0.0, 24 Apr 2025
  6. v3 first release 3.0.0, 6 Feb 2025
  7. v2 first release 2.0.0, 21 Jan 2025
  8. v1 first release 1.0.1, 21 Jan 2025

Recent releases

VersionPublished
8.13.224 Sept 2026
8.13.121 Sept 2026
8.13.017 Sept 2026
8.12.115 Sept 2026
8.12.015 Sept 2026
8.11.215 Sept 2026
8.11.114 Sept 2026
8.11.010 Sept 2026
8.10.410 Sept 2026
8.10.39 Sept 2026
8.10.27 Sept 2026
8.10.13 Sept 2026
8.10.02 Sept 2026
8.9.31 Sept 2026
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^20.20.0 || >=22.22.0
Runtimes
-
Unpacked size (npm)
3.1 MB
Dependencies (3)
zoduuid@posthog/core
Peer dependencies (13)
openailangchain@google/adkposthog-node@google/genai@openai/agents@langchain/core@ai-sdk/provider@anthropic-ai/sdk@opentelemetry/api@opentelemetry/sdk-trace-base@anthropic-ai/claude-agent-sdk@opentelemetry/exporter-trace-otlp-http
npm install @posthog/ai
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@posthog/ai@8.13.2/
  • unpkghttps://unpkg.com/@posthog/ai@8.13.2/
  • esm.shhttps://esm.sh/@posthog/ai@8.13.2
PackageWeekly downloadsGzipLast releaseModuleComparison
langfuse-langchain96.3k-9 days agoESM + CommonJS-
@segment/analytics-consent-wrapper-onetrust16.8k-11 months agoESM + CommonJS-
@grafana/ui69k-9 days agoESM + CommonJS-
judgeval29.3k-16 days agoESM + CommonJS-
@pothos/plugin-tracing29k-11 days agoESM + CommonJS-
@pothos/tracing-opentelemetry12k-2 months agoESM + CommonJS-
@pothos/tracing-sentry8.4k-2 months agoESM + CommonJS-
@microsoft/agents-a365-observability43k-4 months agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.