@posthog/ai
8.22.0 · 20 Nov 2026MIT1.9M / weekRepositoryHomepagenpmAtom feed
7.21.0 is the newest release of 7.x.
In short
2 new
Release note
Minor Changes
Add
PostHogSpanProcessoras a self-contained OpenTelemetrySpanProcessorthat handles batching and export internally. BothPostHogSpanProcessorandPostHogTraceExporternow automatically filter to AI-related spans only (gen_ai.*,llm.*,ai.*,traceloop.*).
(2026-04-14)Add OpenAI Agents SDK tracing support via
@posthog/ai/openai-agents. ImplementsPostHogTracingProcessorthat captures agent traces, spans, and LLM generations as PostHog LLM analytics events. Supports all span types including generation, response, function/tool, agent, handoff, guardrail, custom, audio, and MCP.
(2026-04-14)
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.