PostHog
Also known as: PostHog AI, PostHog AI Observability, PostHog LLM Analytics, posthog.com
PostHog is an open source product platform for engineers, with analytics, session replay, feature flags and error tracking on one event stream. Its AI layer has two halves. AI Observability traces every LLM generation, tool call, cost and latency in the agents a team builds, scores live traffic with evaluations and alerts on anomalies. PostHog AI is an agent that queries product data, builds dashboards, surveys and flags, and works from the web app, Slack or any coding agent through MCP.
PostHog sells a suite of developer focused product tools that share one event pipeline: product and web analytics, session replay, feature flags and experiments, error tracking, surveys, logs, a data warehouse with synced sources, and messaging workflows. The core code is MIT licensed, every product carries a free monthly allowance, and the company says 97% of the companies using it pay nothing. Its AI products sit on the same pipeline, so a trace from an LLM feature arrives already tied to the user, the session recording and any exception it threw.
AI Observability captures generations through SDK wrappers for OpenAI, Anthropic, Google Gemini and more than a dozen other providers and frameworks, through OpenTelemetry, or by forwarding traces from Helicone, Langfuse, Traceloop or Keywords AI. Each trace is a waterfall of spans and generations with inputs, outputs, tool calls, tokens, cost and latency. Evaluations grade live traffic per generation, trace or session with LLM judges on the customer's own provider key, deterministic Hog code or a local sentiment model, and offline evaluations test changes against datasets before release.
Clustering groups similar failures, anomaly alerts learn normal cost, latency and error levels, and prompts are versioned, labeled and split across users in experiments. PostHog AI is the in product agent. It reads events, persons, sessions, cohorts and warehouse tables, writes SQL, summarizes replays, creates dashboards, surveys, alerts and feature flags, and starts a coding task on a connected GitHub repository that ends in a pull request. A semantic layer fixes how metrics such as MRR are defined, a project memory holds up to 10,000 characters of context, and scheduled scouts in the open beta self driving suite file reports to an inbox.
AI Observability includes 100,000 events a month free, shared with evaluations, then costs $0.00035 an event, falling with volume to $0.00006. PostHog AI includes 500 credits a month, worth $5, then charges $1 per 100 credits, which is the model provider's cost plus 20%, under a $150 default billing limit. Platform packages add Boost at $250 a month, Scale at $750 with SAML and OpenID Connect sign on and approval policies, and custom priced Enterprise with role based access control and SCIM. PostHog holds a SOC 2 Type 2 attestation with a public report and signs a HIPAA BAA on Boost and above. Data lives in the US cloud in Virginia or the EU cloud in Frankfurt, chosen at signup.
It fits product engineering teams shipping LLM features who want traces, evaluations and cost next to the analytics, replays and flags they already run, and teams that want an analyst agent that already knows their event data. It fits less well for a team that needs an LLM gateway for routing and caching, which PostHog does not sell, for one that needs the AI layer inside its own network, or for one that needs zero data retention from PostHog AI's model providers, which PostHog says it cannot yet promise.
Vendor details
Canonical URL
https://posthog.com
Category
Agent infrastructure
Subcategory
LLM tracing, evaluations and cost tracking for the AI products a team builds, plus an agent that analyzes and acts on product data
Funding status
Privately held. PostHog describes itself as default alive on significant revenue and not dependent on investors to grow.
Company status
independent
Use cases & customers
Primary use cases
Target customers
Deployment options
Integrations
AI Observability ingests from SDKs for Python, JavaScript and other stacks wrapping OpenAI, Anthropic, Google Gemini and more than a dozen other providers and frameworks, from OpenTelemetry, and from Helicone, Langfuse, Traceloop and Keywords AI. LLM judges run on the customer's own keys for OpenAI, Azure OpenAI, Gemini, Anthropic, OpenRouter, Fireworks or Together AI. PostHog AI reads warehouse sources such as Stripe, HubSpot, Salesforce, Zendesk, Postgres and Snowflake, opens pull requests on connected GitHub repositories and answers in Slack. The MCP server works with Claude Code, Claude Desktop, Cursor, Codex, VS Code, Windsurf, Zed, Lovable, Replit and v0.
In practice
A support chatbot team wraps its OpenAI client with the PostHog SDK. A task outcome judge grades 10% of sessions, and when the unresolved share climbs after a prompt change, an engineer opens a failing trace, sees the wrong tool was called, and jumps to the user's session replay to watch the conversation stall.
A product manager asks PostHog AI in Slack why paid upgrades fell after a billing page redesign. The agent compares upgrade rates by layout in SQL, pulls replays of users who left the page, recommends defaulting to monthly pricing, and saves the investigation as a notebook.
A finance lead wants to know which customers drive token spend. An engineer asks the PostHog MCP from Claude Code for LLM cost by model and customer this month, finds one enterprise account generating a third of the cost, and sets an anomaly alert on its daily spend.
Sources & related URLs
Related / legacy domains
Research sources
Agentic Index coverage score
11.5 / 14 capabilities · 82%
| Integrations & Tool Calling | Full |
|---|---|
|
PostHog AI acts inside PostHog itself, creating dashboards, surveys, alerts and feature flags, and reaches GitHub for writing, where it starts a coding task on a connected repository and returns a pull request for review. Scouts, the scheduled agents in the self driving suite, which is in open beta for any team that sets it up, can use the team's own shared MCP servers beside the PostHog MCP, so they act in whatever outside systems those servers reach, and they post findings to Slack channels or direct messages. Warehouse sources such as Stripe, HubSpot, Salesforce and Zendesk are synced in for reading. Sourceposthog.com/docs/self-driving/scoutsread 2026-11-09 |
|
| Workflow Orchestration | Partial |
|
One PostHog AI conversation chains many tool calls, moving from SQL to the data schema to session replays and then saving the result as a notebook. In the open beta self driving suite, scheduled scouts emit signals, a pipeline groups related signals into reports, and research and implementation agents turn a report into a pull request, with separate steering instructions for each stage. Customers get no builder for their own multistep agent graphs, branching or handoffs between agents they define. Sourceposthog.com/docs/self-driving/scoutsread 2026-11-09 |
|
| Knowledge Grounding & RAG | Partial |
|
Answers draw on the customer's own events, persons, sessions, cohorts, saved insights and synced warehouse tables, queried at question time through SQL and the data schema. A semantic layer stores team approved definitions of metrics such as active users and MRR, which the agent applies every time and marks as approved, and Azure runs semantic search over the project's actions and cohorts. There is no store for uploading company documents, wikis or policies for the agent to retrieve from. Sourceposthog.com/airead 2026-11-09 |
|
| Human Oversight & Guardrails | Full |
|
Approval policies on the Scale package turn feature flag and experiment changes into change requests that named users or roles must approve, with a quorum, optional conditions such as a rollout jump above 20%, and self approval off by default; approving over MCP needs a typed confirm. An admin must approve PostHog AI's use of outside model providers before the first chat. Scouts receive write access per object type only from their author or a project admin, and a dry run blocks every write. Sourceposthog.com/docs/settings/approvalsread 2026-11-09 |
|
| Security, Identity & Governance | Full |
|
Access control on the Boost package sets who can see and change data and features, Scale adds SAML and OpenID Connect single sign on, and Enterprise adds custom roles, SCIM provisioning from the identity provider, IP restrictions and property level access control. PostHog AI sees only what the asking user can see. The company holds a SOC 2 Type 2 attestation from an external audit, with the latest report open to read, runs annual penetration tests, and signs a HIPAA BAA on Boost and above. Sourceposthog.com/platform-packagesread 2026-11-09 |
|
| Observability & Auditability | Full |
|
Activity logs record who in the organization viewed or changed entities, kept 7 days on Boost, 2 months on Scale and 60 months on Enterprise, and every write a scout makes lands there under its owner, marked as made through MCP. For the agents a team builds, each trace is a waterfall of spans and generations with inputs, outputs, tool calls, tokens, cost and latency, linked to the user's session replay, and failed calls become grouped issues in error tracking with trace summaries and clustering alongside. Sourceposthog.com/ai-observabilityread 2026-11-09 |
|
| Memory & State Persistence | Partial |
|
PostHog AI keeps a project memory of up to 10,000 characters that persists between conversations. The /init command researches the product and saves what it finds, /remember adds facts, and people edit the text from the chat gear icon or the project's AI settings; past 5,000 characters the agent reads only the first and last 2,500. No retention period is set for it. Scouts, in open beta, keep their own memory across scheduled runs of what is normal and what they already reported. Sourceposthog.com/docs/posthog-ai/edit-memoryread 2026-11-09 |
|
| Deployment & Data Residency | Full |
|
Customers choose PostHog Cloud US, on AWS in Virginia, or PostHog Cloud EU, on AWS in Frankfurt, where data stays inside EU jurisdiction, and the MCP server routes each account to its own region. The core product is also available as MIT licensed open source that a company can run on its own servers. Transfers from the UK and EU into the US region rely on Standard Contractual Clauses, and a signed DPA is self serve on every plan, including the free one. Sourceposthog.com/handbook/company/securityread 2026-11-09 |
|
| Prebuilt Agents / Templates / Packs | Full |
|
Creating an evaluation opens a template catalog grouped into answer quality, safety, agent behavior, user insights and cost and speed, with ready judges for response quality on a 1 to 5 scale, task outcome, user correction, relevance, hallucination and prompt injection, plus Hog code and sentiment templates. PostHog also ships built in scouts that a project switches on, suggests new scouts from the project's own data, and stores agent skills with version history that a team shares through MCP. Sourceposthog.com/docs/ai-evalsread 2026-11-09 |
|
| Triggers & Channel Coverage | Full |
|
Online evaluations run on generations as they arrive, sampled anywhere from 0.1% to 100% and filtered by event or person properties, and a summary report fires after every 100 new results by default, delivered by email or Slack. Anomaly alerts learn the normal level of cost, latency and errors and fire without fixed thresholds. PostHog AI answers @PostHog mentions in Slack threads, and scouts run on intervals from 30 minutes to 30 days or on cron expressions in the project's time zone. Sourceposthog.com/docs/ai-evalsread 2026-11-09 |
|
| Model Flexibility & Routing | Full |
|
LLM judges run on whichever model the customer selects from its own provider keys for OpenAI, Azure OpenAI, Google Gemini, Anthropic, OpenRouter, Fireworks or Together AI, with a choice between explained verdicts and faster decision models and a reasoning level from minimal to high. The prompt playground compares models side by side on real inputs. PostHog AI itself runs on Anthropic, OpenAI and Google models that PostHog selects, and the customer cannot pick among them. Sourceposthog.com/docs/ai-evalsread 2026-11-09 |
|
| APIs / SDKs / MCP Extensibility | Full |
|
A hosted MCP server at mcp.posthog.com accepts OAuth or a personal API key as a bearer token, lists every tool in a public reference, and creates and edits PostHog's own objects, including flags, dashboards, experiments, surveys, prompts and evaluations, with read only mode, tool filtering and project pinning. A REST API sends traces in, queries them back and drives evaluations, reviews and clustering from the customer's code, and the PostHog CLI exposes the same tool catalog as shell commands for terminals and CI. Sourceposthog.com/docs/model-context-protocol/faqread 2026-11-09 |
|
| Testing, Debugging & Optimization | Full |
|
Evaluations score live generations, whole traces or whole sessions with LLM judges, deterministic Hog code or a local sentiment model, returning pass or fail, a numeric score or categories, with passing rules and pass rates over time. Offline evaluations run against curated datasets before a change ships, backfills regrade up to 30 days of past data, and prompt versions can be split across users in an A/B experiment that measures cost, latency and evaluation pass rate. Annotation queues route outputs to human reviewers. Sourceposthog.com/docs/ai-evalsread 2026-11-09 |
|
| Browser / Computer-use | Not documented |
|
Nothing in the AI layer drives a browser, a remote desktop or another application's interface. Agents work through PostHog's own query engine, MCP tools and API, and coding tasks run in a cloud sandbox against a cloned repository. Replay Vision scanners watch recorded user sessions and turn what they see into data a team can query, which reads past sessions rather than operating a live interface on anyone's behalf. Sourceposthog.com/airead 2026-11-09 |
|
The Agentic Index coverage score grades every vendor Full, Partial or Not documented against the same 14 buyer facing capabilities, from public evidence only. Each capability links to how all vendors in the index score on it. How this evidence is graded
Pricing
Free up to 100,000 AI Observability events a month, then $0.00035 an event, falling with volume to $0.00006. PostHog AI includes 500 credits a month, then $1 per 100 credits.
Per AI Observability event, where each evaluation run also counts as one event, and per PostHog AI credit, plus optional flat monthly platform packages
Included quota
100,000 AI Observability events a month, shared with evaluations, and 500 PostHog AI credits a month, worth $5. Free plans keep events for 1 year and pay as you go plans for 2 years. The allowance resets monthly and does not roll over.
What is public
Free allowances for AI Observability and PostHog AI, the opening and floor per event rates, the credit price and markup for PostHog AI, the default billing limit, and the monthly price of the Boost and Scale platform packages.
Billing mechanics
Cards are charged monthly through Stripe, one month after signup, for usage across every product above its free allowance. Invoicing needs an upfront credit purchase through sales, and annual commitments earn larger discounts.
Cost watchouts
Evaluation runs count toward the same event quota as the traces they grade, and LLM judges need the customer's own provider key, so judge inference is a second bill. SSO, approvals, RBAC and SCIM sit in platform packages that start at $250 a month.
Variable cost rationale
Nothing in the AI layer is flat. AI Observability bills per event, and every evaluation run adds an event on top of the generations captured, while LLM judges also run up the customer's own model bill. PostHog AI bills per credit at the model provider's cost plus 20%, so long investigations cost more than short ones. Per product billing limits cap the exposure.
Additional watchouts
Each evaluation run is billed as an AI Observability event, so heavy sampling can double event volume. PostHog AI cannot promise zero data retention from its model providers. Identity and approval controls require a platform package.
Overage / add-ons
On pay as you go, usage past the free allowance is billed per event or per credit. Each product takes its own billing limit; at the limit, further events are dropped and PostHog AI pauses until credits reset. PostHog AI starts with a $150 limit by default.
Sales call required
Mixed (some tiers require a call)
Free / trial
Free tier on every product that resets monthly, with no card required: 100,000 AI Observability events, shared with evaluations, and 500 PostHog AI credits worth $5.
Lowest paid plan
No plan tiers for the AI products. Usage is billed past the free allowance once a card is on file, and Boost is the cheapest platform package at $250 a month.
Commercial notes
PostHog says 97% of the companies using it pay nothing and that it aims to match the cheapest competitor at every scale. The core product is MIT licensed open source.
Key ambiguities
The pricing page gives the first and last per event rates for AI Observability, and the steps between $0.00035 and $0.00006 sit in the pricing calculator rather than a printed table.
Cancellation / refund
Month to month with no minimums. Prepaid credits are non refundable and expire after 12 months. Either side can end the agreement on 30 days notice.
Support SLA / resale
Community support on the free plan and email support on pay as you go, or Slack above $2,000 a month. Scale targets an 8 hour response, and Enterprise adds a dedicated account manager and a 99.95% uptime SLA with service credits.
Missing data
Intermediate per event rates and Enterprise package pricing.
Related vendors
- AgentOps — Agent observability and debugging platform: open source SDKs trace…
- AgentPhone — AgentPhone gives the AI agents a team builds their own US or…
- Agno — Python agent framework and AgentOS runtime (formerly Phidata) for…
- AIsa — Resource and payment gateway for AI agents, with one key to 110+…
- Albato — Albato is a no code integration platform that sells an embedded,…
- AlphaBitCore — AI control plane for regulated financial firms: one gateway enforces…
Alternatives to PostHog
The closest documented capability profiles to PostHog among agent infrastructure platforms tracked by Agentic Index, ordered by similarity on the same 14 point evidence the rankings use. No vendor pays for placement.
- LangSmith11.5 / 14Fuller documented coverage on Memory & State Persistence
- ZenML12.5 / 14Adds documented Browser & Computer Use
- Agno13.0 / 14Fuller documented coverage on Workflow Orchestration and Knowledge Grounding & RAG
- Braintrust10.0 / 14A lighter documented profile than PostHog
- Haystack12.0 / 14Fuller documented coverage on Workflow Orchestration and Knowledge Grounding & RAG
- LangWatch10.0 / 14A lighter documented profile than PostHog
Similarity is computed from each vendor's Agentic Index coverage score evidence, axis by axis, not from the totals. How this evidence is graded