npm · npm:@posthog/ai
@posthog/ai active
PostHog Node.js AI integrations
The latest stable version of @posthog/ai is 8.20.0, published on 2026-11-12. Verified by Vigia on 2026-11-12.
| Latest stable version | 8.20.0 |
|---|---|
| Published | 2026-11-12 16:32:23 UTC |
| Install | npm install @posthog/ai@latest |
| Requires (engines) | {"node":"^20.20.0 || >=22.22.0"} |
| Peer dependencies | genkit ^1.0.0 openai ^6.48.0 || ^7.0.0 langchain >=1.5.5 <2.0.0 @google/adk ^2.0.0 posthog-node ^5.0.0 @google/genai ^1.52.0 || ^2.18.0 @openai/agents ^0.8.0 @langchain/core ^1.2.3 @ai-sdk/provider ^2.0.0 || ^3.0.0 || ^4.0.0 @anthropic-ai/sdk >=0.112.3 <0.135.0 @opentelemetry/api ^1.9.0 @anthropic-ai/claude-agent-sdk ^0.3.251 @opentelemetry/exporter-trace-otlp-http >=0.200.0 <1.0.0 |
| Dist-tags | latest: 8.20.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 17:44:39 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "@posthog/ai", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/@posthog/ai . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-12 16:32:23 UTC · 0 days ago |
| Stable releases in the last 12 months | 205 |
| Published versions | 264 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
8.20.0 | 2026-11-12 16:32:23 UTC |
8.19.3 | 2026-11-12 09:57:35 UTC |
8.19.2 | 2026-11-10 13:32:01 UTC |
8.19.1 | 2026-11-10 04:50:05 UTC |
8.19.0 | 2026-11-09 09:02:28 UTC |
8.18.6 | 2026-11-09 08:21:18 UTC |
8.18.5 | 2026-11-05 19:15:19 UTC |
8.18.4 | 2026-11-05 12:41:24 UTC |
8.18.3 | 2026-11-03 13:02:55 UTC |
8.18.2 | 2026-11-02 18:35:51 UTC |
8.18.1 | 2026-11-02 13:54:51 UTC |
8.18.0 | 2026-11-02 10:37:41 UTC |
8.17.2 | 2026-10-29 19:42:40 UTC |
8.17.1 | 2026-10-29 13:32:07 UTC |
8.17.0 | 2026-10-26 20:09:56 UTC |
8.16.3 | 2026-10-23 15:12:51 UTC |
8.16.2 | 2026-10-23 13:46:53 UTC |
8.16.1 | 2026-10-22 22:48:38 UTC |
8.16.0 | 2026-10-22 18:36:26 UTC |
8.15.2 | 2026-10-22 14:27:04 UTC |
Showing the 20 most recent of 264 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 4.4.0 |
node 18 | 4.4.0 |
node 20 | 8.20.0 |
node 22 | 8.20.0 |
node 24 | 8.20.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of @posthog/ai?
The latest stable version of @posthog/ai is 8.20.0, published on 2026-11-12. Verified by Vigia on 2026-11-12.
How do I install the latest version of @posthog/ai?
Run npm install @posthog/ai@latest. The latest stable version is 8.20.0 (verified 2026-11-12).
Is @posthog/ai deprecated?
No. @posthog/ai is not marked as deprecated in the registry.
Which Node.js version does @posthog/ai require?
@posthog/ai 8.20.0 declares this requirement: {"node":"^20.20.0 || >=22.22.0"}.
Does @posthog/ai 8.20.0 have known vulnerabilities?
No known advisories affect @posthog/ai 8.20.0 according to the data Vigia checks.
Is @posthog/ai still maintained?
@posthog/ai published 205 stable releases in the last 12 months; the most recent was 0 days ago. Activity: active.
Observed changes
- hu Nov 12 2026 17:44:39 GMT+0000 (Coordinated Universal Time) — released 8.19.3 → 8.20.0
- hu Nov 12 2026 11:44:34 GMT+0000 (Coordinated Universal Time) — released 8.19.2 → 8.19.3
- ue Nov 10 2026 13:44:01 GMT+0000 (Coordinated Universal Time) — released 8.19.1 → 8.19.2
- ue Nov 10 2026 05:43:54 GMT+0000 (Coordinated Universal Time) — released 8.19.0 → 8.19.1
- Mon Nov 09 2026 09:43:25 GM +0000 (Coordinated Universal Time) — released 8.18.5 → 8.19.0
- hu Nov 05 2026 19:42:18 GMT+0000 (Coordinated Universal Time) — released 8.18.4 → 8.18.5
- hu Nov 05 2026 13:42:12 GMT+0000 (Coordinated Universal Time) — released 8.18.3 → 8.18.4
- ue Nov 03 2026 13:41:23 GMT+0000 (Coordinated Universal Time) — released 8.18.2 → 8.18.3
- Mon Nov 02 2026 19:41:07 GM +0000 (Coordinated Universal Time) — released 8.18.1 → 8.18.2
- Mon Nov 02 2026 15:41:03 GM +0000 (Coordinated Universal Time) — released 8.18.0 → 8.18.1
- Mon Nov 02 2026 11:40:58 GM +0000 (Coordinated Universal Time) — released 8.17.2 → 8.18.0
- hu Oct 29 2026 23:39:25 GMT+0000 (Coordinated Universal Time) — released 8.17.2 → 8.17.2
- hu Oct 29 2026 21:39:24 GMT+0000 (Coordinated Universal Time) — released 8.17.1 → 8.17.2
- hu Oct 29 2026 13:38:08 GMT+0000 (Coordinated Universal Time) — released 8.17.0 → 8.17.1
- Mon Oct 26 2026 21:37:10 GM +0000 (Coordinated Universal Time) — released 8.16.3 → 8.17.0
- Fri Oct 23 2026 16:21:21 GM +0000 (Coordinated Universal Time) — released 8.16.2 → 8.16.3
- Fri Oct 23 2026 14:21:13 GM +0000 (Coordinated Universal Time) — released 8.16.1 → 8.16.2
- Fri Oct 23 2026 00:18:55 GM +0000 (Coordinated Universal Time) — released 8.16.0 → 8.16.1
- hu Oct 22 2026 20:18:52 GMT+0000 (Coordinated Universal Time) — released 8.15.2 → 8.16.0
- hu Oct 22 2026 16:18:47 GMT+0000 (Coordinated Universal Time) — released 8.15.1 → 8.15.2
- hu Oct 22 2026 14:18:45 GMT+0000 (Coordinated Universal Time) — released 8.15.0 → 8.15.1
- hu Oct 22 2026 12:18:27 GMT+0000 (Coordinated Universal Time) — released 8.14.5 → 8.15.0
- hu Oct 22 2026 06:09:58 GMT+0000 (Coordinated Universal Time) — released 8.14.4 → 8.14.5
- Wed Oct 21 2026 18:58:21 GM +0000 (Coordinated Universal Time) — released 8.14.4 → 8.14.4
- Wed Oct 21 2026 16:58:20 GM +0000 (Coordinated Universal Time) — released 8.14.3 → 8.14.4
- ue Oct 20 2026 18:57:52 GMT+0000 (Coordinated Universal Time) — released 8.14.2 → 8.14.3
- Mon Oct 19 2026 16:57:02 GM +0000 (Coordinated Universal Time) — released 8.14.2 → 8.14.2
- Mon Oct 19 2026 14:57:00 GM +0000 (Coordinated Universal Time) — released 8.14.1 → 8.14.2
- hu Oct 15 2026 16:36:43 GMT+0000 (Coordinated Universal Time) — released 8.14.1 → 8.14.1
- hu Oct 15 2026 14:36:41 GMT+0000 (Coordinated Universal Time) — released 8.14.0 → 8.14.1
Related packages
- @ai-sdk/provider
- @anthropic-ai/claude-agent-sdk
- @anthropic-ai/sdk
- @google/genai
- @langchain/core
- @openai/agents
- @opentelemetry/api
- @opentelemetry/exporter-trace-otlp-http
- genkit
- langchain
- @webcomponents/webcomponentsjs
- @types/humps
- log-utils
- sqlite
- ldapjs
- vanilla-cookieconsent
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@posthog/ai) [](https://vigia.coredls.cloud/npm/@posthog/ai) [](https://vigia.coredls.cloud/npm/@posthog/ai)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@posthog/ai
GET https://vigia.coredls.cloud/v1/packages/npm/@posthog/ai/versions/{version}