Packages

@posthog/ai

8.22.0 · 20 Nov 2026MIT1.9M / weekRepositoryHomepagenpmAtom feed

Your version

8.10.0

2 Sep 2026Where it was published

8.22.0 is the newest release of 8.x.

In short

1 new

Release note

Minor Changes

  • Add a Google ADK (@google/adk) observability adapter. @posthog/ai/adk exposes PostHogADKPlugin, an ADK BasePlugin that captures a full $ai_generation event (input, output, model, token usage, latency, finish reason, trace id, session id, distinct id and groups) for every model call an ADK agent makes, funnelling through the shared captureAiGeneration primitive so PostHog derives cost from the model and tokens.
    (2026-09-02)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.