:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(llma): rename visible/comments from LLMA to AIO (#59264)
Radu Raicea60d10aafdf1b
diff --git a/.github/CODEOWNERS-soft b/.github/CODEOWNERS-softindex 128651bc8d5d..120c2517b3a1 100644--- a/.github/CODEOWNERS-soft+++ b/.github/CODEOWNERS-soft@@ -143,27 +143,27 @@ frontend/src/layout/navigation-3000/sidepanel/panels/SdkDoctor @PostHog/team-gro# Weekly digest - owned by @PostHog/team-growthposthog/temporal/weekly-digest @PostHog/team-growth-# LLM Analytics - owned by @PostHog/team-llm-analytics-Dockerfile.llm-analytics @PostHog/team-llm-analytics-docs/onboarding/llm-analytics/** @PostHog/team-llm-analytics-frontend/src/scenes/onboarding/sdks/llm-analytics/ @PostHog/team-llm-analytics-nodejs/src/ingestion/ai/ @PostHog/team-llm-analytics-nodejs/src/llm-analytics/ @PostHog/team-llm-analytics-posthog/hogql/database/schema/ai_events.py @PostHog/team-llm-analytics-posthog/hogql_queries/ai/ @PostHog/team-llm-analytics-posthog/models/ai_events/ @PostHog/team-llm-analytics-posthog/tasks/llm_analytics_usage_report.py @PostHog/team-llm-analytics-posthog/tasks/test/test_llm_analytics_usage_report.py @PostHog/team-llm-analytics-posthog/templates/email/llm_analytics_*.html @PostHog/team-llm-analytics-posthog/temporal/llm_analytics/ @PostHog/team-llm-analytics-products/llm_analytics/** @PostHog/team-llm-analytics-services/mcp/src/generated/llm_analytics/ @PostHog/team-llm-analytics-services/mcp/src/tools/generated/llm_analytics.ts @PostHog/team-llm-analytics-services/mcp/src/tools/llmAnalytics/ @PostHog/team-llm-analytics-services/mcp/src/ui-apps/apps/generated/llm-costs.tsx @PostHog/team-llm-analytics+# AI observability - owned by @PostHog/team-ai-observability+Dockerfile.llm-analytics @PostHog/team-ai-observability+docs/onboarding/llm-analytics/** @PostHog/team-ai-observability+frontend/src/scenes/onboarding/sdks/llm-analytics/ @PostHog/team-ai-observability+nodejs/src/ingestion/ai/ @PostHog/team-ai-observability+nodejs/src/llm-analytics/ @PostHog/team-ai-observability+posthog/hogql/database/schema/ai_events.py @PostHog/team-ai-observability+posthog/hogql_queries/ai/ @PostHog/team-ai-observability+posthog/models/ai_events/ @PostHog/team-ai-observability+posthog/tasks/llm_analytics_usage_report.py @PostHog/team-ai-observability+posthog/tasks/test/test_llm_analytics_usage_report.py @PostHog/team-ai-observability+posthog/templates/email/llm_analytics_*.html @PostHog/team-ai-observability+posthog/temporal/llm_analytics/ @PostHog/team-ai-observability+products/llm_analytics/** @PostHog/team-ai-observability+services/mcp/src/generated/llm_analytics/ @PostHog/team-ai-observability+services/mcp/src/tools/generated/llm_analytics.ts @PostHog/team-ai-observability+services/mcp/src/tools/llmAnalytics/ @PostHog/team-ai-observability+services/mcp/src/ui-apps/apps/generated/llm-costs.tsx @PostHog/team-ai-observability# LLM Gateway - owned by @PostHog/team-llm-gateway-nodejs/src/ingestion/ai/costs/ @PostHog/team-llm-analytics @PostHog/team-llm-gateway+nodejs/src/ingestion/ai/costs/ @PostHog/team-ai-observability @PostHog/team-llm-gatewayproducts/llm_analytics/backend/api/proxy.py @PostHog/team-llm-gatewayproducts/llm_analytics/backend/api/test/test_proxy.py @PostHog/team-llm-gatewayproducts/llm_analytics/frontend/playground/ @PostHog/team-llm-gateway@@ -174,7 +174,7 @@ services/llm-gateway/ @PostHog/team-llm-gateway.github/workflows/ci-llm-gateway.yml @PostHog/team-devex @PostHog/team-llm-gateway.github/workflows/llm-gateway-cd.yml @PostHog/team-devex @PostHog/team-llm-gateway.github/workflows/update-ai-costs.yml @PostHog/team-devex @PostHog/team-llm-gateway-.github/workflows/cd-llm-analytics-image.yml @PostHog/team-devex @PostHog/team-llm-analytics+.github/workflows/cd-llm-analytics-image.yml @PostHog/team-devex @PostHog/team-ai-observability.github/actions/** @PostHog/team-devex.github/dependabot.yml @PostHog/team-devex.github/pull_request_template.md @PostHog/team-devexdiff --git a/README.md b/README.mdindex 89d377b8e2fa..41e183cebf26 100644--- a/README.md+++ b/README.md@@ -32,7 +32,7 @@- [Surveys](https://posthog.com/surveys): Ask anything with our collection of no-code survey templates, or build custom surveys with our survey builder.- [Data warehouse](https://posthog.com/data-warehouse): Sync data from external tools like Stripe, Hubspot, your data warehouse, and more. Query it alongside your product data.- [Data pipelines](https://posthog.com/cdp): Run custom filters and transformations on your incoming data. Send it to 25+ tools or any webhook in real time or batch export large amounts to your warehouse.-- [LLM analytics](https://posthog.com/docs/llm-analytics): Capture traces, generations, latency, and cost for your LLM-powered app.+- [AI observability](https://posthog.com/docs/ai-observability): Capture traces, generations, latency, and cost for your LLM-powered app.- [Workflows](https://posthog.com/docs/workflows): Create workflows that automate actions or send messages to your users.Best of all, all of this is free to use with a [generous monthly free tier](https://posthog.com/pricing) for each product. Get started by signing up for [PostHog Cloud US](https://us.posthog.com/signup) or [PostHog Cloud EU](https://eu.posthog.com/signup).diff --git a/common/ingestion/acceptance_tests/implementation-plan.md b/common/ingestion/acceptance_tests/implementation-plan.mdindex 7aeb10e150e9..002ddbaa4bf4 100644--- a/common/ingestion/acceptance_tests/implementation-plan.md+++ b/common/ingestion/acceptance_tests/implementation-plan.md@@ -2,7 +2,7 @@## Overview-Python-based acceptance tests for the LLM Analytics capture pipeline, testing against an existing PostHog instance.+Python-based acceptance tests for the AI observability capture pipeline, testing against an existing PostHog instance.## Test Executiondiff --git a/common/ingestion/acceptance_tests/test_llm_analytics.py b/common/ingestion/acceptance_tests/test_llm_analytics.pyindex 644bd468f466..cf7ce00f558f 100644--- a/common/ingestion/acceptance_tests/test_llm_analytics.py+++ b/common/ingestion/acceptance_tests/test_llm_analytics.py@@ -1,4 +1,4 @@-"""LLM Analytics capture tests - tests multipart blob upload and S3 storage."""+"""AI observability capture tests - tests multipart blob upload and S3 storage."""import osimport re@@ -247,7 +247,7 @@ def assert_parts_order_and_details(response_data, expected_parts):@pytest.mark.usefixtures("shared_org_project")class TestLLMAnalytics:- """Test LLM Analytics capture flow with multipart requests and S3 storage."""+ """Test AI observability capture flow with multipart requests and S3 storage."""# ============================================================================# PHASE 1: HTTP ENDPOINTdiff --git a/devenv/intent-map.yaml b/devenv/intent-map.yamlindex 1b359cf17bdd..7fe236186439 100644--- a/devenv/intent-map.yaml+++ b/devenv/intent-map.yaml@@ -94,7 +94,7 @@ capabilities:docker_profiles: [opensearch]llm_analytics_sentiment:- description: 'Sentiment classification model for LLM Analytics (installs torch, optimum ~2GB)'+ description: 'Sentiment classification model for AI observability (installs torch, optimum ~2GB)'requires: [temporal_workflows]docker_profiles: []uv_groups: [sentiment]diff --git a/docs/onboarding/llm-analytics/_snippets/notable-generation-properties.tsx b/docs/onboarding/llm-analytics/_snippets/notable-generation-properties.tsxindex c460afb6a961..6249dfbe6d11 100644--- a/docs/onboarding/llm-analytics/_snippets/notable-generation-properties.tsx+++ b/docs/onboarding/llm-analytics/_snippets/notable-generation-properties.tsx@@ -18,7 +18,7 @@ export const NotableGenerationProperties = (): JSX.Element => {| \`$ai_output_choices\` | List of response choices from the LLM || \`$ai_output_tokens\` | The number of tokens in the output (often found in \`response.usage\`) || \`$ai_total_cost_usd\` | The total cost in USD (input + output) |- | [[...]](https://posthog.com/docs/llm-analytics/generations#event-properties) | See [full list](https://posthog.com/docs/llm-analytics/generations#event-properties) of properties|+ | [[...]](https://posthog.com/docs/ai-observability/generations#event-properties) | See [full list](https://posthog.com/docs/ai-observability/generations#event-properties) of properties|`}</Markdown></>diff --git a/docs/onboarding/llm-analytics/claude-agent-sdk.tsx b/docs/onboarding/llm-analytics/claude-agent-sdk.tsxindex 2749118d3b35..2e29bcf26e40 100644--- a/docs/onboarding/llm-analytics/claude-agent-sdk.tsx+++ b/docs/onboarding/llm-analytics/claude-agent-sdk.tsx@@ -44,10 +44,10 @@ export const getClaudeAgentSDKSteps = (ctx: OnboardingComponentsContext): StepDe<CalloutBox type="fyi" icon="IconInfo" title="Proxy note"><Markdown>These SDKs **do not** proxy your calls. They only fire off an async call to PostHog in the- background to send the data. You can also use LLM analytics with other SDKs or our API, but- you will need to capture the data in the right format. See the schema in the [manual capture- section](https://posthog.com/docs/llm-analytics/installation/manual-capture) for more- details.+ background to send the data. You can also use AI observability with other SDKs or our API,+ but you will need to capture the data in the right format. See the schema in the [manual+ capture section](https://posthog.com/docs/ai-observability/installation/manual-capture) for+ more details.</Markdown></CalloutBox></>diff --git a/docs/onboarding/llm-analytics/openai-agents.tsx b/docs/onboarding/llm-analytics/openai-agents.tsxindex b3687f5d3c47..67fdff3b7d56 100644--- a/docs/onboarding/llm-analytics/openai-agents.tsx+++ b/docs/onboarding/llm-analytics/openai-agents.tsx@@ -44,10 +44,10 @@ export const getOpenAIAgentsSteps = (ctx: OnboardingComponentsContext): StepDefi<CalloutBox type="fyi" icon="IconInfo" title="Proxy note"><Markdown>These SDKs **do not** proxy your calls. They only fire off an async call to PostHog in the- background to send the data. You can also use LLM analytics with other SDKs or our API, but- you will need to capture the data in the right format. See the schema in the [manual capture- section](https://posthog.com/docs/llm-analytics/installation/manual-capture) for more- details.+ background to send the data. You can also use AI observability with other SDKs or our API,+ but you will need to capture the data in the right format. See the schema in the [manual+ capture section](https://posthog.com/docs/ai-observability/installation/manual-capture) for+ more details.</Markdown></CalloutBox></>diff --git a/docs/published/handbook/engineering/ai/sandboxed-agents.md b/docs/published/handbook/engineering/ai/sandboxed-agents.mdindex 4bda57fcd342..6c81968e964c 100644--- a/docs/published/handbook/engineering/ai/sandboxed-agents.md+++ b/docs/published/handbook/engineering/ai/sandboxed-agents.md@@ -18,7 +18,7 @@ it's simpler and doesn't need a sandbox.| ----------------------------------------------------------------------------------------------- | ---------------------------------- || Signals team building an enrichment pipeline that generates reports from PostHog analytics data | Sandboxed agent (this page) || Conversations team building a support agent that queries PostHog and customer documentation | Sandboxed agent (this page) |-| LLM analytics summarizing a funnel, generating a natural-language insight title | LLM gateway via `get_llm_client()` |+| AI observability summarizing a funnel, generating a natural-language insight title | LLM gateway via `get_llm_client()` || Not sure | Ask in `#team-posthog-ai` |**Rule of thumb**: if the LLM needs to _do things_ (query data, read files, create branches, open PRs), use a sandboxed agent.diff --git a/docs/published/handbook/engineering/ai/writing-skills.md b/docs/published/handbook/engineering/ai/writing-skills.mdindex 3d0057f27df0..71db3f5f0ed0 100644--- a/docs/published/handbook/engineering/ai/writing-skills.md+++ b/docs/published/handbook/engineering/ai/writing-skills.md@@ -67,7 +67,7 @@ The decision flow:Additional signals that a skill is the right answer even when tool prompts are already solid:-- **Complex inputs or outputs.** LLM analytics, logs, and other query-style endpoints have nested or non-obvious payload shapes the agent has to reason over. Ship a skill so it doesn't rediscover that shape every conversation.+- **Complex inputs or outputs.** AI observability, logs, and other query-style endpoints have nested or non-obvious payload shapes the agent has to reason over. Ship a skill so it doesn't rediscover that shape every conversation.- **The guidance naturally splits into entry point plus references.**SQL skills are the canonical example — a top-level workflow with optional schemas, query patterns, and function indexes loaded on demand. If your guidance has that shape, structure it as a skill with `references/`.@@ -194,7 +194,7 @@ description: >```yaml# Too vague – agents can't determine when to use it-description: 'Helps with LLM analytics'+description: 'Helps with AI observability'# Too broad – an umbrella for everything isn't a skilldescription: 'Everything about PostHog AI features'diff --git a/ee/api/agentic_provisioning/views.py b/ee/api/agentic_provisioning/views.pyindex 77a455ad5afd..a4f86b5d431d 100644--- a/ee/api/agentic_provisioning/views.py+++ b/ee/api/agentic_provisioning/views.py@@ -124,7 +124,7 @@ SERVICES_CACHE_STORE_TTL = 86400_EXCLUDED_PRODUCT_TYPES = {"platform_and_support", "integrations"}-_FALLBACK_DESCRIPTION = "PostHog — product analytics, session replay, realtime destinations, feature flags & experiments, surveys, data warehouse, error tracking, llm analytics, logs, posthog ai, emails, and more."+_FALLBACK_DESCRIPTION = "PostHog — product analytics, session replay, realtime destinations, feature flags & experiments, surveys, data warehouse, error tracking, AI observability, logs, posthog ai, emails, and more."def _build_free_plan_service() -> dict[str, Any]:diff --git a/ee/billing/dags/customer_archetype_prompt.py b/ee/billing/dags/customer_archetype_prompt.pyindex 4be3f3fa20b5..8db99177e7b0 100644--- a/ee/billing/dags/customer_archetype_prompt.py+++ b/ee/billing/dags/customer_archetype_prompt.py@@ -9,7 +9,7 @@ companies (from Salesforce and product usage data) and must classify each asAI Native: The company's core product IS AI. Indicators:- Founded 2022+ OR core product is built on LLMs/generative AI/AI agents- Industry classified as "AI / Ml"-- Uses LLM analytics (has_llm_analytics = true)+- Uses AI observability (has_llm_analytics = true)- Small team (<50), high engineer density (30%+), YC-backed — common in AI startupsCloud Native: The company builds SaaS/fintech/dev tools where AI is NOT the core product. Indicators:@@ -60,7 +60,7 @@ Input:{"sf_account_id": "001X", "name": "OpenRouter", "founded_year_c": 2023, "harmonic_headcount_c": 40, "pct_engineers_c": null, "harmonic_is_yc_company_c": false, "has_llm_analytics": 1, "distinct_products_used": 7, "harmonic_industry_c": null, "clay_industry_c": null, "harmonic_funding_stage_c": null, "harmonic_total_funding_c": 40000000, "number_of_employees": null, "tech_tag_c": null, "business_model_c": null, "clearbit_business_model_c": null, "billing_country": "United States", "total_funding_raised_c": null, "harmonic_headcount_engineering_c": null}Output:-{"sf_account_id": "001X", "archetype": "AI Native", "ai_native_score": 5, "cloud_native_score": 1, "stage": "Early / Growth", "key_signals": "Founded 2023; LLM analytics user; small team (40); name and product indicate core LLM/AI infrastructure"}+{"sf_account_id": "001X", "archetype": "AI Native", "ai_native_score": 5, "cloud_native_score": 1, "stage": "Early / Growth", "key_signals": "Founded 2023; AI observability user; small team (40); name and product indicate core LLM/AI infrastructure"}Input:{"sf_account_id": "001Y", "name": "n8n", "founded_year_c": 2019, "harmonic_headcount_c": 754, "pct_engineers_c": 37, "harmonic_is_yc_company_c": false, "has_llm_analytics": 1, "distinct_products_used": 4, "harmonic_industry_c": null, "clay_industry_c": null, "harmonic_funding_stage_c": null, "harmonic_total_funding_c": null, "number_of_employees": null, "tech_tag_c": null, "business_model_c": null, "clearbit_business_model_c": null, "billing_country": "Germany", "total_funding_raised_c": 259415455, "harmonic_headcount_engineering_c": null}diff --git a/ee/hogai/README.md b/ee/hogai/README.mdindex 1ab84c476329..945dfd765e88 100644--- a/ee/hogai/README.md+++ b/ee/hogai/README.md@@ -115,7 +115,7 @@ For an example, see `frontend/src/scenes/session-recordings/filters/RecordingsUnOnce you have an initial version of the tool in place, **test the heck out of it**. Try everything you'd want as a regular user, and tune all aspects of the tool as needed: tool name, tool description, prompt of the context messages (`context_prompt_template`), and context from the frontend.-When developing, get full visibility into what the tool is doing using local PostHog LLM analytics: [http://localhost:8010/llm-analytics/traces](http://localhost:8010/llm-analytics/traces). Each _trace_ represents one human message submitted to Max, and shows the whole sequence of steps taken to answer that message.+When developing, get full visibility into what the tool is doing using local PostHog AI observability: [http://localhost:8010/llm-analytics/traces](http://localhost:8010/llm-analytics/traces). Each _trace_ represents one human message submitted to Max, and shows the whole sequence of steps taken to answer that message.If you've got any requests for Max, including around tools, let us know at #team-posthog-ai in Slack!diff --git a/ee/hogai/core/agent_modes/presets/llm_analytics.py b/ee/hogai/core/agent_modes/presets/llm_analytics.pyindex 9e0469577039..7353d166a9f9 100644--- a/ee/hogai/core/agent_modes/presets/llm_analytics.py+++ b/ee/hogai/core/agent_modes/presets/llm_analytics.py@@ -70,7 +70,7 @@ The assistant used run_hog_eval_test because:3. The assistant can iterate on the fix by running the tool again""".strip()-LLM_ANALYTICS_MODE_DESCRIPTION = "Specialized mode for LLM analytics. Search and analyze LLM traces for usage, costs, latency, and errors. Write and test Hog evaluation code against real events."+LLM_ANALYTICS_MODE_DESCRIPTION = "Specialized mode for AI observability. Search and analyze LLM traces for usage, costs, latency, and errors. Write and test Hog evaluation code against real events."class LLMAnalyticsAgentToolkit(AgentToolkit):diff --git a/ee/hogai/eval/README.md b/ee/hogai/eval/README.mdindex 19f147fcca58..7a8bba388fa6 100644--- a/ee/hogai/eval/README.md+++ b/ee/hogai/eval/README.md@@ -27,7 +27,7 @@ For historical eval runs, see the [full Experiments list in Braintrust](https://### Datasets-For offline evaluation, you typically need to collect a dataset first. You can do that in [PostHog LLM Analytics](https://us.posthog.com/llm-analytics/datasets). There are a few requirements for the shape of a dataset item:+For offline evaluation, you typically need to collect a dataset first. You can do that in [PostHog AI observability](https://us.posthog.com/llm-analytics/datasets). There are a few requirements for the shape of a dataset item:- The `input`, `output`, `metadata` fields must be valid JSON objects.- The `metadata` must contain the `team_id` field.diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 9a49735c227e..1cebacc17408 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -4,6 +4,10 @@ config:team: '2'repo: 3d760a0a-0763-477d-89ee-f1e4e92cdd78snapshots:+ ai-observability-create-prompt-experiment-modal--default--dark:+ hash: v1.k794b7964.869b55473b5014f02bfad45e670b5b5f4068be0e31d5346a66eca58c2eee4822.NfvlNrd49E6zbAmkMdWYlO8FNLtw7fLqVLYjBSDb4Gc+ ai-observability-create-prompt-experiment-modal--default--light:+ hash: v1.k794b7964.47e77f2a2cc23453ab5ada3a118b44a06a5518314e35c12cc3ad394ba2c23b8d.5FGvhbDyw7YzffSmLIb5mn4cBRI6COLTkql0Ltg3-_Icomponents-account-project-switcher--no-pending-invite--dark:hash: v1.k794b7964.5f203887ff9a239125bdb45e8dc5ba454afc6faaa1bdfd654882d7f9a09c0877.74sdd_pCedB1iDbL0rWfaOddFdnPaYoaNwf6CNU7Eoccomponents-account-project-switcher--no-pending-invite--light:@@ -1149,13 +1153,13 @@ snapshots:components-search--default--light:hash: v1.k794b7964.5e6e91e6bae311ce2310a2192f3aaff14c143b1209da18aa0dd15b30ed378c23.we_dzaxMCPNMypRkaKFEQdAyzjTfZeI4dA-hl-fLBZocomponents-search--product-recents-and-starred--dark:- hash: v1.k794b7964.1c842fd127209581e6f4237e29b6c192e9554eca6d7cef676228aa8349c9558e.ejiFyOdHt-040qSjQ97L9VY73QuA59vgzAuXTJa6Zg0+ hash: v1.k794b7964.22df1e775fc314a45651a47d2c84364561c276221a78ff7312412276b59a5b96.-d6xSe9GW0oteb2F2s7obniM1HUZ-IxQWK3YcIrnxeYcomponents-search--product-recents-and-starred--light:- hash: v1.k794b7964.6d7ebbb457b003a589697f6dd6c054fdc6405868b4c6b3a616b004b8faa97ebd.klxLctEaGXfv7Ndvi9IfZL2U7iMfOdJjO805z_Kk8-U+ hash: v1.k794b7964.093365121259b79e33584b3e0042ad3813b0e77f2af285369ab7b2bf98bd9c79.-imuS481bcvyD7kDEeyJ4mfKoQcmD451n4Lxv2IrE3gcomponents-search--searching--dark:- hash: v1.k794b7964.42d2564402c84b62e5b6a0d989d8d3c5ac0981f2cacb7bbb3c94e308ec048142.TFTKhSqhGyw_ghSjZa8Dn6-RaVKrJThtl5Qzn_1TW7Q+ hash: v1.k794b7964.3186b399678f119524fb1ee06066bda742a17215e4d98fc1d72103791d41d488.dpIb1it2pv9cxb8lahZiqy9g1MmxP5uzsKK67Xdxt3Icomponents-search--searching--light:- hash: v1.k794b7964.15e3e049951af870576d917fb5577f346eaaba44c41ef6777cf612b5bd12c397.vAC6iJHI7gFpMGCh-NJLilZZzAwiV_j1WJnnGxknlhI+ hash: v1.k794b7964.5cedfc61206131e99576f788aef90f379db4125ae219455c8ad99812773e3b11.KG9fpZuvFf0w79o6etNMJX7XV6BcePrGQ4E5_fY6EvIcomponents-sentencelist--full-sentence--dark:hash: v1.k794b7964.9d72ed5224f75be3f53f1ba8edc2547978e519aa46a57cc97eef9087b403cb7d.3yHHiA7NW-p6vVSlM-2nPx7Nbk7wuTr5SA9Av2nW--gcomponents-sentencelist--full-sentence--light:@@ -1929,9 +1933,9 @@ snapshots:layout-impersonation-reason-modal--upgrade-to-read-write--light:hash: v1.k794b7964.7686131e8d04113362f587050067e1daa76329becb2e33097cebc43792467919.B37QbmEEFysXtGrVVX0H_WUofFwz8yAI0cJah0GEK9slayout-project-tree-custom-products--all-products--dark:- hash: v1.k794b7964.2903ceece81f6d06183f2b3e13f5c9d24cb3181e5408576aa810c813be2b831d.uLLpeyo495rU3G2TSGR0vLCFfYiymzqhPF1JiTyADRY+ hash: v1.k794b7964.c64568a05f73af92c75b4f0df59b27159ea9a6dd6ff30ca45a33aa7e79e20102.4JUrIfWPMGxuu32iwtXOyrPR1Sq_Vs6yOZwtLCNXhlolayout-project-tree-custom-products--all-products--light:- hash: v1.k794b7964.44eb38aa2358468b14cec9d2ddabff660e871e04713c0002e3d73d5d78818778.dBa1GLs_UVozNhPPXfBIfPphACn-o-itN7h-woQJU8c+ hash: v1.k794b7964.4fe9fb7a86e1df11e123f7ca88b9d891799dd59aa49ff053c4203a80c84e17c7.AaSYgKfOQkLsathLYdjLNA9yz8pyqLYsBdMwJ4S731Ilayout-project-tree-custom-products--default--dark:hash: v1.k794b7964.63a9662fcf904afde9ade0dfc4ee1b8dea29c3188d0f76c0106a5c253af383a3._QUUD0_yvD5BFh6O2iPjbJRYAE1JsWWOszFVQk7GbLMlayout-project-tree-custom-products--default--light:@@ -3428,10 +3432,6 @@ snapshots:hash: v1.k794b7964.13781e9369ccfad5542a85edfbd547e4d6d770df8b5e5d0d8ec540e50608d453.RPeQpda22EpHoIa5b4UePdKIimFuTS9NAwcGP9ccfpMlemon-ui-visual-image-diff-viewer--small-image--light:hash: v1.k794b7964.ed31587820d0216f2281ec8e610da8cb9fe8cb45f9c13e0280f17771cf84994a.spusB2C8AKwu5Tv0KOr8pkjDxgEZw5jcOlEikYAzKWI- llm-analytics-create-prompt-experiment-modal--default--dark:- hash: v1.k794b7964.869b55473b5014f02bfad45e670b5b5f4068be0e31d5346a66eca58c2eee4822.dozpV2jg-VuqvIq-iU19A5nSgFMQid1tOBXsRO9kolE- llm-analytics-create-prompt-experiment-modal--default--light:- hash: v1.k794b7964.47e77f2a2cc23453ab5ada3a118b44a06a5518314e35c12cc3ad394ba2c23b8d.4RuITG6QFCYkeM8rzFEMy-ms5DQ98JOA2Dn1MDN4Qgsmcp-apps-actions--list--light:hash: v1.k794b7964.82f7861ba5ff8494affd6cd7959f634b68ebcf4048e02742ab2e63114b8e7d5d.3JK0MyqLJbmteOokxBrWk26ekP28_-xPhphUX5ZWHbsmcp-apps-actions--multi-step--light:@@ -3440,6 +3440,12 @@ snapshots:hash: v1.k794b7964.99885bebdb645360dfa07fc5961088c8a8496339d1a56623a47fc63cb68f2fba.zYQS5B2U4_UIKFdKCa1lYj0GDjdiz_7iYD-AjrY1MLAmcp-apps-actions--url-matching--light:hash: v1.k794b7964.5e6bd1d5ef371059bc325db66c64bff464c6a192ebf3faf578a4ea5fad43a01f.WPYWZlMyCJlXHbKFBbSJKcSRsrebVK3gw8wyx_VdrBU+ mcp-apps-ai-observability--empty--light:+ hash: v1.k794b7964.142f371a27cf39712117a43bdfbd712d2a8a14966fd593b03096e7f26251a3cc.i-3gjDyAAdVus9xh-3EgnJSLzPOYYpqbmLmcNb6Sz-w+ mcp-apps-ai-observability--multi-model--light:+ hash: v1.k794b7964.030156bd11d5dded235d7284de83295777f784ae26a63c46793477930849cb53.c167sc-YOMMFX8QcEa4SwRv5p3Xq_ZbO88gzL7Dhh0w+ mcp-apps-ai-observability--single-model--light:+ hash: v1.k794b7964.5339950c1d1a3551551956952482132289ef96ca9ddce909b204574aad2e2d94.NC3WSlDWGSOaK9TqG71D5vpe8qaJ1DOTNL4tiOKw59smcp-apps-cohorts--calculating--light:hash: v1.k794b7964.ccc89a2389eb15f76a817d88dd26ff03f20210f23eed40183436261a92504399.pXD51hUgUtFpzTJd-iaVQJ5d1SRr2Ifr_1geD9qwPwYmcp-apps-cohorts--dynamic--light:@@ -3486,12 +3492,6 @@ snapshots:hash: v1.k794b7964.09249f0d06bf5ef94eaddfcd5a97b97943ed42cae7097741dd3989418ec11f50.ROO2zs_uTFgPB7eI8fwi2GIwSo_HHTlhAal5XWBmz7Ymcp-apps-feature-flags--testing-no-match--light:hash: v1.k794b7964.b5eec4d4100dc834d4c7c891e4962c9effa643ff190f3b0957d816d82ebb7269.9Hg0pCpNp895WlYr8k2m97K0fvniLuzPcRSAIWUCtg8- mcp-apps-llm-analytics--empty--light:- hash: v1.k794b7964.d90782b3a8ef0c00bb55aa421d47e99727e1b193d323cf5facec65020c892b9e.kmN0YlGh_962Uw52Ike83OYyHsVBFII_qQNAObnY-YQ- mcp-apps-llm-analytics--multi-model--light:- hash: v1.k794b7964.11a4142dfaa5c04957eac5737b127272f8df93b43729bd6f2c97abb010dcd03a.UE57snJn6BIUpMjOfEgCLNn5rgFOScNMKMmiWF0TBLM- mcp-apps-llm-analytics--single-model--light:- hash: v1.k794b7964.e80ba97ea11acf2d3fe478c2e6058ad7e9fc393fe069ba2b6a4ed07e08ce7c18.LJ3UssBX53inRxn4xz2g-m-IghWmrbVJgxIQxEQAKXEmcp-apps-surveys--active-popover--light:hash: v1.k794b7964.c47633461e9a437f0761e09f795eb793b02ed0bac4489ce757a5837dbaa3f847.wclUgXFjBkoHXJLNP2R3ncawfRArgVyVEUWbIiQve0omcp-apps-surveys--completed--light:@@ -3742,6 +3742,114 @@ snapshots:hash: v1.k794b7964.3890a68027ddecb553ca9b4a988d82bba8075644a0bfc5dd4fd47b5c73f0b942.1atD81RnbrJbsObzyVrb7g-eI6xEyd9dA1dtLit-4vwreplay-tabs-home-success--second-recording-in-list--light:hash: v1.k794b7964.1a4d94289476ddbd5a07a66a36cd2f7845ea068b0e584939897eadf421b6b26a.rRziHplrz0pUK13sf9vbOcyFz7NhCRDoPk4moGfvXjo+ scenes-app-ai-observability-conversation-display--anthropic--dark:+ hash: v1.k794b7964.9c97c85c94605b8ce34469ddb269688ff84d0c3aa87818e6f9c94745c114a434.o6eqWM3HKURlW-MBuPGhIw6sslncdZGR6-pBuz1FVBM+ scenes-app-ai-observability-conversation-display--anthropic--light:+ hash: v1.k794b7964.adac3f298511d332168d987ae7217727570c501715cf4a2b5c68433fc29b15d1.ft-g9lB5GhyduFuMQsZU3zCWQFJ-kyU4_3dUU09e9f4+ scenes-app-ai-observability-conversation-display--basic--dark:+ hash: v1.k794b7964.6653ca2b3bc07f9e9fe05b27604795ca9923bb5ee734c7a3e360afa5a16daea2.jYBXxDTmyQhBBPG5_Gj4ka-0FNczfAs43xM6qXibREg+ scenes-app-ai-observability-conversation-display--basic--light:+ hash: v1.k794b7964.792f8ce0deee70dd8efd6464e989a3614e5acf1fd09d8d97098a0e9f3b9f1bc8.yqTeJTIU8HP2BB2EfCBDS4iU-5UhwSPLxFYPSj1YJG8+ scenes-app-ai-observability-conversation-display--error--dark:+ hash: v1.k794b7964.4bb19bb7c24d5036e3d18eec8762b255d934743d95c9d3df1311d72ddcb9e6af.zI7ADQHNqQ42pSUBJ6NUHlzuL3fyW9Bjk_n1U__ILvM+ scenes-app-ai-observability-conversation-display--error--light:+ hash: v1.k794b7964.7d56ea0763dde861822b31914ce7e34ac0b0fa242e42cc43aad86f14f2dfe900.7irw8luMzLgLk_uCx9KcJi40CJu-MKHC_hTFJFjOCQA+ scenes-app-ai-observability-conversation-display--markdown--dark:+ hash: v1.k794b7964.e58ae88aeffb38713039121547d582f6414acd33e3914ebc6a4da54af21c3f85.5HiuvhUrFq0k0vSKA9Y4Pcl7pyRJ1e-BiGgZCZnjN-I+ scenes-app-ai-observability-conversation-display--markdown--light:+ hash: v1.k794b7964.f2a7077e37dde8651426d15819ea0c23c8563df9a32b4ef66748bd81821f5a3a.5fAXdFtrPSpKkR6KOPse9vatAg-W8yiX4m2YkCCaLZA+ scenes-app-ai-observability-conversation-display--tools--dark:+ hash: v1.k794b7964.2078d8cc788a3ce126cd1f2d45e95bc3be9df4f4b339ea5b07a665be2a1bd4f9.iePj4eQyD5u-50iGH-6SOgdHKzo3ezY9z-hywnI0Z80+ scenes-app-ai-observability-conversation-display--tools--light:+ hash: v1.k794b7964.0ec32dedacffd6858921fd0860c7b21dbefe8e612946b07e8a2109b4dadd814d.clIHObcocvyTCDlCCbwE7bYkqzfdHjugski89NuNWM4+ scenes-app-ai-observability-prompts--empty-state--dark:+ hash: v1.k794b7964.d28073c9a231887db42db5233d0372fdc0b077e6e49424219e96b16c99a78e73.LmaxuzeHTiXi-YbFQlb7SFOYfR_wFqyubB1GKD-n2Io+ scenes-app-ai-observability-prompts--empty-state--light:+ hash: v1.k794b7964.2cae26e43ce848599b2ab2d999d6631dbfbe3f534ea78705c9c0d3ae2805cb3c.igw_rH6rudkkOKS73xbYG9WYFBce0-g6C5z6x-H2lsE+ scenes-app-ai-observability-prompts--prompts-list--dark:+ hash: v1.k794b7964.f3f0dc06236c8cd2f8d5cc8c92483082a08515d5e1f2d9896e9a904a77b40451.EfQXE_mPrtHjISLhvhstFcXxBG5ABMT-eBYhb2ZtAxA+ scenes-app-ai-observability-prompts--prompts-list--light:+ hash: v1.k794b7964.1ce620ee3e63dc2b2290f9c0b0463d0485d50239e6bf125dbff25622810a5f7a.OzsxwM0InU0uPSqERQTOgzxpW4mD3PxCgYU0skV4YaY+ scenes-app-ai-observability-sentiment--bar-full-width--dark:+ hash: v1.k794b7964.c85f4138877bf5f706d5675ad8ebca39a87300e45359ba3f5325551815fb5885.E-9wb0W7JxbRPXtj3-swTXq2QVbMKq-BpfDn-PXxcfU+ scenes-app-ai-observability-sentiment--bar-full-width--light:+ hash: v1.k794b7964.253731fd3f549dc1774f1d818cc141b323865326db1672e3ce879c5ce8e9a232.LsKZ8EcnWvJ4P8yj7Vv7K6WqR7cSNN6me7jnRTQQTDU+ scenes-app-ai-observability-sentiment--bar-loading--dark:+ hash: v1.k794b7964.d15c0900170253f9b1f51c9f30a77ee6c6a00b429df8bc9f211d7524862a42db.xkGITv7UHGmTQ4hV_MdfQpPlWVnNeGqRuTcKpMLAoRc+ scenes-app-ai-observability-sentiment--bar-loading--light:+ hash: v1.k794b7964.4d4834d311f46a530d5d0889a762856911940ecefc3405327752d874324673fc.JQ6zD7U9-f6wFOmEOKF_L9E3TzIacm_QatVvOTfPjqY+ scenes-app-ai-observability-sentiment--bar-loading-full-width--dark:+ hash: v1.k794b7964.224b1cb37ccde69332afff5a5ae3c95483d4189f68f6a1909e7591c55f09465e.1cixEF3Wrf9uQ7RcX64_SAEcY8f3kkfcJkUTKuY6Jzk+ scenes-app-ai-observability-sentiment--bar-loading-full-width--light:+ hash: v1.k794b7964.d1fa0d2a264a187e139d55783ccaf9c8283930392fa1ab05ed94f80417a0adb3.NHulGDOhAgEsI-N9px63tpoSVU1cRWhW7o-TfbnJ3Xs+ scenes-app-ai-observability-sentiment--bar-negative--dark:+ hash: v1.k794b7964.38cfba988c51ce10a97323e473b79b2367e40e1699fd3693ba0a4cb617deff3b.kq1-dcTQW705Rsh5UkN7A9gjP_S7uFDP_Tz-N8eXn30+ scenes-app-ai-observability-sentiment--bar-negative--light:+ hash: v1.k794b7964.6a6ba9f7d0df1c649bab8a2fc56d2028af1fa710ee573157651fb137a2ec10be.OpFK_eSL_qE94E8oIrzVTF0wb0VozrgJLPX1GbhNNDU+ scenes-app-ai-observability-sentiment--bar-neutral--dark:+ hash: v1.k794b7964.db4497af66f0247a131ff6880137a4e7891bfbdbe8b918bb961bfaa1372ca4b7.zpvlVwMnwA_8UtOF-kSeU17MdnAfhwRIY-kBz3UzUHg+ scenes-app-ai-observability-sentiment--bar-neutral--light:+ hash: v1.k794b7964.b4223ad12305703c01e74d3506e3c3756a86e84464724766463168584ccddba5.2yTaz7N80i8dTfcG7kD_hHyacjcR8VERboKGZVWPQh4+ scenes-app-ai-observability-sentiment--bar-positive--dark:+ hash: v1.k794b7964.bb0c870a3d96c0e1906c07eba78b664e1ca712adc25f247c089a705496d08802.je80-wvPpwJtbIMYzC-m8RPlIvqUCjhBV4L7hmRJ6Gs+ scenes-app-ai-observability-sentiment--bar-positive--light:+ hash: v1.k794b7964.7c8dc29b8d5026e6357c42897b082c2484c0a1c9509ccb1490c55428c5a75736.NLScbDgY8baRWTZOu2-A_dfKVVc6ZnvCGJJPPoLdslA+ scenes-app-ai-observability-sentiment--bar-with-tick-marks--dark:+ hash: v1.k794b7964.b59199fb526146d5e7dc88afac6b88b509ce4a160be03804c551e2567c639db2.mKmj2EwawcaaXY8lX6BtWA23IJbk-V7UihEYZdkI57M+ scenes-app-ai-observability-sentiment--bar-with-tick-marks--light:+ hash: v1.k794b7964.714727b4533f086ffe428765b34d3e623e384f2f2756bdc97474b9a8f032bd64.omp5tdlsgM0YMnDY-rog_cm-DcJX0WY3sebCD-YsWGM+ scenes-app-ai-observability-sentiment--message-bar-negative--dark:+ hash: v1.k794b7964.7f208aa3f4f82d0d6371e124fdc633800c5d4a2378c3d8edda05ae50d7d86345.W_sAiqGAEkOdX1VjFL72wP78fXYfBYQo3f_dMxSQ4F8+ scenes-app-ai-observability-sentiment--message-bar-negative--light:+ hash: v1.k794b7964.0cdb674a69cf13b022d04529c14b92a97d79d1979629a0e00775a72c63112053.nLpUkUMqw8wR074FJm6v9lf-0bb8hr40q2Yp0h3kq3c+ scenes-app-ai-observability-sentiment--message-bar-neutral--dark:+ hash: v1.k794b7964.5c12900daeeefee6099c53e6809c70ad223868a69914d8520ee014b808424d61.hBGz5qPw5_3WdbFhSHMHEKSYWFZkdet4MtpHNSkuAMc+ scenes-app-ai-observability-sentiment--message-bar-neutral--light:+ hash: v1.k794b7964.545462ffda263267f86863d03d49a8e64fab4386f38cf34d9d0e1d96d7f64109.NJHgLPYGNgZPWlAEnAfXmxkNyuqEUHi7eow02irjwUY+ scenes-app-ai-observability-sentiment--message-bar-positive--dark:+ hash: v1.k794b7964.819c133d4b835720d0ebe6bf7e1e3a0dbffe50d2b052803823853c4d49ad79ab.ZK6UQ2nYfOND0RviSCpbPTC8sFtTUXvyyOPn1T1U1wE+ scenes-app-ai-observability-sentiment--message-bar-positive--light:+ hash: v1.k794b7964.fd8d3a45beb7db2d22c8ce726a05275163f09e5b205994bef85cbafdc3ad52ac.Iex6g6m7EUcFaCloQxpKzTzywVH0mAxOGmqqNViJz-M+ scenes-app-ai-observability-sentiment--tag-loading--dark:+ hash: v1.k794b7964.ff05242c60c4107d99322bbc0a5c6b1a2ec6a3b650b2b314b19491623b371c18.yrm-qrqN-N8B0O_-uSBSvufYGvJRKDqRxkDJiaFojvw+ scenes-app-ai-observability-sentiment--tag-loading--light:+ hash: v1.k794b7964.44ab1124e531ec3a61d0dab25ac8c4234fd0c5ff5f947b7fb5de17ef3105f6ff.8vYY4wn6Qtf6twGQ80N9Ps_oMFUjSi_Gymm6lrlivX8+ scenes-app-ai-observability-sentiment--tag-negative--dark:+ hash: v1.k794b7964.6d43d02bc8a14865960a82a96299ed0e43c570dad9a06b8dc454ce8c1106b553.W7lTiv7NPSfmovTKSKs1RNHr-ukc3I6x_fceq-ym1Tw+ scenes-app-ai-observability-sentiment--tag-negative--light:+ hash: v1.k794b7964.2a4bce3f228a8a5362918badc632ee0bb308441d88ca19753a69c4f8fc44ff10.fcjL2zGDU53oY2Tx4Hm652kSZxq2P693BYuknjN_cio+ scenes-app-ai-observability-sentiment--tag-neutral--dark:+ hash: v1.k794b7964.9884f3696f6c5e60daa4a25d59a3ba740111669e656b8b7170b25c8fb07e3e8e.EcadCkdSqs2g4iqJnGFfetQWfNpv_XOmI_5TKvQdqq4+ scenes-app-ai-observability-sentiment--tag-neutral--light:+ hash: v1.k794b7964.e699402b89ff0bfb1b8386f683dade74e24db97aeaf2c09cfb1cdb056e37770e.qGa-ILgDRXFgB9O_jFMm33XfreYzwtboDfKRHGzm4JU+ scenes-app-ai-observability-sentiment--tag-positive--dark:+ hash: v1.k794b7964.8ac25ec65efac59dc2aab2ea703fe00e8ddc78dcaf5bab53fd8daa0caebed92b.rFuOp655nlLIPRjGKk8VGSWl-JqiOYC_zbLZiPrEz1o+ scenes-app-ai-observability-sentiment--tag-positive--light:+ hash: v1.k794b7964.815de3d9207328cf5219021229f699cbcc1953137668b1896f387e7f862a2ee2.XpkSjMjcHgKuQphgeNThN63CIWAhCsa3s-KxHiwDbL8+ scenes-app-ai-observability-skills--skill-detail-side-by-side-above-2-xl-breakpoint--superwide--dark:+ hash: v1.k794b7964.50c277b4d14db73ecd72f2cb7154d82a9b494a2c653042f03ed602d3def55a7b.K9TRX11sJ5eyocWnu0zGhvXrwpLSYgv8wSI6mqUfhH8+ scenes-app-ai-observability-skills--skill-detail-side-by-side-above-2-xl-breakpoint--superwide--light:+ hash: v1.k794b7964.e48122cd455f5b0e8ebecfc2b3e291eb5564571a880c486ff7d5b6633f819640.t2kxg-neM15_R1MN5kCnN7GAQ0CdDIjN8adkR9Ej4i8+ scenes-app-ai-observability-skills--skill-detail-stacked-below-2-xl-breakpoint--medium--dark:+ hash: v1.k794b7964.8601461f92d7f15e50469008a30a3c19de5b3ba21dd0f9d68fe815b23fb9b40f.We92TW-k7KXmiPqHu9RGyDpM3rF0qA14RDJof_h-Zdk+ scenes-app-ai-observability-skills--skill-detail-stacked-below-2-xl-breakpoint--medium--light:+ hash: v1.k794b7964.c4e8581f03a2eda95ec7ed501ee5be8a48d76a24b2531c45b16a48dfd395dd9e.-Qtsu3APAvJe1VayxmyBxqiYipaSqON2QCeY3N7v2Eo+ scenes-app-ai-observability-skills--skill-detail-stacked-below-2-xl-breakpoint--wide--dark:+ hash: v1.k794b7964.4e364a5792571c3f8bc0e31af8692daed48530719acfddca05f57fb9cd5eba97.zrN4p23Dzk97U3IbgDSqlpzOUV-T8RMXHT9_UQsFTkc+ scenes-app-ai-observability-skills--skill-detail-stacked-below-2-xl-breakpoint--wide--light:+ hash: v1.k794b7964.a04c84511a1ce95496bac3b1468aea996ebdd625a80001bfaa0148f16711b29d.8lw-ld0Oq-WZteBhq1OlBxyR70h9zofRQ3qDqhenZr8+ scenes-app-ai-observability-trace--full--dark:+ hash: v1.k794b7964.b093ce06e579f850eeec204bf0a7451079ac65066c31f93b61b260b56b749273.Wh1Br6rSHluHY524NGTRjcVEVOtB9woYKzcXVuEONyk+ scenes-app-ai-observability-trace--full--light:+ hash: v1.k794b7964.82db7115cd249a9f6f76820a8306d8bf024fb795ebd6ef57de712d6e0cb35fa2.TVbZxDSpcB_I4bBHJs0HZdQeOl3WJ8vBE1HuePK_utM+ scenes-app-ai-observability-trace--full-specific-event--dark:+ hash: v1.k794b7964.b093ce06e579f850eeec204bf0a7451079ac65066c31f93b61b260b56b749273.dVlID8H5SuIrhP-dBUpKm3B-_kG0RQUv0MEtlR9aqrQ+ scenes-app-ai-observability-trace--full-specific-event--light:+ hash: v1.k794b7964.82db7115cd249a9f6f76820a8306d8bf024fb795ebd6ef57de712d6e0cb35fa2.BeNW8EZPTExXJJjnwM5SzCWV657Yi_frEOXmNIw4Pjo+ scenes-app-ai-observability-trace--without-content--dark:+ hash: v1.k794b7964.a4fcca370e0b5a56d84ce5742a4016542e00c3a15c3434019f530c0e40a81a5f.d1fBKtl07Ir5ziSSQATlUWoN8LuAgYKyvvX5hLP8Agw+ scenes-app-ai-observability-trace--without-content--light:+ hash: v1.k794b7964.84b6bc01b092a12e9ff0cb600a1a899a56a4705d58a78829852c0c968ec80551.2qqpLOOOAuv6m4M4tPHLvy8m3OblT98bbrz-7e8a1CQscenes-app-annotations--annotations--dark:hash: v1.k794b7964.112dd4e80f8d561447857a57b639ab38ab27197a26b368325131cb4a24b6ec86.QxEi1Mklv1CJikGMDdL3NuBo0lV3nK6r7n-UHPjikm4scenes-app-annotations--annotations--light:@@ -4177,7 +4285,7 @@ snapshots:scenes-app-experiments--experiment-frequentist-five-variants--dark:hash: v1.k794b7964.09d23fd44208249b4fd1555fcbdb941118bc2825dc7142bd6ba96335c9cb8f32.AipSypBKnQguXtQO9tkCsdO9IVj-_0bHqjCnFe0BE-Uscenes-app-experiments--experiment-frequentist-five-variants--light:- hash: v1.k794b7964.3c0bbbedd69ecc4c499dd0639d1f0a6943c4fb8edb471d9c792affe1f2859fae.Q0RJJMyRpPWhrkDJyEmGuWREjFzxDUscM-NRNgh4Gyc+ hash: v1.k794b7964.e184202ab354db72b08caacf7a647c081dbf1f4d830b882370edf8f1fab4c541.uwg0gIAoyM2kFfILlltXpquMpg2zt9e54PaC6eC1_QMscenes-app-experiments--experiment-frequentist-two-variants--dark:hash: v1.k794b7964.e09386503a4afe1b35afea46561b001c53fe4a0b33462b38411cf946062964d9.Wt1HdAZFHB1UJRhWLISfuBT-PnBvc6KPpc3VT1D4kF4scenes-app-experiments--experiment-frequentist-two-variants--light:@@ -4802,114 +4910,6 @@ snapshots:hash: v1.k794b7964.2ec65e5da59cc380be14c9020d4af9bd52d63f83253a09b9ea8edb4b1ba60117.6cHDU5RKup6u-oOAHuZRjklG3xHfi9KpJnBr5WkX4goscenes-app-links--new-link--light:hash: v1.k794b7964.e696865768241a6e6d433379846e73b5324a86e8391b34df68ec7d406946077f.dvtpGC9Eq_iWvBK8kcRCKxV8ETtJ6HowrhKPDm4yzw8- scenes-app-llm-analytics-conversation-display--anthropic--dark:- hash: v1.k794b7964.9c97c85c94605b8ce34469ddb269688ff84d0c3aa87818e6f9c94745c114a434.nD6icLboJES2C9Di5BTvmzjeN-zap3vueAlaRa1Ubb4- scenes-app-llm-analytics-conversation-display--anthropic--light:- hash: v1.k794b7964.adac3f298511d332168d987ae7217727570c501715cf4a2b5c68433fc29b15d1.k-dDTGrLpMF0uaH3j7O7Ybvqj2NA418WldoWjZIyoRQ- scenes-app-llm-analytics-conversation-display--basic--dark:- hash: v1.k794b7964.6653ca2b3bc07f9e9fe05b27604795ca9923bb5ee734c7a3e360afa5a16daea2._0pzPm8VGc7eW8nfGBxMxmRev31sZc0lQVHB_6MzGQY- scenes-app-llm-analytics-conversation-display--basic--light:- hash: v1.k794b7964.792f8ce0deee70dd8efd6464e989a3614e5acf1fd09d8d97098a0e9f3b9f1bc8.L1F9tVmrtQQ9boXAUocBJaA4yynaRb-OFQOPoWk-3Eo- scenes-app-llm-analytics-conversation-display--error--dark:- hash: v1.k794b7964.4bb19bb7c24d5036e3d18eec8762b255d934743d95c9d3df1311d72ddcb9e6af.zsRZ0jN8ecfOzd3UI-1-7Ehg6jyMb-Oj_3WNyRk5v78- scenes-app-llm-analytics-conversation-display--error--light:- hash: v1.k794b7964.7d56ea0763dde861822b31914ce7e34ac0b0fa242e42cc43aad86f14f2dfe900.fsQRauwrWlHOcwSG-c2i-MPuFXW8jbCH9021VznkeQ4- scenes-app-llm-analytics-conversation-display--markdown--dark:- hash: v1.k794b7964.e58ae88aeffb38713039121547d582f6414acd33e3914ebc6a4da54af21c3f85.iOI2U7E0_WJSqKlXxxkdXlcu0NHJ_iY67-SpYGQ5VU0- scenes-app-llm-analytics-conversation-display--markdown--light:- hash: v1.k794b7964.f2a7077e37dde8651426d15819ea0c23c8563df9a32b4ef66748bd81821f5a3a.lO-i1yQDfNrqUIxWsf6vIqZprwl7cPsnKHV_DmpaxnQ- scenes-app-llm-analytics-conversation-display--tools--dark:- hash: v1.k794b7964.2078d8cc788a3ce126cd1f2d45e95bc3be9df4f4b339ea5b07a665be2a1bd4f9.zZbL7EMYEUatM-XD_TYT4Fx_tE6Tp8nhiGhRDrtfvSY- scenes-app-llm-analytics-conversation-display--tools--light:- hash: v1.k794b7964.0ec32dedacffd6858921fd0860c7b21dbefe8e612946b07e8a2109b4dadd814d.69o68pheWNpN95tyduLkhWU6LLnSjE3BKOLNDCwcKjM- scenes-app-llm-analytics-prompts--empty-state--dark:- hash: v1.k794b7964.d28073c9a231887db42db5233d0372fdc0b077e6e49424219e96b16c99a78e73.6ggjiktxRBYny8uPa1eY0eo9nSTYLbiqcfNyF7uSxko- scenes-app-llm-analytics-prompts--empty-state--light:- hash: v1.k794b7964.2cae26e43ce848599b2ab2d999d6631dbfbe3f534ea78705c9c0d3ae2805cb3c.aR0au-3ize6OlCo1fcLZ1c7363bkbmEh5mHXuXSbi_c- scenes-app-llm-analytics-prompts--prompts-list--dark:- hash: v1.k794b7964.f3f0dc06236c8cd2f8d5cc8c92483082a08515d5e1f2d9896e9a904a77b40451.2QggtUaJrmNe3ZI5kHNBgec1ETfbThiuC3_ux4Uva0k- scenes-app-llm-analytics-prompts--prompts-list--light:- hash: v1.k794b7964.1ce620ee3e63dc2b2290f9c0b0463d0485d50239e6bf125dbff25622810a5f7a.91XhETznqXVy2VSur4Erhv91fkK60rh2qxBiwltzgtk- scenes-app-llm-analytics-sentiment--bar-full-width--dark:- hash: v1.k794b7964.c85f4138877bf5f706d5675ad8ebca39a87300e45359ba3f5325551815fb5885.HF7-JnftydxamLDrTOBnjsRYzjh-2srau8EcHvZ4Hko- scenes-app-llm-analytics-sentiment--bar-full-width--light:- hash: v1.k794b7964.253731fd3f549dc1774f1d818cc141b323865326db1672e3ce879c5ce8e9a232.k6HgTr0KOB_QBwrVQh_rqvDBZxJPq8Ih3o6hXKwdOy8- scenes-app-llm-analytics-sentiment--bar-loading--dark:- hash: v1.k794b7964.d15c0900170253f9b1f51c9f30a77ee6c6a00b429df8bc9f211d7524862a42db.R2JV6fdb3GB7QHmx_L9UZf50a2sM6f66MnO5oSoZV9A- scenes-app-llm-analytics-sentiment--bar-loading--light:- hash: v1.k794b7964.4d4834d311f46a530d5d0889a762856911940ecefc3405327752d874324673fc.Djuf_NoFFM2DFk8X0zew6l2gRYh5bqyhrop1rg0r-tk- scenes-app-llm-analytics-sentiment--bar-loading-full-width--dark:- hash: v1.k794b7964.224b1cb37ccde69332afff5a5ae3c95483d4189f68f6a1909e7591c55f09465e.vGBrTrLrl0RSLx1oD8NO27qYLP3cei7wn9HAx-Wy7ko- scenes-app-llm-analytics-sentiment--bar-loading-full-width--light:- hash: v1.k794b7964.d1fa0d2a264a187e139d55783ccaf9c8283930392fa1ab05ed94f80417a0adb3.jkX3wK_KCkgPOzQZTPnMaKSWq5z-_sQoUCJ4QN1Smzs- scenes-app-llm-analytics-sentiment--bar-negative--dark:- hash: v1.k794b7964.38cfba988c51ce10a97323e473b79b2367e40e1699fd3693ba0a4cb617deff3b.Dv4RvZ-4kZ9nIOOPu776LfiC0-pgRgTr_VO44ylKfPw- scenes-app-llm-analytics-sentiment--bar-negative--light:- hash: v1.k794b7964.6a6ba9f7d0df1c649bab8a2fc56d2028af1fa710ee573157651fb137a2ec10be.7TYz7CURuWjXWVtlfSSXMHE0pNxL1HFNSnfLZv2eQLI- scenes-app-llm-analytics-sentiment--bar-neutral--dark:- hash: v1.k794b7964.db4497af66f0247a131ff6880137a4e7891bfbdbe8b918bb961bfaa1372ca4b7.uMVrAnirQRB75mOvmjUskwD5qDN1dAKo8RP-Ew1hBJ4- scenes-app-llm-analytics-sentiment--bar-neutral--light:- hash: v1.k794b7964.b4223ad12305703c01e74d3506e3c3756a86e84464724766463168584ccddba5.7T2Kwh--7wIk-QoqW-ZUfG8FlZ_ScPZ1dtiWSDM0u1U- scenes-app-llm-analytics-sentiment--bar-positive--dark:- hash: v1.k794b7964.bb0c870a3d96c0e1906c07eba78b664e1ca712adc25f247c089a705496d08802.-XZblzp7rIo1Xq0TKSej1Zci65BbrceCm8li__WEtKQ- scenes-app-llm-analytics-sentiment--bar-positive--light:- hash: v1.k794b7964.7c8dc29b8d5026e6357c42897b082c2484c0a1c9509ccb1490c55428c5a75736.BhWLR6Xq4rbdn_F-PL4SeaL34mnCpDmIHqyCgIYjxic- scenes-app-llm-analytics-sentiment--bar-with-tick-marks--dark:- hash: v1.k794b7964.b59199fb526146d5e7dc88afac6b88b509ce4a160be03804c551e2567c639db2.G4fWhB6DXjI7QT3gXSx6zHShDKhqqks5hdffFyiMU6A- scenes-app-llm-analytics-sentiment--bar-with-tick-marks--light:- hash: v1.k794b7964.714727b4533f086ffe428765b34d3e623e384f2f2756bdc97474b9a8f032bd64.3ypQ1rdt6S9EPSy-c5bkV6GRBVjm3z8Rdv_CU5HDeZw- scenes-app-llm-analytics-sentiment--message-bar-negative--dark:- hash: v1.k794b7964.7f208aa3f4f82d0d6371e124fdc633800c5d4a2378c3d8edda05ae50d7d86345.Wrz8tD-WN8_cJzDBl8TmAOKWJJEiZOP1-S1HGpQozzg- scenes-app-llm-analytics-sentiment--message-bar-negative--light:- hash: v1.k794b7964.0cdb674a69cf13b022d04529c14b92a97d79d1979629a0e00775a72c63112053.wymF6DlZoR1k6dYJxXpyVg6MIJWXCcs_iCp61CDPNRg- scenes-app-llm-analytics-sentiment--message-bar-neutral--dark:- hash: v1.k794b7964.5c12900daeeefee6099c53e6809c70ad223868a69914d8520ee014b808424d61.-NlDNT2dAax-HfwAaZ3GdEDpVkup0STHHm-lZA-t_mw- scenes-app-llm-analytics-sentiment--message-bar-neutral--light:- hash: v1.k794b7964.545462ffda263267f86863d03d49a8e64fab4386f38cf34d9d0e1d96d7f64109.C9ajit_QprzfBmKmdvxdc3YISyjivQgSiOKR6wKsEwU- scenes-app-llm-analytics-sentiment--message-bar-positive--dark:- hash: v1.k794b7964.819c133d4b835720d0ebe6bf7e1e3a0dbffe50d2b052803823853c4d49ad79ab.5cLIFpAyNCvmg6Bxnq5eKvkHD-BcCHjhpxTrnE95pfA- scenes-app-llm-analytics-sentiment--message-bar-positive--light:- hash: v1.k794b7964.fd8d3a45beb7db2d22c8ce726a05275163f09e5b205994bef85cbafdc3ad52ac.vDfgC23T7mqVqXVVdiDZ6_2LTC4TVeGv6wCwDnOCtTA- scenes-app-llm-analytics-sentiment--tag-loading--dark:- hash: v1.k794b7964.ff05242c60c4107d99322bbc0a5c6b1a2ec6a3b650b2b314b19491623b371c18.q5JXSXtIJoL8nc-8azHkgTg_nF366u8Jh-Rhqh-r6ts- scenes-app-llm-analytics-sentiment--tag-loading--light:- hash: v1.k794b7964.44ab1124e531ec3a61d0dab25ac8c4234fd0c5ff5f947b7fb5de17ef3105f6ff.lEUcKTGr7hzY-GptOk_IxDFOYxMEEW5aPbVfQgsEF-g- scenes-app-llm-analytics-sentiment--tag-negative--dark:- hash: v1.k794b7964.6d43d02bc8a14865960a82a96299ed0e43c570dad9a06b8dc454ce8c1106b553.hZ1sT3E0JK1NGvMyBV8rK6vz-2g2jALWrS35oU3IETQ- scenes-app-llm-analytics-sentiment--tag-negative--light:- hash: v1.k794b7964.2a4bce3f228a8a5362918badc632ee0bb308441d88ca19753a69c4f8fc44ff10.dwd_riZYhuR0LnwhjAJ5zJGO3u6ItUGctJ0wYOcATCs- scenes-app-llm-analytics-sentiment--tag-neutral--dark:- hash: v1.k794b7964.9884f3696f6c5e60daa4a25d59a3ba740111669e656b8b7170b25c8fb07e3e8e.anrYTnHEv0OACzemCdzi7p-SGG99kuPyaDVzSa8slVU- scenes-app-llm-analytics-sentiment--tag-neutral--light:- hash: v1.k794b7964.e699402b89ff0bfb1b8386f683dade74e24db97aeaf2c09cfb1cdb056e37770e.95XXgxGxD333LCi-1h3EhMWmF-T4ZxBqWo4cTP5F5_w- scenes-app-llm-analytics-sentiment--tag-positive--dark:- hash: v1.k794b7964.8ac25ec65efac59dc2aab2ea703fe00e8ddc78dcaf5bab53fd8daa0caebed92b.IDDbWQcNJsSDGIRlCPFu-4l1w0lFc8SB_xVPVYGS00c- scenes-app-llm-analytics-sentiment--tag-positive--light:- hash: v1.k794b7964.815de3d9207328cf5219021229f699cbcc1953137668b1896f387e7f862a2ee2.wQsMZxFINw08NQmkJwSv0pTi4l069nAOznu1A_6LXHM- scenes-app-llm-analytics-skills--skill-detail-side-by-side-above-2-xl-breakpoint--superwide--dark:- hash: v1.k794b7964.50c277b4d14db73ecd72f2cb7154d82a9b494a2c653042f03ed602d3def55a7b.ZkfOkwlYKTIBUlVuYxw4z7m8Ftk9EmazC-r98Ud5k6g- scenes-app-llm-analytics-skills--skill-detail-side-by-side-above-2-xl-breakpoint--superwide--light:- hash: v1.k794b7964.e48122cd455f5b0e8ebecfc2b3e291eb5564571a880c486ff7d5b6633f819640.TVcFcFI1_d2qNOI0v1SH4IRObZ4yz-uAeH8rZqjsbE0- scenes-app-llm-analytics-skills--skill-detail-stacked-below-2-xl-breakpoint--medium--dark:- hash: v1.k794b7964.8601461f92d7f15e50469008a30a3c19de5b3ba21dd0f9d68fe815b23fb9b40f.jwLeYmySDnScqpJ9YFo1G1RCbIonmH31FcbxQlCMvyY- scenes-app-llm-analytics-skills--skill-detail-stacked-below-2-xl-breakpoint--medium--light:- hash: v1.k794b7964.c4e8581f03a2eda95ec7ed501ee5be8a48d76a24b2531c45b16a48dfd395dd9e.lw8ZBZRsght9abvSfXcXJBwyBI4waZypIp4NN67V4-o- scenes-app-llm-analytics-skills--skill-detail-stacked-below-2-xl-breakpoint--wide--dark:- hash: v1.k794b7964.4e364a5792571c3f8bc0e31af8692daed48530719acfddca05f57fb9cd5eba97.5gNOyBfrfFZBXFVrOHLhJ1Q08CkgzZVaq2Mn2ZtBNJw- scenes-app-llm-analytics-skills--skill-detail-stacked-below-2-xl-breakpoint--wide--light:- hash: v1.k794b7964.a04c84511a1ce95496bac3b1468aea996ebdd625a80001bfaa0148f16711b29d.oCnR9fWON27pxDi3xIjaZ60YJ10pdvfExoCHYYw5zdc- scenes-app-llm-analytics-trace--full--dark:- hash: v1.k794b7964.839b3d2c72d2011e65d0ae53a828cabf3e247692340a46ffea3dce908e73aff0.CH8Zwck_XL3ZTZ5-bHOZjt4BunIB51v5jiEopCLQSkY- scenes-app-llm-analytics-trace--full--light:- hash: v1.k794b7964.091349ce43e67634397bb14f27d495e8eace97da75ccb895c35b07b4ab0e4ba3.jBZiirO2_T53sNh0Qaz7-iYJVwKTZ8zOcRZY4Ru_4gk- scenes-app-llm-analytics-trace--full-specific-event--dark:- hash: v1.k794b7964.839b3d2c72d2011e65d0ae53a828cabf3e247692340a46ffea3dce908e73aff0.zlWSJ9E0x-eMAokLANF26ngGAM9kAe27bQNHtd1O0m8- scenes-app-llm-analytics-trace--full-specific-event--light:- hash: v1.k794b7964.091349ce43e67634397bb14f27d495e8eace97da75ccb895c35b07b4ab0e4ba3.EsXWoyHn-YhjRPI0edQ4iNYdd-3zAc6qEX_ELrbFP2A- scenes-app-llm-analytics-trace--without-content--dark:- hash: v1.k794b7964.a4fcca370e0b5a56d84ce5742a4016542e00c3a15c3434019f530c0e40a81a5f.evNzpI1deZnFCSnumwB3f1UGl6-CK1NCjHzTwO4AROY- scenes-app-llm-analytics-trace--without-content--light:- hash: v1.k794b7964.84b6bc01b092a12e9ff0cb600a1a899a56a4705d58a78829852c0c968ec80551.Gu63TUkSVGfSxFXk-V7gvSaH8sqgQ2s7f_SiV8Xgi2gscenes-app-marketing-analytics-cell-actions--campaign-cell-action-globally-mapped--dark:hash: v1.k794b7964.7147c68772e5e9189ef68a958bf99bc092587ba54c7bec4bab5fccb643a4d62e.70iNFuRajWeaXHiGt81MEy_Yh9u_E8qIjzuoGIx9YFkscenes-app-marketing-analytics-cell-actions--campaign-cell-action-globally-mapped--light:@@ -5859,9 +5859,9 @@ snapshots:scenes-other-onboarding-post-onboarding-modal--feature-flags--light:hash: v1.k794b7964.cd1e4554b2a74f71efcdab7197fd1093d5911e432a1de3d6d286a12cbedb403d.sgdBqokgnUIb_mb0MSOjoauBxQSIYJzzKkWxwp8OJiwscenes-other-onboarding-post-onboarding-modal--llm-analytics--dark:- hash: v1.k794b7964.6f75c8ed73e5a68b88ef0a5514a97f0324113451a2b72bb2c0bcba63b081bb1a.1jdREizWH9Ts74gt2HymBW7KD8ZAxgyOULE2ybFbvtM+ hash: v1.k794b7964.9c143ad56b4ef49573961c3a4c4d54c77e9f56c087805759ebad15d44380e844.1dkBkAC4oTmLtj8hQGQY7xdbCvAiJ6jpCqSEq_tmhEgscenes-other-onboarding-post-onboarding-modal--llm-analytics--light:- hash: v1.k794b7964.712c453e23887ba67256d238dd81efd93e679a850cf21260fea010eed0b77722.rUXbUP-denqKN65goF1ubUfWnfVibk0H8SAbO8YvruM+ hash: v1.k794b7964.86b53143d8254fa135e0731d1733e2c77ee53af575eaa1725f937fa18f60b306.LxgLdmR3CKADtKZ2xzFdghBLPxOdOSp25sYHTtZQUPAscenes-other-onboarding-post-onboarding-modal--logs--dark:hash: v1.k794b7964.f9a6892e642aebe076aaeef5075dcef1d09cb7f820985443c66db143f60f11d2.fYzgtRRPAV6qgVvUpdwMQEw6Llm7nQRigyaOYSfaK8cscenes-other-onboarding-post-onboarding-modal--logs--light:diff --git a/frontend/src/layout/navigation-3000/navigationLogic.tsx b/frontend/src/layout/navigation-3000/navigationLogic.tsxindex 392cda070f63..36b4b76a3b09 100644--- a/frontend/src/layout/navigation-3000/navigationLogic.tsx+++ b/frontend/src/layout/navigation-3000/navigationLogic.tsx@@ -605,10 +605,10 @@ export const navigation3000Logic = kea<navigation3000LogicType>([: null,{identifier: 'LLMAnalytics',- label: 'LLM analytics',+ label: 'AI observability',icon: <IconLlmAnalytics />,to: urls.llmAnalyticsDashboard(),- tooltipDocLink: 'https://posthog.com/docs/llm-analytics/dashboard',+ tooltipDocLink: 'https://posthog.com/docs/ai-observability/dashboard',},featureFlags[FEATURE_FLAGS.MCP_ANALYTICS]? {diff --git a/frontend/src/layout/panel-layout/PinnedFolder/EditCustomProductsModal.tsx b/frontend/src/layout/panel-layout/PinnedFolder/EditCustomProductsModal.tsxindex a7531f3892ba..3f1c76bc5a79 100644--- a/frontend/src/layout/panel-layout/PinnedFolder/EditCustomProductsModal.tsx+++ b/frontend/src/layout/panel-layout/PinnedFolder/EditCustomProductsModal.tsx@@ -100,7 +100,7 @@ export function EditCustomProductsModal(): JSX.Element {label={<span className="flex items-center gap-2">{icon}- <span>{product.path}</span>+ <span>{product.displayLabel ?? product.path}</span>{product.tags?.length && (<>{product.tags.map((tag: string) => (diff --git a/frontend/src/lib/api.ts b/frontend/src/lib/api.tsindex 35fac38878ed..8d890ffc92ac 100644--- a/frontend/src/lib/api.ts+++ b/frontend/src/lib/api.ts@@ -538,7 +538,7 @@ export class ApiRequest {return this.environmentsDetail(teamId).addPathComponent('csp-reporting').addPathComponent('explain')}- // # LLM Analytics+ // # AI observabilitypublic llmAnalyticsTranslate(teamId?: TeamType['id']): ApiRequest {return this.environmentsDetail(teamId).addPathComponent('llm_analytics').addPathComponent('translate')diff --git a/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsx b/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsxindex 0d0246ab021a..33a969738542 100644--- a/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsx+++ b/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsx@@ -151,7 +151,7 @@ function NavPanelAdvertisementContent({<Contentemoji="✨"emojiLabel="sparkles"- title={productInfo.path}+ title={productInfo.displayLabel ?? productInfo.path}text={getReasonText(recommendedProduct) ?? ''}onClose={() => {posthog.capture('nav panel advertisement dismissed', {diff --git a/frontend/src/lib/components/ProductSetup/productSetupRegistry.ts b/frontend/src/lib/components/ProductSetup/productSetupRegistry.tsindex bae9d9c6bc09..1dec8637361d 100644--- a/frontend/src/lib/components/ProductSetup/productSetupRegistry.ts+++ b/frontend/src/lib/components/ProductSetup/productSetupRegistry.ts@@ -478,13 +478,13 @@ export const PRODUCT_SETUP_REGISTRY: Partial<Record<ProductKey, ProductSetupConf[ProductKey.LLM_ANALYTICS]: {productKey: ProductKey.LLM_ANALYTICS,- title: 'Get started with LLM analytics',+ title: 'Get started with AI observability',tasks: [{id: SetupTaskId.IngestFirstLlmEvent,- title: 'Send your first LLM event',+ title: 'Send your first AI event',description: 'Install the PostHog LLM SDK to start tracking AI usage.',- skipWarning: "Without LLM events, you can't track AI model usage.",+ skipWarning: "Without AI events, you can't track AI model usage.",taskType: 'setup',getUrl: () =>urls.onboarding({ productKey: ProductKey.LLM_ANALYTICS, stepKey: OnboardingStepKey.INSTALL }),@@ -494,7 +494,7 @@ export const PRODUCT_SETUP_REGISTRY: Partial<Record<ProductKey, ProductSetupConf{id: SetupTaskId.ViewFirstTrace,title: 'View your first trace',- description: 'See a complete LLM request trace with prompts and latency.',+ description: 'See a complete AI request trace with prompts and latency.',taskType: 'onboarding',dependsOn: [SetupTaskId.IngestFirstEvent],getUrl: () => urls.llmAnalyticsTraces(),@@ -502,7 +502,7 @@ export const PRODUCT_SETUP_REGISTRY: Partial<Record<ProductKey, ProductSetupConf},{id: SetupTaskId.TrackCosts,- title: 'Track LLM costs and usage',+ title: 'Track AI costs and usage',description: 'Monitor AI spending and usage by model and use case.',taskType: 'onboarding',dependsOn: [SetupTaskId.IngestFirstEvent],@@ -511,7 +511,7 @@ export const PRODUCT_SETUP_REGISTRY: Partial<Record<ProductKey, ProductSetupConf{id: SetupTaskId.SetUpLlmEvaluation,title: 'Set up LLM evaluation',- description: 'Score and evaluate LLM outputs for quality.',+ description: 'Score and evaluate AI outputs for quality.',taskType: 'explore',getUrl: () => urls.llmAnalyticsEvaluations(),},diff --git a/frontend/src/lib/components/Search/Search.stories.tsx b/frontend/src/lib/components/Search/Search.stories.tsxindex cb0e3c4e8cca..e314ca26203e 100644--- a/frontend/src/lib/components/Search/Search.stories.tsx+++ b/frontend/src/lib/components/Search/Search.stories.tsx@@ -241,7 +241,7 @@ export const ProductRecentsAndStarred: Story = {parameters: {docs: {description: {- story: 'Recents and starred entries whose `type` matches an entry in `availableOnboardingProducts` render with the manifest brand colour (e.g. green for web analytics, purple for LLM analytics) instead of falling back to `currentColor`. Demonstrates the fix for product icons in recents/starred shortcuts.',+ story: 'Recents and starred entries whose `type` matches an entry in `availableOnboardingProducts` render with the manifest brand colour (e.g. green for web analytics, purple for AI observability) instead of falling back to `currentColor`. Demonstrates the fix for product icons in recents/starred shortcuts.',},},},diff --git a/frontend/src/lib/components/Search/Search.tsx b/frontend/src/lib/components/Search/Search.tsxindex 4de145996aa2..de106ebc8d8a 100644--- a/frontend/src/lib/components/Search/Search.tsx+++ b/frontend/src/lib/components/Search/Search.tsx@@ -144,7 +144,7 @@ const getItemTypeDisplayName = (type: string | null | undefined): string | nullquery: 'SQL query',product_analytics: 'Product analytics',web_analytics: 'Web analytics',- llm_analytics: 'LLM analytics',+ llm_analytics: 'AI observability',revenue_analytics: 'Revenue analytics',marketing_analytics: 'Marketing analytics',session_replay: 'Session replay',diff --git a/frontend/src/lib/components/Search/searchLogic.tsx b/frontend/src/lib/components/Search/searchLogic.tsxindex 86be83eeddfa..184330c51f54 100644--- a/frontend/src/lib/components/Search/searchLogic.tsx+++ b/frontend/src/lib/components/Search/searchLogic.tsx@@ -29,6 +29,7 @@ import type { searchLogicType } from './searchLogicType'import { filterSearchItems } from './utils'let cachedProductIconColorByType: Map<string, FileSystemIconColor> | null = null+let cachedProductDisplayLabelByPath: Map<string, string> | null = nullconst getProductIconColorByType = (): Map<string, FileSystemIconColor> => {if (cachedProductIconColorByType === null) {@@ -43,14 +44,29 @@ const getProductIconColorByType = (): Map<string, FileSystemIconColor> => {return cachedProductIconColorByType}+const getProductDisplayLabelByPath = (): Map<string, string> => {+ if (cachedProductDisplayLabelByPath === null) {+ cachedProductDisplayLabelByPath = new Map()+ for (const product of getTreeItemsProducts()) {+ if (product.displayLabel) {+ cachedProductDisplayLabelByPath.set(product.path, product.displayLabel)+ }+ }+ }+ return cachedProductDisplayLabelByPath+}+const fileSystemEntryToSearchItem = (item: FileSystemEntry,overrides: { id: string; category: string; searchKeywords?: string[] }): SearchItem => {const name = splitPath(item.path).pop()+ const itemName = name ? unescapePath(name) : item.path+ const displayName = getProductDisplayLabelByPath().get(itemName)const productIconColor = item.type ? getProductIconColorByType().get(item.type) : undefinedreturn {- name: name ? unescapePath(name) : item.path,+ name: itemName,+ displayName,href: item.href || '#',lastViewedAt: item.last_viewed_at ?? null,itemType: item.type ?? null,@@ -329,7 +345,7 @@ export const searchLogic = kea<searchLogicType>([const items: SearchItem[] = filteredProducts.map((product) => ({id: `app-${product.path}`,name: product.path,- displayName: product.path,+ displayName: product.displayLabel ?? product.path,category: 'apps',productCategory: product.category || null,href: product.href || '#',diff --git a/frontend/src/lib/components/Support/supportLogic.ts b/frontend/src/lib/components/Support/supportLogic.tsindex 521f2dfc54cb..c688a73f9349 100644--- a/frontend/src/lib/components/Support/supportLogic.ts+++ b/frontend/src/lib/components/Support/supportLogic.ts@@ -245,7 +245,7 @@ const TARGET_AREA_TO_NAME_PRODUCTS = [{value: 'llm-analytics','data-attr': `support-form-target-area-llm-analytics`,- label: 'LLM analytics',+ label: 'AI observability',},{value: 'logs',diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsxindex 7e3839e733aa..b8614f6db807 100644--- a/frontend/src/lib/constants.tsx+++ b/frontend/src/lib/constants.tsx@@ -228,7 +228,8 @@ export const FEATURE_FLAGS = {AA_TEST_BAYESIAN_NEW: 'aa-test-bayesian-new', // owner: #team-experimentsACTION_REFERENCE_COUNT: 'action-reference-count', // owner: @andyzzhao #team-product-analytics, gates bulk action reference counting on actions listADVANCE_MARKETING_ANALYTICS_SETTINGS: 'advance-marketing-analytics-settings', // owner: @jabahamondes #team-web-analytics- AI_EVENTS_TABLE_ROLLOUT: 'ai-events-table-rollout', // owner: #team-llm-analytics, gates reads off the dedicated ai_events table+ AI_EVENTS_TABLE_ROLLOUT: 'ai-events-table-rollout', // owner: #team-ai-observability, gates reads off the dedicated ai_events table+ /** Alert edit modal: check history chart + chart/table toggle (table remains when off). */ALERTS_15_MINUTE_INTERVAL: 'alerts-15-minute-interval', // owner: #team-analytics-platform, gates 15-minute insight alert intervalALERTS_ANOMALY_DETECTION: 'alerts-anomaly-detection', // owner: @andrewm4894ALERTS_INLINE_NOTIFICATIONS: 'alerts-inline-notifications', // owner: @vdekrijger@@ -319,33 +320,33 @@ export const FEATURE_FLAGS = {LINKS: 'links', // owner: @marconlp #team-link (team doesn't exist for now, maybe will come back in the future)LIVE_DEBUGGER: 'live-debugger', // owner: @marcecollLIVESTREAM_TUI: 'livestream-tui', // owner: @rafaeelaudibert #team-growth- LLM_ANALYTICS_CLUSTERING_ADMIN: 'llm-analytics-clustering-admin', // owner: #team-llm-analytics- LLM_ANALYTICS_CLUSTERS_TAB: 'llm-analytics-clusters-tab', // owner: #team-llm-analytics- LLM_ANALYTICS_DATASETS: 'llm-analytics-datasets', // owner: #team-llm-analytics #team-posthog-ai- LLM_ANALYTICS_DISCUSSIONS: 'llm-analytics-discussions', // owner: #team-llm-analytics- LLM_ANALYTICS_EARLY_ADOPTERS: 'llm-analytics-early-adopters', // owner: #team-llm-analytics- LLM_ANALYTICS_EVALUATIONS: 'llm-analytics-evaluations', // owner: #team-llm-analytics- LLM_ANALYTICS_EVALUATIONS_CLUSTERING: 'llm-analytics-evaluations-clustering', // owner: #team-llm-analytics- LLM_ANALYTICS_EVALUATIONS_CUSTOM_MODELS: 'llm-analytics-evaluations-custom-models', // owner: #team-llm-analytics- LLM_ANALYTICS_EVALUATIONS_HOG_CODE: 'llm-analytics-evaluations-hog-code', // owner: #team-llm-analytics- LLM_ANALYTICS_EVALUATIONS_REPORTS: 'llm-analytics-evaluations-reports', // owner: #team-llm-analytics- LLM_ANALYTICS_EVALUATIONS_SUMMARY: 'llm-analytics-evaluations-summary', // owner: #team-llm-analytics- LLM_ANALYTICS_OFFLINE_EVALS: 'llm-analytics-offline-evals', // owner: #team-llm-analytics- LLM_ANALYTICS_SENTIMENT: 'llm-analytics-sentiment', // owner: #team-llm-analytics- LLM_ANALYTICS_SENTIMENT_TAB: 'llm-analytics-sentiment-tab', // owner: #team-llm-analytics- LLM_ANALYTICS_SESSION_SUMMARIZATION: 'llm-analytics-session-summarization', // owner: #team-llm-analytics- LLM_ANALYTICS_SESSIONS_VIEW: 'llm-analytics-sessions-view', // owner: #team-llm-analytics- LLM_ANALYTICS_SKILLS: 'llm-analytics-skills', // owner: #team-llm-analytics- LLM_ANALYTICS_SUMMARIZATION: 'llm-analytics-summarization', // owner: #team-llm-analytics- LLM_ANALYTICS_TAGS: 'llm-analytics-tags', // owner: #team-llm-analytics- LLM_ANALYTICS_TEXT_VIEW: 'llm-analytics-text-view', // owner: #team-llm-analytics- LLM_ANALYTICS_TOOLS_CHARTS: 'llm-analytics-tools-charts', // owner: #team-llm-analytics- LLM_ANALYTICS_TOOLS_TAB: 'llm-analytics-tools-tab', // owner: #team-llm-analytics- LLM_ANALYTICS_TRACE_NAVIGATION: 'llm-analytics-trace-navigation', // owner: #team-llm-analytics- LLM_ANALYTICS_TRACE_REVIEW: 'llma-trace-review', // owner: #team-llm-analytics- LLM_ANALYTICS_TRANSLATION: 'llm-analytics-translation', // owner: #team-llm-analytics+ LLM_ANALYTICS_CLUSTERING_ADMIN: 'llm-analytics-clustering-admin', // owner: #team-ai-observability+ LLM_ANALYTICS_CLUSTERS_TAB: 'llm-analytics-clusters-tab', // owner: #team-ai-observability+ LLM_ANALYTICS_DATASETS: 'llm-analytics-datasets', // owner: #team-ai-observability #team-posthog-ai+ LLM_ANALYTICS_DISCUSSIONS: 'llm-analytics-discussions', // owner: #team-ai-observability+ LLM_ANALYTICS_EARLY_ADOPTERS: 'llm-analytics-early-adopters', // owner: #team-ai-observability+ LLM_ANALYTICS_EVALUATIONS: 'llm-analytics-evaluations', // owner: #team-ai-observability+ LLM_ANALYTICS_EVALUATIONS_CLUSTERING: 'llm-analytics-evaluations-clustering', // owner: #team-ai-observability+ LLM_ANALYTICS_EVALUATIONS_CUSTOM_MODELS: 'llm-analytics-evaluations-custom-models', // owner: #team-ai-observability+ LLM_ANALYTICS_EVALUATIONS_HOG_CODE: 'llm-analytics-evaluations-hog-code', // owner: #team-ai-observability+ LLM_ANALYTICS_EVALUATIONS_REPORTS: 'llm-analytics-evaluations-reports', // owner: #team-ai-observability+ LLM_ANALYTICS_EVALUATIONS_SUMMARY: 'llm-analytics-evaluations-summary', // owner: #team-ai-observability+ LLM_ANALYTICS_OFFLINE_EVALS: 'llm-analytics-offline-evals', // owner: #team-ai-observability+ LLM_ANALYTICS_SENTIMENT: 'llm-analytics-sentiment', // owner: #team-ai-observability+ LLM_ANALYTICS_SENTIMENT_TAB: 'llm-analytics-sentiment-tab', // owner: #team-ai-observability+ LLM_ANALYTICS_SESSION_SUMMARIZATION: 'llm-analytics-session-summarization', // owner: #team-ai-observability+ LLM_ANALYTICS_SESSIONS_VIEW: 'llm-analytics-sessions-view', // owner: #team-ai-observability+ LLM_ANALYTICS_SKILLS: 'llm-analytics-skills', // owner: #team-ai-observability+ LLM_ANALYTICS_SUMMARIZATION: 'llm-analytics-summarization', // owner: #team-ai-observability+ LLM_ANALYTICS_TAGS: 'llm-analytics-tags', // owner: #team-ai-observability+ LLM_ANALYTICS_TEXT_VIEW: 'llm-analytics-text-view', // owner: #team-ai-observability+ LLM_ANALYTICS_TOOLS_CHARTS: 'llm-analytics-tools-charts', // owner: #team-ai-observability+ LLM_ANALYTICS_TOOLS_TAB: 'llm-analytics-tools-tab', // owner: #team-ai-observability+ LLM_ANALYTICS_TRACE_NAVIGATION: 'llm-analytics-trace-navigation', // owner: #team-ai-observability+ LLM_ANALYTICS_TRACE_REVIEW: 'llma-trace-review', // owner: #team-ai-observability+ LLM_ANALYTICS_TRANSLATION: 'llm-analytics-translation', // owner: #team-ai-observabilityLLM_ANALYTICS_USER_FEEDBACK: 'llm-analytics-user-feedback', // owner: @adboio #team-surveys- LLM_OBSERVABILITY_SHOW_INPUT_OUTPUT: 'llm-observability-show-input-output', // owner: #team-llm-analytics+ LLM_OBSERVABILITY_SHOW_INPUT_OUTPUT: 'llm-observability-show-input-output', // owner: #team-ai-observabilityLOGS: 'logs', // owner: #team-logsLOGS_ALERTING: 'logs-alerting', // owner: #team-logsLOGS_SAVED_VIEWS: 'logs-saved-views', // owner: #team-logs@@ -431,7 +432,7 @@ export const FEATURE_FLAGS = {PRODUCT_TOURS_LOCALIZATION: 'product-tours-localization', // owner: @adboio #team-surveysPROJECT_SECRET_API_KEYS: 'project-secret-api-keys', // owner: #team-platform-featuresPROMOTED_EVENT_PROPERTIES_EDIT: 'promoted-event-properties-edit', // owner: @pauldambra #team-product-analytics, gates the primary-property picker on the event definition edit page (flag slug kept as `promoted-event-properties-edit` to avoid migrating teams that already toggled it on)- PROMPT_MANAGEMENT: 'prompt-management', // owner: #team-llm-analytics+ PROMPT_MANAGEMENT: 'prompt-management', // owner: #team-ai-observabilityPROPERTY_ACCESS_CONTROL: 'property-access-control', // owner: @reecejones #team-platform-featuresPROVISION_MANAGED_WAREHOUSE_BETA: 'provision-managed-warehouse-beta', // owner: @EDsCODE #team-managed-warehouseQUICK_START_PULSE_INDICATOR: 'quick-start-pulse-indicator', // owner: @fercgomes #team-growth multivariate=control,test@@ -474,9 +475,9 @@ export const FEATURE_FLAGS = {SURVEYS_INSIGHT_BUTTON_EXPERIMENT: 'ask-users-why-ai-vs-quickcreate', // owner: @adboio #team-surveys multivariate=trueSURVEYS_TOOLBAR: 'surveys-toolbar', // owner: @fcgomesSURVEYS_WEB_ANALYTICS_CROSS_SELL: 'surveys-in-web-analytics', // owner: @adboio #team-surveys- TASK_SUMMARIES: 'task-summaries', // owner: #team-llm-analytics+ TASK_SUMMARIES: 'task-summaries', // owner: #team-ai-observabilityTASK_TOOL: 'phai-task-tool', // owner: @kappa90 #team-posthog-ai- TASKS: 'tasks', // owner: #team-llm-analytics+ TASKS: 'tasks', // owner: #team-ai-observabilityTAXONOMIC_FILTER_CATEGORY_DROPDOWN: 'taxonomic-filter-category-dropdown', // owner: @pauldambra #team-product-analytics multivariate=control,pillTAXONOMIC_FILTER_HEADLESS: 'taxonomic-filter-headless', // owner: @adamleith, opt-in to the headless useTaxonomicFilter rewriteTAXONOMIC_FILTER_MENU_REBUILD: 'taxonomic-filter-menu-rebuild', // owner: @adamleith, opt-in to the new TaxonomicFilterMenu (column / preview-pane) for series row pickersdiff --git a/frontend/src/lib/scopes.tsx b/frontend/src/lib/scopes.tsxindex 811bfe609ed0..caaa53efb47a 100644--- a/frontend/src/lib/scopes.tsx+++ b/frontend/src/lib/scopes.tsx@@ -63,7 +63,7 @@ export const API_SCOPES: APIScope[] = [{ key: 'integration', objectName: 'Integration', objectPlural: 'integrations', disabledActions: ['write'] },{ key: 'legal_document', objectName: 'Legal document', objectPlural: 'legal documents' },{ key: 'live_debugger', objectName: 'Live debugger', objectPlural: 'live debugger' },- { key: 'llm_analytics', objectName: 'LLM analytics', objectPlural: 'LLM analytics' },+ { key: 'llm_analytics', objectName: 'AI observability', objectPlural: 'AI observability' },{ key: 'llm_gateway', objectName: 'LLM gateway', objectPlural: 'LLM gateway', disabledActions: ['write'] },{ key: 'llm_prompt', objectName: 'LLM prompt', objectPlural: 'LLM prompts' },{ key: 'llm_provider_key', objectName: 'LLM provider key', objectPlural: 'LLM provider keys' },diff --git a/frontend/src/lib/signals/signalCardSourceLine.ts b/frontend/src/lib/signals/signalCardSourceLine.tsindex 5ed04ba6a379..5157be5a98e4 100644--- a/frontend/src/lib/signals/signalCardSourceLine.ts+++ b/frontend/src/lib/signals/signalCardSourceLine.ts@@ -11,7 +11,7 @@ export function signalCardSourceLine(signal: { source_product: string; source_tyreturn 'Session replay · Session segment cluster'}if (source_product === 'llm_analytics' && source_type === 'evaluation') {- return 'LLM analytics · Evaluation'+ return 'AI observability · Evaluation'}if (source_product === 'zendesk' && source_type === 'ticket') {return 'Zendesk · Ticket'diff --git a/frontend/src/lib/utils/accessControlUtils.ts b/frontend/src/lib/utils/accessControlUtils.tsindex f88cc9f49909..602d5871b66a 100644--- a/frontend/src/lib/utils/accessControlUtils.ts+++ b/frontend/src/lib/utils/accessControlUtils.ts@@ -42,7 +42,7 @@ export const pluralizeResource = (resource: APIScopeObject): string => {if (resource === AccessControlResourceType.CustomerAnalytics) {return 'customer analytics'} else if (resource === AccessControlResourceType.LlmAnalytics) {- return 'LLM analytics'+ return 'AI observability'} else if (resource === AccessControlResourceType.RevenueAnalytics) {return 'revenue analytics'} else if (resource === AccessControlResourceType.WebAnalytics) {@@ -89,7 +89,7 @@ export const resourceTypeToString = (resourceType: AccessControlResourceType): sif (resourceType === AccessControlResourceType.CustomerAnalytics) {return 'customer analytics resource'} else if (resourceType === AccessControlResourceType.LlmAnalytics) {- return 'LLM analytics resource'+ return 'AI observability resource'} else if (resourceType === AccessControlResourceType.RevenueAnalytics) {return 'revenue analytics resource'} else if (resourceType === AccessControlResourceType.WebAnalytics) {diff --git a/frontend/src/products.tsx b/frontend/src/products.tsxindex e3a488508bb5..e07a0f2d038e 100644--- a/frontend/src/products.tsx+++ b/frontend/src/products.tsx@@ -445,14 +445,14 @@ export const productConfiguration: Record<string, any> = {LiveDebugger: { name: 'Live Debugger', projectBased: true },LLMAnalytics: {projectBased: true,- name: 'LLM analytics',+ name: 'AI observability',layout: 'app-container',- description: 'Analyze and understand your LLM usage and performance.',+ description: 'Analyze and understand your AI usage and performance.',iconType: 'llm_analytics',},- LLMAnalyticsTrace: { projectBased: true, name: 'LLM analytics trace', layout: 'app-container' },- LLMAnalyticsSession: { projectBased: true, name: 'LLM analytics session', layout: 'app-container' },- LLMAnalyticsUsers: { projectBased: true, name: 'LLM analytics users', layout: 'app-container' },+ LLMAnalyticsTrace: { projectBased: true, name: 'AI observability trace', layout: 'app-container' },+ LLMAnalyticsSession: { projectBased: true, name: 'AI observability session', layout: 'app-container' },+ LLMAnalyticsUsers: { projectBased: true, name: 'AI observability users', layout: 'app-container' },LLMAnalyticsPlayground: {projectBased: true,name: 'Playground',@@ -469,7 +469,7 @@ export const productConfiguration: Record<string, any> = {},LLMAnalyticsDataset: {projectBased: true,- name: 'LLM analytics dataset',+ name: 'AI observability dataset',layout: 'app-container',iconType: 'llm_datasets',},@@ -483,14 +483,14 @@ export const productConfiguration: Record<string, any> = {},LLMAnalyticsEvaluation: {projectBased: true,- name: 'LLM analytics evaluation',+ name: 'AI observability evaluation',activityScope: 'LLMAnalytics',layout: 'app-container',iconType: 'llm_evaluations',},LLMAnalyticsEvaluationTemplates: {projectBased: true,- name: 'LLM analytics evaluation templates',+ name: 'AI observability evaluation templates',activityScope: 'LLMAnalytics',layout: 'app-container',iconType: 'llm_evaluations',@@ -498,14 +498,14 @@ export const productConfiguration: Record<string, any> = {LLMAnalyticsTags: {projectBased: true,name: 'Tags',- description: 'Add custom tags to your LLM generations automatically.',+ description: 'Add custom tags to your AI generations automatically.',activityScope: 'LLMAnalytics',layout: 'app-container',iconType: 'llm_tags',},LLMAnalyticsTag: {projectBased: true,- name: 'LLM analytics tag',+ name: 'AI observability tag',activityScope: 'LLMAnalytics',layout: 'app-container',iconType: 'llm_tags',@@ -519,7 +519,7 @@ export const productConfiguration: Record<string, any> = {},LLMAnalyticsPrompt: {projectBased: true,- name: 'LLM analytics prompt',+ name: 'AI observability prompt',layout: 'app-container',iconType: 'llm_prompts',},@@ -532,20 +532,20 @@ export const productConfiguration: Record<string, any> = {},LLMAnalyticsSkill: {projectBased: true,- name: 'LLM analytics skill',+ name: 'AI observability skill',layout: 'app-container',iconType: 'llm_prompts',},LLMAnalyticsClusters: {projectBased: true,name: 'Clusters',- description: 'Discover patterns and clusters in your LLM usage.',+ description: 'Discover patterns and clusters in your AI usage.',layout: 'app-container',iconType: 'llm_clusters',},LLMAnalyticsCluster: {projectBased: true,- name: 'LLM analytics cluster',+ name: 'AI observability cluster',layout: 'app-container',iconType: 'llm_clusters',},@@ -1616,6 +1616,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [},{path: 'LLM analytics',+ displayLabel: 'AI observability',intents: [ProductKey.LLM_ANALYTICS,ProductKey.LLM_EVALUATIONS,diff --git a/frontend/src/scenes/experiments/ExperimentCodeSnippets.tsx b/frontend/src/scenes/experiments/ExperimentCodeSnippets.tsxindex 131319d930ff..ca0870769089 100644--- a/frontend/src/scenes/experiments/ExperimentCodeSnippets.tsx+++ b/frontend/src/scenes/experiments/ExperimentCodeSnippets.tsx@@ -418,8 +418,8 @@ Constraintsthe SDK surface evolves.Reference docs-- LLM analytics overview: https://posthog.com/docs/llm-analytics-- Prompt management: https://posthog.com/docs/llm-analytics/prompt-management+- AI observability overview: https://posthog.com/docs/ai-observability+- Prompt management: https://posthog.com/docs/prompt-management- Feature flag payloads: https://posthog.com/docs/feature-flags/payloads- Experiments: https://posthog.com/docs/experiments- PostHog AI wrappers (OpenAI, Anthropic, Gemini): https://posthog.com/docs/ai-engineeringdiff --git a/frontend/src/scenes/experiments/ExperimentImplementationDetails.tsx b/frontend/src/scenes/experiments/ExperimentImplementationDetails.tsxindex 135c9da40089..2eba6b201248 100644--- a/frontend/src/scenes/experiments/ExperimentImplementationDetails.tsx+++ b/frontend/src/scenes/experiments/ExperimentImplementationDetails.tsx@@ -241,7 +241,7 @@ function PromptExperimentImplementation({},]}/>- <Link subtle to="https://posthog.com/docs/llm-analytics/prompt-management" target="_blank">+ <Link subtle to="https://posthog.com/docs/prompt-management" target="_blank">See the docs for prompt management.</Link></div>diff --git a/frontend/src/scenes/insights/insightSceneLogic.tsx b/frontend/src/scenes/insights/insightSceneLogic.tsxindex 33f8afc64fb1..64471a32e0f3 100644--- a/frontend/src/scenes/insights/insightSceneLogic.tsx+++ b/frontend/src/scenes/insights/insightSceneLogic.tsx@@ -296,7 +296,7 @@ export const insightSceneLogic = kea<insightSceneLogicType>([: sceneSource === 'llm-analytics'? {key: 'LLMAnalytics',- name: 'LLM analytics',+ name: 'AI observability',path: urls.llmAnalyticsDashboard(),iconType: 'llm_analytics' as FileSystemIconType,}diff --git a/frontend/src/scenes/max/Thread.tsx b/frontend/src/scenes/max/Thread.tsxindex 33221bfd546f..259f11cc2c1d 100644--- a/frontend/src/scenes/max/Thread.tsx+++ b/frontend/src/scenes/max/Thread.tsx@@ -1603,7 +1603,7 @@ function SuccessActions({icon={<IconEye />}type="tertiary"size="xsmall"- tooltip="View trace in LLM analytics"+ tooltip="View trace in AI observability"/>)}</div>diff --git a/frontend/src/scenes/max/max-constants.tsx b/frontend/src/scenes/max/max-constants.tsxindex 9282f0059edc..b9e003d1bfc8 100644--- a/frontend/src/scenes/max/max-constants.tsx+++ b/frontend/src/scenes/max/max-constants.tsx@@ -1114,8 +1114,8 @@ export const MODE_DEFINITIONS: Record<]),},[AgentMode.LLMAnalytics]: {- name: 'LLM analytics',- description: 'Analyzes LLM traces and writes evaluation code for LLM analytics.',+ name: 'AI observability',+ description: 'Analyzes LLM traces and writes evaluation code for AI observability.',icon: iconForType('llm_analytics'),scenes: new Set([Scene.LLMAnalytics,diff --git a/frontend/src/scenes/max/maxLogic.tsx b/frontend/src/scenes/max/maxLogic.tsxindex eea332d912d0..950b2c90b7cb 100644--- a/frontend/src/scenes/max/maxLogic.tsx+++ b/frontend/src/scenes/max/maxLogic.tsx@@ -760,7 +760,7 @@ export const QUESTION_SUGGESTIONS_DATA: readonly SuggestionGroup[] = [requiresUserInput: true,},{- content: 'How can I set up the LLM analytics in…',+ content: 'How can I set up AI observability in…',requiresUserInput: true,},{@@ -929,7 +929,7 @@ export const RESEARCH_SUGGESTIONS_DATA: readonly SuggestionGroup[] = [content: 'Run a cohort analysis comparing users by sign-up month',},{- content: 'Analyze LLM usage patterns and costs across features',+ content: 'Analyze AI usage patterns and costs across features',},],},diff --git a/frontend/src/scenes/onboarding/OnboardingBreadcrumbs.tsx b/frontend/src/scenes/onboarding/OnboardingBreadcrumbs.tsxindex 02f5addea8eb..dd06f3d80ff2 100644--- a/frontend/src/scenes/onboarding/OnboardingBreadcrumbs.tsx+++ b/frontend/src/scenes/onboarding/OnboardingBreadcrumbs.tsx@@ -52,7 +52,7 @@ export function OnboardingBreadcrumbs(): JSX.Element | null {// Middle dot scopes the product name as a qualifier rather than reading// as one phrase ("Install · Web Analytics" instead of "Install Web Analytics").// Product names use the registry's Title Case ("Product Analytics",- // "LLM Analytics") as-is — these are proper-noun product names.+ // "AI observability") as-is — these are proper-noun product names.return `${base} · ${productName}`}}diff --git a/frontend/src/scenes/onboarding/onboardingLogic.test.ts b/frontend/src/scenes/onboarding/onboardingLogic.test.tsindex 733a6b799174..51dd6e87221e 100644--- a/frontend/src/scenes/onboarding/onboardingLogic.test.ts+++ b/frontend/src/scenes/onboarding/onboardingLogic.test.ts@@ -193,7 +193,7 @@ describe('onboardingLogic — flow composition', () => {})describe('install-step — no dedup', () => {- it('LLM Analytics + Workflows produce two install steps (neither has a dedupKey)', () => {+ it('AI observability + Workflows produce two install steps (neither has a dedupKey)', () => {logic.actions.setProductKey(ProductKey.LLM_ANALYTICS)logic.actions.setSecondaryProductKeys([ProductKey.WORKFLOWS])diff --git a/frontend/src/scenes/onboarding/productRecommendations.ts b/frontend/src/scenes/onboarding/productRecommendations.tsindex 3abf116c2325..c31a8fe5a897 100644--- a/frontend/src/scenes/onboarding/productRecommendations.ts+++ b/frontend/src/scenes/onboarding/productRecommendations.ts@@ -56,7 +56,7 @@ export const USE_CASE_OPTIONS: ReadonlyArray<UseCaseDefinition> = [{key: 'monitor_ai',title: 'Monitor AI applications',- description: 'Track and analyze LLM usage, costs, and performance for AI applications',+ description: 'Track and analyze AI usage, costs, and performance for AI applications',iconKey: 'IconLlmAnalytics',iconColor: 'rgb(182 42 217)',products: [ProductKey.LLM_ANALYTICS, ProductKey.PRODUCT_ANALYTICS],diff --git a/frontend/src/scenes/onboarding/productSelection/browsingHistoryMapping.ts b/frontend/src/scenes/onboarding/productSelection/browsingHistoryMapping.tsindex 04e6455c3811..ea2d8dfb85a2 100644--- a/frontend/src/scenes/onboarding/productSelection/browsingHistoryMapping.ts+++ b/frontend/src/scenes/onboarding/productSelection/browsingHistoryMapping.ts@@ -30,7 +30,7 @@ const PROD_INTEREST_LABELS: Record<WebsiteBrowsingHistoryProdInterest, string> ='error-tracking': 'Error tracking',surveys: 'Surveys','data-warehouse': 'Data warehouse',- 'llm-analytics': 'LLM analytics',+ 'llm-analytics': 'AI observability','revenue-analytics': 'Revenue analytics',workflows: 'Workflows',logs: 'Logs',diff --git a/frontend/src/scenes/onboarding/sdks/OnboardingInstallStep/index.tsx b/frontend/src/scenes/onboarding/sdks/OnboardingInstallStep/index.tsxindex 87d52d2f4dc1..484f3d83d9e0 100644--- a/frontend/src/scenes/onboarding/sdks/OnboardingInstallStep/index.tsx+++ b/frontend/src/scenes/onboarding/sdks/OnboardingInstallStep/index.tsx@@ -86,7 +86,7 @@ export const OnboardingInstallStep: OnboardingStepComponentType<OnboardingInstal// gets a generic "Install" title rather than tying it to whichever product// happens to be the dedup survivor (which would mislead users picking PA + WA +// SR into thinking the step only installs Product Analytics, etc.).- // Product-specific install steps (LLM Analytics, Workflows, Logs) keep their+ // Product-specific install steps (AI observability, Workflows, Logs) keep their// product-titled label since they really are product-specific.const isSdkInstallStep = currentFlowStep?.dedupKey === INSTALL_DEDUP_KEYS.POSTHOG_JSconst installTitle = isSdkInstallStep ? 'Install' : productName ? `Install ${productName}` : 'Install your SDK'diff --git a/frontend/src/scenes/onboarding/sdks/allSDKs.tsx b/frontend/src/scenes/onboarding/sdks/allSDKs.tsxindex b25900d8e84f..e500daa95b1d 100644--- a/frontend/src/scenes/onboarding/sdks/allSDKs.tsx+++ b/frontend/src/scenes/onboarding/sdks/allSDKs.tsx@@ -195,266 +195,266 @@ export const ALL_SDKS: SDK[] = [key: SDKKey.OPENAI,tags: [SDKTag.MODEL_PROVIDER, SDKTag.FRAMEWORK],image: <OpenAILogo />,- docsLink: 'https://posthog.com/docs/llm-analytics/installation/openai',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/openai',},{name: 'OpenAI Agents',key: SDKKey.OPENAI_AGENTS,tags: [SDKTag.FRAMEWORK],image: <OpenAILogo />,- docsLink: 'https://posthog.com/docs/llm-analytics/installation/openai-agents',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/openai-agents',},{name: 'Anthropic',key: SDKKey.ANTHROPIC,tags: [SDKTag.MODEL_PROVIDER],image: <AnthropicLogo />,- docsLink: 'https://posthog.com/docs/llm-analytics/installation/anthropic',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/anthropic',},{name: 'Google Gemini',key: SDKKey.GOOGLE_GEMINI,tags: [SDKTag.MODEL_PROVIDER],image: geminiImage,- docsLink: 'https://posthog.com/docs/llm-analytics/installation/google',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/google',},{name: 'Vercel AI SDK',key: SDKKey.VERCEL_AI,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/vercel_373fa70879.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/vercel-ai',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/vercel-ai',},{name: 'LangChain',key: SDKKey.LANGCHAIN,tags: [SDKTag.FRAMEWORK],image: <LangChainLogo />,- docsLink: 'https://posthog.com/docs/llm-analytics/installation/langchain',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/langchain',},{name: 'LiteLLM',key: SDKKey.LITELLM,tags: [SDKTag.FRAMEWORK, SDKTag.GATEWAY],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/litellmicon_a2805d75e5.png',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/litellm',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/litellm',},{name: 'OpenRouter',key: SDKKey.OPENROUTER,tags: [SDKTag.GATEWAY],image: <OpenRouterLogo />,- docsLink: 'https://posthog.com/docs/llm-analytics/installation/openrouter',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/openrouter',},{name: 'Cloudflare AI Gateway',key: SDKKey.CLOUDFLARE_AI_GATEWAY,tags: [SDKTag.GATEWAY],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/cloudflare_logo_6572a9f441.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/cloudflare-ai-gateway',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/cloudflare-ai-gateway',},{name: 'Dedalus Labs',key: SDKKey.DEDALUS,tags: [SDKTag.GATEWAY],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/dedalus_labs_logo_e03bb97137.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/dedalus',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/dedalus',},{name: 'DeepSeek',key: SDKKey.DEEPSEEK,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/deepseek_df02608124.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/deepseek',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/deepseek',},{name: 'LangGraph',key: SDKKey.LANGGRAPH,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/langgraph_2f91869ac8.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/langgraph',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/langgraph',},{name: 'Ollama',key: SDKKey.OLLAMA,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/ollama_ff56896a1f.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/ollama',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/ollama',},{name: 'AWS Bedrock',key: SDKKey.AWS_BEDROCK,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/bedrock_5c06698148.png',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/aws-bedrock',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/aws-bedrock',},{name: 'Azure OpenAI',key: SDKKey.AZURE_OPENAI,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/azure_openai_884ba0124a.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/azure-openai',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/azure-openai',},{name: 'Groq',key: SDKKey.GROQ,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/groq_a0ed539e47.png',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/groq',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/groq',},{name: 'Mistral',key: SDKKey.MISTRAL,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/mistral_551c75e2dd.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/mistral',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/mistral',},{name: 'LlamaIndex',key: SDKKey.LLAMAINDEX,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/llamaindex_f831132d7c.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/llamaindex',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/llamaindex',},{name: 'CrewAI',key: SDKKey.CREWAI,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/crewai_67ee9f5eb6.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/crewai',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/crewai',},{name: 'Instructor',key: SDKKey.INSTRUCTOR,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/instructor_b1982d9ce9.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/instructor',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/instructor',},{name: 'Pydantic AI',key: SDKKey.PYDANTIC_AI,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/pydantic_ai_55029bc39b.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/pydantic-ai',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/pydantic-ai',},{name: 'xAI',key: SDKKey.XAI,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/xai_77b917714b.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/xai',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/xai',},{name: 'Perplexity',key: SDKKey.PERPLEXITY,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/perplexity_7d451cb62c.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/perplexity',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/perplexity',},{name: 'Together AI',key: SDKKey.TOGETHER_AI,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/together_ai_49ac1a57fb.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/together-ai',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/together-ai',},{name: 'Fireworks AI',key: SDKKey.FIREWORKS_AI,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/fireworks_ai_a3d8a59e96.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/fireworks-ai',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/fireworks-ai',},{name: 'Cohere',key: SDKKey.COHERE,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/cohere_0ddf02d545.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/cohere',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/cohere',},{name: 'Hugging Face',key: SDKKey.HUGGING_FACE,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/hugging_face_ae0a406f62.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/hugging-face',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/hugging-face',},{name: 'DSPy',key: SDKKey.DSPY,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/dspy_548bc2f255.webp',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/dspy',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/dspy',},{name: 'AutoGen',key: SDKKey.AUTOGEN,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/autogen_a8c56d013e.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/autogen',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/autogen',},{name: 'Semantic Kernel',key: SDKKey.SEMANTIC_KERNEL,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/w_200,c_limit,q_auto,f_auto/semantic_kernel_5102489978.png',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/semantic-kernel',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/semantic-kernel',},{name: 'smolagents',key: SDKKey.SMOLAGENTS,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/smolagents_logo_1_545072ae17.png',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/smolagents',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/smolagents',},{name: 'Mastra',key: SDKKey.MASTRA,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/mastra_7ea7df92ab.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/mastra',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/mastra',},{name: 'Mirascope',key: SDKKey.MIRASCOPE,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/mirascope_33f38e04ea.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/mirascope',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/mirascope',},{name: 'Convex',key: SDKKey.CONVEX,tags: [SDKTag.FRAMEWORK],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/convex_d8dcddcd63.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/convex',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/convex',},{name: 'Cerebras',key: SDKKey.CEREBRAS,tags: [SDKTag.MODEL_PROVIDER],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/cerebras_4d953c1c2b.png',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/cerebras',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/cerebras',},{name: 'Vercel AI Gateway',key: SDKKey.VERCEL_AI_GATEWAY,tags: [SDKTag.GATEWAY],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/vercel_373fa70879.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/vercel-ai-gateway',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/vercel-ai-gateway',},{name: 'Portkey',key: SDKKey.PORTKEY,tags: [SDKTag.GATEWAY],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/portkey_15a83f0395.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/portkey',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/portkey',},{name: 'Helicone',key: SDKKey.HELICONE,tags: [SDKTag.LLM, SDKTag.GATEWAY],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/helicone_7c41fa4c2d.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/helicone',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/helicone',},{name: 'Manual Capture',@@ -465,14 +465,14 @@ export const ALL_SDKS: SDK[] = [<Logomark /></span>),- docsLink: 'https://posthog.com/docs/llm-analytics/manual-capture',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/manual-capture',},{name: 'OpenTelemetry',key: SDKKey.OPENTELEMETRY,tags: [SDKTag.INTEGRATION],image: 'https://res.cloudinary.com/dmukukwp6/image/upload/opentelemetry_afb29df5ab.svg',- docsLink: 'https://posthog.com/docs/llm-analytics/installation/opentelemetry',+ docsLink: 'https://posthog.com/docs/ai-observability/installation/opentelemetry',},{name: 'iOS',@@ -493,7 +493,7 @@ export const ALL_SDKS: SDK[] = [key: SDKKey.LANGFUSE,tags: [SDKTag.LLM],image: langfuseImage,- docsLink: 'https://posthog.com/docs/llm-analytics/integrations/langfuse-posthog',+ docsLink: 'https://posthog.com/docs/ai-observability/integrations/langfuse-posthog',},{name: 'Laravel',@@ -594,7 +594,7 @@ export const ALL_SDKS: SDK[] = [key: SDKKey.TRACELOOP,tags: [SDKTag.LLM],image: traceloopImage,- docsLink: 'https://posthog.com/docs/llm-analytics/integrations/traceloop-posthog',+ docsLink: 'https://posthog.com/docs/ai-observability/integrations/traceloop-posthog',},{name: 'Vite',diff --git a/frontend/src/scenes/onboarding/utils.tsx b/frontend/src/scenes/onboarding/utils.tsxindex 0cd21d101331..322430979fc6 100644--- a/frontend/src/scenes/onboarding/utils.tsx+++ b/frontend/src/scenes/onboarding/utils.tsx@@ -170,12 +170,12 @@ export const availableOnboardingProducts: AvailableOnboardingProducts = {socialProof: 'Used by 160K+ teams',},[ProductKey.LLM_ANALYTICS]: {- name: 'LLM Analytics',- description: 'Monitor LLM usage, costs, and quality',+ name: 'AI observability',+ description: 'Monitor AI usage, costs, and quality',userCentricDescription: 'Keep your AI costs down and quality up',capabilities: ['Cost tracking per model', 'Latency & error monitoring', 'Prompt & response evaluation'],valueProps: [- { title: 'Cost tracking per model', problem: 'See which LLM calls are burning your budget' },+ { title: 'Cost tracking per model', problem: 'See which AI calls are burning your budget' },{ title: 'Latency monitoring', problem: 'Find slow prompts before users complain' },{ title: 'Prompt evaluation', problem: 'Compare prompt versions with real data' },],diff --git a/frontend/src/scenes/saved-insights/SavedInsights.tsx b/frontend/src/scenes/saved-insights/SavedInsights.tsxindex 0a7ea844f2c1..517c1484d607 100644--- a/frontend/src/scenes/saved-insights/SavedInsights.tsx+++ b/frontend/src/scenes/saved-insights/SavedInsights.tsx@@ -510,17 +510,17 @@ export const QUERY_TYPES_METADATA: Record<NodeKind, InsightTypeMetadata> = {inMenu: false,},[NodeKind.TracesQuery]: {- name: 'LLM Analytics Traces',+ name: 'AI observability traces',icon: IconLlmAnalytics,inMenu: false,},[NodeKind.TraceNeighborsQuery]: {- name: 'LLM Analytics Trace Neighbors',+ name: 'AI observability trace neighbors',icon: IconLlmAnalytics,inMenu: false,},[NodeKind.TraceQuery]: {- name: 'LLM Analytics Trace',+ name: 'AI observability trace',icon: IconLlmAnalytics,inMenu: false,},diff --git a/frontend/src/scenes/sceneTypes.ts b/frontend/src/scenes/sceneTypes.tsindex 62be2decc9fb..5bf6941252b0 100644--- a/frontend/src/scenes/sceneTypes.ts+++ b/frontend/src/scenes/sceneTypes.ts@@ -356,7 +356,7 @@ export const sceneToAccessControlResourceType: Partial<Record<Scene, AccessContr[Scene.CustomerJourneyBuilder]: AccessControlResourceType.CustomerAnalytics,[Scene.CustomerJourneyTemplates]: AccessControlResourceType.CustomerAnalytics,- // LLM Analytics+ // AI observability[Scene.LLMAnalytics]: AccessControlResourceType.LlmAnalytics,[Scene.LLMAnalyticsDataset]: AccessControlResourceType.LlmAnalytics,[Scene.LLMAnalyticsDatasets]: AccessControlResourceType.LlmAnalytics,diff --git a/frontend/src/scenes/settings/SettingsMap.tsx b/frontend/src/scenes/settings/SettingsMap.tsxindex bb70ec451706..52b39a0d8a61 100644--- a/frontend/src/scenes/settings/SettingsMap.tsx+++ b/frontend/src/scenes/settings/SettingsMap.tsx@@ -697,7 +697,7 @@ export const SETTINGS_MAP: SettingSection[] = [{level: 'environment',id: 'environment-llm-analytics',- title: 'LLM analytics',+ title: 'AI observability',group: 'Products',flag: 'LLM_ANALYTICS_EVALUATIONS',settings: [@@ -705,9 +705,9 @@ export const SETTINGS_MAP: SettingSection[] = [id: 'llm-analytics-byok',title: 'Bring Your Own Key (BYOK)',description:- 'Add and manage provider API keys for LLM analytics features, including evaluations and playground.',+ 'Add and manage provider API keys for AI observability features, including evaluations and playground.',component: <LLMProviderKeysSettings />,- docsUrl: 'https://posthog.com/docs/llm-analytics/evaluations',+ docsUrl: 'https://posthog.com/docs/ai-evals/evaluations',keywords: ['llm', 'provider', 'api key', 'openai', 'anthropic', 'gemini', 'playground'],},],diff --git a/frontend/src/scenes/welcome/productBranding.ts b/frontend/src/scenes/welcome/productBranding.tsindex 57baa3f0643f..65cb4c728db9 100644--- a/frontend/src/scenes/welcome/productBranding.ts+++ b/frontend/src/scenes/welcome/productBranding.ts@@ -74,7 +74,7 @@ export const PRODUCT_BRANDING: Record<string, ProductBranding> = {rgb: '133 103 255',},llm_analytics: {- label: 'LLM analytics',+ label: 'AI observability',docsHref: 'https://posthog.com/docs/ai-engineering/llm-analytics',Icon: IconLlmAnalytics,rgb: '182 42 217',diff --git a/frontend/src/taxonomy/core-filter-definitions-by-group.json b/frontend/src/taxonomy/core-filter-definitions-by-group.jsonindex b9ee9317f0bf..9b2ff85ebe61 100644--- a/frontend/src/taxonomy/core-filter-definitions-by-group.json+++ b/frontend/src/taxonomy/core-filter-definitions-by-group.json@@ -1990,7 +1990,7 @@"description": "The MCP tool's description as advertised to the agent at the time of the call. Useful when triaging errors to see what the agent thought the tool would do \u2014 descriptions change over time, so the value captured here is the version the agent actually saw. Only present on mcp_tool_call and the paired $exception event.","examples": ["Run a HogQL/SQL query against PostHog.",- "Fetch the trace referenced by an LLM analytics URL."+ "Fetch the trace referenced by an AI observability URL."],"label": "MCP tool description"},@@ -5899,7 +5899,7 @@"description": "The MCP tool's description as advertised to the agent at the time of the call. Useful when triaging errors to see what the agent thought the tool would do \u2014 descriptions change over time, so the value captured here is the version the agent actually saw. Only present on mcp_tool_call and the paired $exception event.","examples": ["Run a HogQL/SQL query against PostHog.",- "Fetch the trace referenced by an LLM analytics URL."+ "Fetch the trace referenced by an AI observability URL."],"label": "MCP tool description"},@@ -7583,4 +7583,4 @@"label": "Web vitals LCP"}}-}\ No newline at end of file+}diff --git a/hogli.yaml b/hogli.yamlindex 8245d5196efa..758d898132e9 100644--- a/hogli.yaml+++ b/hogli.yaml@@ -793,7 +793,7 @@ tools:description: Download and cache GeoLite2 MaxMind database with retry logictool:download-sentiment-model:bin_script: download-sentiment-model- description: Download and export sentiment ONNX model for local LLM Analytics+ description: Download and export sentiment ONNX model for local AI observabilitydevelopmentservices:- temporaldiff --git a/nodejs/src/ingestion/ai/errors/index.ts b/nodejs/src/ingestion/ai/errors/index.tsindex 38673097427f..4b2009d13af1 100644--- a/nodejs/src/ingestion/ai/errors/index.ts+++ b/nodejs/src/ingestion/ai/errors/index.ts@@ -9,7 +9,7 @@ const UNKNOWN_ERROR = 'Unknown error'* Process error normalization for AI events.** For all events with $ai_is_error = true, ensures $ai_error_normalized is set.- * This guarantees errors can be grouped in the LLM analytics errors tab.+ * This guarantees errors can be grouped in the AI observability errors tab.** This is a non-blocking operation - if normalization fails for any reason,* a fallback value is used.diff --git a/posthog/api/test/dashboards/test_dashboard.py b/posthog/api/test/dashboards/test_dashboard.pyindex 9691a01f687f..c746bf575daf 100644--- a/posthog/api/test/dashboards/test_dashboard.py+++ b/posthog/api/test/dashboards/test_dashboard.py@@ -3031,7 +3031,7 @@ class TestDashboard(APIBaseTest, QueryMatchingTest):# Verify dashboard was created with unlisted modeself.assertEqual(dashboard.creation_mode, "unlisted")- self.assertEqual(dashboard.name, "LLM Analytics Default")+ self.assertEqual(dashboard.name, "AI observability default")# Verify tags were createdtags = list(dashboard.tagged_items.values_list("tag__name", flat=True))diff --git a/posthog/clickhouse/property_groups.py b/posthog/clickhouse/property_groups.pyindex a255823553f8..b581bdbb9f39 100644--- a/posthog/clickhouse/property_groups.py+++ b/posthog/clickhouse/property_groups.py@@ -187,7 +187,7 @@ event_property_group_definitions = {lambda key: not key.startswith("$") and key not in ignore_custom_properties,column_type_name="group",),- # Please make sure that changing the ai property group won't affect the performance of the LLM Analytics Usage Report task.+ # Please make sure that changing the ai property group won't affect the performance of the AI observability usage report task."ai": PropertyGroupDefinition(f"key LIKE '$ai_%' AND key NOT IN (" + f", ".join(f"'{name}'" for name in large_ai_properties) + f")",lambda key: key.startswith("$ai_") and key not in large_ai_properties,diff --git a/posthog/dags/common/owners.py b/posthog/dags/common/owners.pyindex 699fa0b27c34..55317e56cbff 100644--- a/posthog/dags/common/owners.py+++ b/posthog/dags/common/owners.py@@ -13,7 +13,7 @@ class JobOwners(str, Enum):TEAM_GROWTH = "team-growth"TEAM_INGESTION = "team-ingestion"TEAM_LOGS = "team-logs"- TEAM_LLM_ANALYTICS = "team-llm-analytics"+ TEAM_AI_OBSERVABILITY = "team-ai-observability"TEAM_MANAGED_WAREHOUSE = "team-managed-warehouse"TEAM_POSTHOG_AI = "team-posthog-ai"TEAM_QUERY_PERFORMANCE = "team-query-performance"diff --git a/posthog/dags/slack_alerts.py b/posthog/dags/slack_alerts.pyindex 9009473ce068..709a3acb191b 100644--- a/posthog/dags/slack_alerts.py+++ b/posthog/dags/slack_alerts.py@@ -17,7 +17,7 @@ notification_channel_per_team = {JobOwners.TEAM_DATA_TOOLS.value: "#alerts-data-tools",JobOwners.TEAM_ERROR_TRACKING.value: "#alerts-error-tracking",JobOwners.TEAM_GROWTH.value: "#alerts-growth",- JobOwners.TEAM_LLM_ANALYTICS.value: "#alerts-llm-analytics",+ JobOwners.TEAM_AI_OBSERVABILITY.value: "#alerts-aio",JobOwners.TEAM_MANAGED_WAREHOUSE.value: "#alerts-managed-warehouse",JobOwners.TEAM_INGESTION.value: "#alerts-ingestion",JobOwners.TEAM_LOGS.value: "#alerts-logs-prod",diff --git a/posthog/hogql/feature_extractor.py b/posthog/hogql/feature_extractor.pyindex 79cec2ba9cfd..c9bc6146849f 100644--- a/posthog/hogql/feature_extractor.py+++ b/posthog/hogql/feature_extractor.py@@ -1,7 +1,7 @@"""Extract product-attribution features from a HogQL select query.Feeds ``add_fallback_query_tags`` so HogQL queries can be attributed to a-product surface (LLM analytics, error tracking, web analytics, replay, …)+product surface (AI observability, error tracking, web analytics, replay, …)based on what tables and event filters they reference."""diff --git a/posthog/hogql_queries/ai/ai_table_resolver.py b/posthog/hogql_queries/ai/ai_table_resolver.pyindex 3f1f12da1902..27a76f645c6c 100644--- a/posthog/hogql_queries/ai/ai_table_resolver.py+++ b/posthog/hogql_queries/ai/ai_table_resolver.py@@ -14,13 +14,13 @@ from posthog.hogql_queries.ai.ai_property_rewriter import rewrite_expr_for_ai_evAI_EVENTS_QUERY_TOTAL = Counter("posthog_ai_events_query_total",- "LLM analytics queries routed by execute_with_ai_events_fallback, by read-path source.",+ "AI observability queries routed by execute_with_ai_events_fallback, by read-path source.",labelnames=["source"],)AI_EVENTS_QUERY_DURATION_SECONDS = Histogram("posthog_ai_events_query_duration_seconds",- "Wall-clock duration of LLM analytics query executions, by read-path source. Used to compare dedicated_table vs shared_table latency.",+ "Wall-clock duration of AI observability query executions, by read-path source. Used to compare dedicated_table vs shared_table latency.",labelnames=["source"],buckets=(0.025, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, 30),)diff --git a/posthog/models/team/setup_tasks.py b/posthog/models/team/setup_tasks.pyindex 2ee478e52abd..cc99e255ffd6 100644--- a/posthog/models/team/setup_tasks.py+++ b/posthog/models/team/setup_tasks.py@@ -65,7 +65,7 @@ class SetupTaskId(StrEnum):ViewFirstError = "view_first_error"ResolveFirstError = "resolve_first_error"- # LLM Analytics+ # AI observabilityIngestFirstLlmEvent = "ingest_first_llm_event"ViewFirstTrace = "view_first_trace"TrackCosts = "track_costs"diff --git a/posthog/tasks/llm_analytics_usage_report.py b/posthog/tasks/llm_analytics_usage_report.pyindex 8e6094eca102..59170d44339d 100644--- a/posthog/tasks/llm_analytics_usage_report.py+++ b/posthog/tasks/llm_analytics_usage_report.py@@ -35,11 +35,11 @@ def get_ph_client() -> PostHogClient:AI_EVENTS = [event.value for event in AIEventType]LLM_PROMPT_FETCHED_EVENT = "$llm_prompt_fetched"-# Events that should make a team eligible for an LLM analytics usage report.+# Events that should make a team eligible for an AI observability usage report.# Keep this list broader than AI_EVENTS when a non-AI event should still trigger reporting.LLM_ANALYTICS_REPORT_TRIGGER_EVENTS = [*AI_EVENTS, LLM_PROMPT_FETCHED_EVENT]-# ClickHouse query settings for LLM Analytics queries+# ClickHouse query settings for AI observability queriesCH_LLM_ANALYTICS_SETTINGS = {"max_execution_time": 5 * 60, # 5 minutes}@@ -218,7 +218,7 @@ def _combine_team_count_results(results_list: list) -> list[tuple[int, int]]:@retry(tries=QUERY_RETRIES, delay=QUERY_RETRY_DELAY, backoff=QUERY_RETRY_BACKOFF)def get_teams_with_ai_events(begin: datetime, end: datetime) -> list[int]:"""- Get all team_ids that have at least one LLM analytics report trigger event in the period.+ Get all team_ids that have at least one AI observability report trigger event in the period.This is a fast query that returns only distinct team_ids, allowing subsequentqueries to filter by team_id and use the primary key index efficiently.@@ -236,7 +236,7 @@ def get_teams_with_ai_events(begin: datetime, end: datetime) -> list[int]:feature=Feature.QUERY,kind="celery",id=CELERY_TASK_ID,- name="Get teams with LLM analytics trigger events",+ name="Get teams with AI observability trigger events",workload=Workload.OFFLINE.value,):results = sync_execute(@@ -644,10 +644,10 @@ def _get_all_llm_analytics_reports(period_end: datetime,) -> dict[str, dict[str, Any]]:"""- Gather all LLM Analytics usage data for all organizations.+ Gather all AI observability usage data for all organizations.This function has been optimized to use a small number of queries instead of 44+:- - 1 query to get team_ids with LLM analytics trigger events+ - 1 query to get team_ids with AI observability trigger events- 1 combined query for all metrics (event counts, costs, tokens)- 1 query for LLM prompt fetched counts- 1 combined query for all dimension breakdowns (using Maps)@@ -655,16 +655,16 @@ def _get_all_llm_analytics_reports(Returns:dict mapping organization_id to usage data"""- logger.info("Querying LLM Analytics usage data")+ logger.info("Querying AI observability usage data")# Phase 1: Get all team_ids with report trigger events (fast query)team_ids = get_teams_with_ai_events(period_start, period_end)if not team_ids:- logger.info("No teams with LLM analytics trigger events found")+ logger.info("No teams with AI observability trigger events found")return {}- logger.info(f"Found {len(team_ids)} teams with LLM analytics trigger events")+ logger.info(f"Found {len(team_ids)} teams with AI observability trigger events")# Phase 2: Get all metrics in a single combined querylogger.info("Querying all AI metrics")@@ -818,7 +818,7 @@ def _get_all_llm_analytics_reports(report["cost_model_provider_breakdown"].get(value, 0) + count)- logger.info(f"Generated LLM Analytics reports for {len(org_reports)} organizations")+ logger.info(f"Generated AI observability reports for {len(org_reports)} organizations")return org_reports@@ -830,7 +830,7 @@ def capture_llm_analytics_report(at_date: str | None = None,) -> None:"""- Capture LLM Analytics usage report event for a specific organization.+ Capture AI observability usage report event for a specific organization.Args:organization_id: The organization ID@@ -850,10 +850,10 @@ def capture_llm_analytics_report(properties=report_dict,timestamp=at_date,)- logger.info(f"Captured LLM Analytics usage report for organization {organization_id}")+ logger.info(f"Captured AI observability usage report for organization {organization_id}")except Exception as err:logger.exception(- f"LLM Analytics usage report sent to PostHog for organization {organization_id} failed: {str(err)}",+ f"AI observability usage report sent to PostHog for organization {organization_id} failed: {str(err)}",)try:@@ -877,7 +877,7 @@ def send_llm_analytics_usage_reports(organization_ids: list[str] | None = None,) -> None:"""- Main task to send LLM Analytics usage reports for all organizations.+ Main task to send AI observability usage reports for all organizations.Args:dry_run: If True, don't actually send reports@@ -892,7 +892,7 @@ def send_llm_analytics_usage_reports()if are_usage_reports_disabled:- posthoganalytics.capture_exception(Exception(f"LLM Analytics usage reports are disabled for {at}"))+ posthoganalytics.capture_exception(Exception(f"AI observability usage reports are disabled for {at}"))returnat_date = parser.parse(at) if at else None@@ -901,12 +901,12 @@ def send_llm_analytics_usage_reports(if organization_ids:logger.info(- "Sending LLM Analytics usage reports for specific organizations",+ "Sending AI observability usage reports for specific organizations",org_count=len(organization_ids),organization_ids=organization_ids,)- logger.info("Gathering LLM Analytics usage data")+ logger.info("Gathering AI observability usage data")query_time_start = datetime.now(UTC)org_reports = _get_all_llm_analytics_reports(period_start, period_end)@@ -918,14 +918,14 @@ def send_llm_analytics_usage_reports(missing_orgs = set(organization_ids) - set(org_reports.keys())logger.info(- f"Filtered LLM Analytics org reports from {original_count} to {filtered_count} organizations",+ f"Filtered AI observability org reports from {original_count} to {filtered_count} organizations",requested_org_count=len(organization_ids),found_org_count=filtered_count,missing_orgs=missing_orgs or None,)query_time_duration = (datetime.now(UTC) - query_time_start).total_seconds()- logger.info(f"Found {len(org_reports)} LLM Analytics org reports. It took {query_time_duration} seconds.")+ logger.info(f"Found {len(org_reports)} AI observability org reports. It took {query_time_duration} seconds.")if dry_run:logger.info("Dry run - not sending reports")@@ -934,7 +934,7 @@ def send_llm_analytics_usage_reports(total_orgs = len(org_reports)total_orgs_sent = 0- logger.info("Sending LLM Analytics usage reports")+ logger.info("Sending AI observability usage reports")at_date_str = at_date.isoformat() if at_date else None@@ -948,11 +948,11 @@ def send_llm_analytics_usage_reports(total_orgs_sent += 1except Exception as err:- logger.exception(f"Failed to queue LLM Analytics report for organization {org_id}: {err}")+ logger.exception(f"Failed to queue AI observability report for organization {org_id}: {err}")capture_exception(err)logger.info(- f"Queued {total_orgs_sent}/{total_orgs} LLM Analytics usage reports",+ f"Queued {total_orgs_sent}/{total_orgs} AI observability usage reports",total_orgs=total_orgs,total_orgs_sent=total_orgs_sent,region=get_instance_region(),diff --git a/posthog/tasks/scheduled.py b/posthog/tasks/scheduled.pyindex 979c3657f98d..727bbf12c04d 100644--- a/posthog/tasks/scheduled.py+++ b/posthog/tasks/scheduled.py@@ -314,7 +314,7 @@ def setup_periodic_tasks(sender: Celery, **kwargs: Any) -> None:name="send delayed org usage reports",)- # Send LLM Analytics usage reports daily at 4:15 AM UTC+ # Send AI observability usage reports daily at 4:15 AM UTCsender.add_periodic_task(crontab(hour="4", minute="15"),send_llm_analytics_usage_reports.s(),diff --git a/posthog/tasks/test/test_llm_analytics_usage_report.py b/posthog/tasks/test/test_llm_analytics_usage_report.pyindex 8fca4c588ff3..fadb55cb7778 100644--- a/posthog/tasks/test/test_llm_analytics_usage_report.py+++ b/posthog/tasks/test/test_llm_analytics_usage_report.py@@ -31,7 +31,7 @@ from posthog.utils import get_previous_day@freeze_time("2022-01-10T00:01:00Z")class TestLLMAnalyticsUsageReport(APIBaseTest, ClickhouseTestMixin, ClickhouseDestroyTablesMixin):- """Tests for LLM Analytics usage reporting functionality."""+ """Tests for AI observability usage reporting functionality."""def setUp(self) -> None:super().setUp()@@ -467,7 +467,7 @@ class TestLLMAnalyticsUsageReport(APIBaseTest, ClickhouseTestMixin, ClickhouseDeassert metrics.response_count == 5 # 3 + 2 (only "survey sent" events)def test_full_llm_analytics_report(self) -> None:- """Test the full LLM Analytics report generation."""+ """Test the full AI observability report generation."""# Create second organization and teamorg_2 = Organization.objects.create(name="Org 2")team_2 = Team.objects.create(organization=org_2, name="Team 2")@@ -606,7 +606,7 @@ class TestLLMAnalyticsUsageReport(APIBaseTest, ClickhouseTestMixin, ClickhouseDemock_get_ph_client: MagicMock,mock_capture_report: MagicMock,) -> None:- """Test the main task to send LLM Analytics usage reports."""+ """Test the main task to send AI observability usage reports."""distinct_id = str(uuid4())_create_person(distinct_ids=[distinct_id], team=self.team)diff --git a/posthog/tasks/usage_report.py b/posthog/tasks/usage_report.pyindex cb67ee012e5d..c6cba1ea4f56 100644--- a/posthog/tasks/usage_report.py+++ b/posthog/tasks/usage_report.py@@ -190,7 +190,7 @@ class UsageReportCounters:flutter_exceptions_captured_in_period: intunknown_exceptions_captured_in_period: int- # LLM Analytics+ # AI observabilityai_event_count_in_period: int# AI Billing Credits (PostHog AI feature usage)diff --git a/posthog/taxonomy/taxonomy.py b/posthog/taxonomy/taxonomy.pyindex fcffe0fc111c..54b2f341021a 100644--- a/posthog/taxonomy/taxonomy.py+++ b/posthog/taxonomy/taxonomy.py@@ -2534,7 +2534,7 @@ CORE_FILTER_DEFINITIONS_BY_GROUP: dict[str, dict[str, CoreFilterDefinition]] = {"description": "The MCP tool's description as advertised to the agent at the time of the call. Useful when triaging errors to see what the agent thought the tool would do — descriptions change over time, so the value captured here is the version the agent actually saw. Only present on mcp_tool_call and the paired $exception event.","examples": ["Run a HogQL/SQL query against PostHog.",- "Fetch the trace referenced by an LLM analytics URL.",+ "Fetch the trace referenced by an AI observability URL.",],},"$mcp_resource_name": {diff --git a/posthog/templates/email/llm_analytics_evaluation_disabled.html b/posthog/templates/email/llm_analytics_evaluation_disabled.htmlindex 7833e017f040..2f82dbf9e00e 100644--- a/posthog/templates/email/llm_analytics_evaluation_disabled.html+++ b/posthog/templates/email/llm_analytics_evaluation_disabled.html@@ -9,7 +9,7 @@{{ disabled_reason }}</p><p>- To resume the evaluation, open it in <a href="{% absolute_uri evaluation_url %}">LLM analytics</a> and update its+ To resume the evaluation, open it in <a href="{% absolute_uri evaluation_url %}">AI observability</a> and update itsconfiguration (for example, choose a supported model or add a provider API key in<a href="{% absolute_uri settings_url %}">settings</a>). Once fixed, re-enable the evaluation to start it again.</p>diff --git a/posthog/templates/email/llm_analytics_trial_exhausted.html b/posthog/templates/email/llm_analytics_trial_exhausted.htmlindex 5004f83f6601..7b202799c88a 100644--- a/posthog/templates/email/llm_analytics_trial_exhausted.html+++ b/posthog/templates/email/llm_analytics_trial_exhausted.html@@ -1,10 +1,10 @@{% extends "email/base.html" %} {% load posthog_assets %} {% load posthog_filters %}-{% block preheader %}Your trial evaluations for LLM analytics have been used up{% endblock %}+{% block preheader %}Your trial evaluations for AI observability have been used up{% endblock %}{% block heading %}Your trial evaluations have been used up{% endblock %}{% block section %}{% if affected_evals %}<p>- Your team has used all <strong>{{ trial_eval_limit }}</strong> trial evaluations for LLM analytics. The following evaluations have been disabled:+ Your team has used all <strong>{{ trial_eval_limit }}</strong> trial evaluations for AI observability. The following evaluations have been disabled:</p><ul>{% for eval_name in affected_evals %}<li>{{ eval_name }}</li>{% endfor %}@@ -12,11 +12,11 @@</ul>{% else %}<p>- Your team has used all <strong>{{ trial_eval_limit }}</strong> trial evaluations for LLM analytics. Evaluations using trial credits have been disabled.+ Your team has used all <strong>{{ trial_eval_limit }}</strong> trial evaluations for AI observability. Evaluations using trial credits have been disabled.</p>{% endif %}<p>- To continue running evaluations, add your own provider API key in the <a href="{% absolute_uri settings_url %}">LLM analytics settings</a>. Once added, you can re-enable your evaluations.+ To continue running evaluations, add your own provider API key in the <a href="{% absolute_uri settings_url %}">AI observability settings</a>. Once added, you can re-enable your evaluations.</p><div class="mb mt text-center"><a class="button" href="{% absolute_uri settings_url %}">Add your API key</a>diff --git a/posthog/templates/email/llm_analytics_trial_warning.html b/posthog/templates/email/llm_analytics_trial_warning.htmlindex ccb05dc2635a..207774de66a5 100644--- a/posthog/templates/email/llm_analytics_trial_warning.html+++ b/posthog/templates/email/llm_analytics_trial_warning.html@@ -1,9 +1,9 @@{% extends "email/base.html" %} {% load posthog_assets %} {% load posthog_filters %}-{% block preheader %}You've used {{ threshold_pct }}% of your LLM analytics trial evaluations{% endblock %}+{% block preheader %}You've used {{ threshold_pct }}% of your AI observability trial evaluations{% endblock %}{% block heading %}You've used {{ threshold_pct }}% of your trial evaluations{% endblock %}{% block section %}<p>- Your team has used <strong>{{ trial_evals_used }}</strong> of <strong>{{ trial_eval_limit }}</strong> trial evaluations for LLM analytics, with <strong>{{ trial_evals_remaining }}</strong> remaining.+ Your team has used <strong>{{ trial_evals_used }}</strong> of <strong>{{ trial_eval_limit }}</strong> trial evaluations for AI observability, with <strong>{{ trial_evals_remaining }}</strong> remaining.</p>{% if affected_evals %}<p>@@ -19,7 +19,7 @@</p>{% endif %}<p>- To ensure uninterrupted evaluations, add your own provider API key in the <a href="{% absolute_uri settings_url %}">LLM analytics settings</a>.+ To ensure uninterrupted evaluations, add your own provider API key in the <a href="{% absolute_uri settings_url %}">AI observability settings</a>.</p><div class="mb mt text-center"><a class="button" href="{% absolute_uri settings_url %}">Add your API key</a>diff --git a/posthog/temporal/ai/anomaly_investigation/runner.py b/posthog/temporal/ai/anomaly_investigation/runner.pyindex fcd83f94ec8f..f3095cbf578c 100644--- a/posthog/temporal/ai/anomaly_investigation/runner.py+++ b/posthog/temporal/ai/anomaly_investigation/runner.py@@ -160,7 +160,7 @@ async def run_investigation(llm_with_final_report = llm.bind_tools([final_report_tool], tool_choice=FINAL_REPORT_TOOL_NAME)# Without a langchain CallbackHandler attached, MaxChatAnthropic's posthog_properties- # never reach LLM analytics — langchain-anthropic itself doesn't emit $ai_* events.+ # never reach AI observability — langchain-anthropic itself doesn't emit $ai_* events.# Attach one here so every generation/span this agent makes shows up under# ai_product=alert_investigation_agent, matching the convention used by other# Temporal-driven agents (see llma_eval_reports/report_agent/graph.py).diff --git a/posthog/temporal/llm_analytics/eval_reports/report_agent/graph.py b/posthog/temporal/llm_analytics/eval_reports/report_agent/graph.pyindex 6c641174018e..23c8b7e81b63 100644--- a/posthog/temporal/llm_analytics/eval_reports/report_agent/graph.py+++ b/posthog/temporal/llm_analytics/eval_reports/report_agent/graph.py@@ -256,7 +256,7 @@ def run_eval_report_agent(from posthog.temporal.llm_analytics.eval_reports.metrics import increment_errors, increment_report_generated# Tag every LLM call made by this agent run so they show up under `ai_product =- # llma_eval_reports` in LLM analytics, matching the convention used by other+ # llma_eval_reports` in AI observability, matching the convention used by other# PostHog internal AI features. Trace id is unique per run so each invocation# is its own trace; distinct id is the team so traces group by project.callbacks: list[BaseCallbackHandler] = []diff --git a/posthog/temporal/llm_analytics/eval_reports/report_agent/prompts.py b/posthog/temporal/llm_analytics/eval_reports/report_agent/prompts.pyindex 9445d995b043..9ed45c91f4c2 100644--- a/posthog/temporal/llm_analytics/eval_reports/report_agent/prompts.py+++ b/posthog/temporal/llm_analytics/eval_reports/report_agent/prompts.py@@ -1,6 +1,6 @@"""System prompt for the evaluation report agent (v2 — agent-chosen sections)."""-EVAL_REPORT_SYSTEM_PROMPT = """You are an evaluation report agent for PostHog's LLM analytics platform. Your job is to analyze results from an LLM evaluation and produce a concise, grounded, example-backed report.+EVAL_REPORT_SYSTEM_PROMPT = """You are an evaluation report agent for PostHog's AI observability platform. Your job is to analyze results from an LLM evaluation and produce a concise, grounded, example-backed report.## What you're analyzingdiff --git a/posthog/temporal/llm_analytics/evaluation_clustering/__init__.py b/posthog/temporal/llm_analytics/evaluation_clustering/__init__.pyindex e1b1e4ed430f..ae37a0e933a6 100644--- a/posthog/temporal/llm_analytics/evaluation_clustering/__init__.py+++ b/posthog/temporal/llm_analytics/evaluation_clustering/__init__.py@@ -1,4 +1,4 @@-"""Evaluation-level clustering for LLM Analytics.+"""Evaluation-level clustering for AI observability.Two-stage pipeline:Stage A (hourly): sample $ai_evaluation events per ClusteringJob, compose a shortdiff --git a/posthog/temporal/llm_analytics/run_evaluation.py b/posthog/temporal/llm_analytics/run_evaluation.pyindex 020e1b4f3654..2932d6bb0a33 100644--- a/posthog/temporal/llm_analytics/run_evaluation.py+++ b/posthog/temporal/llm_analytics/run_evaluation.py@@ -360,10 +360,10 @@ async def send_trial_usage_email_activity(inputs: SendTrialUsageEmailInputs) ->is_exhausted = inputs.threshold_pct >= 100if is_exhausted:- subject = "Your LLM analytics trial evaluations have been used up"+ subject = "Your AI observability trial evaluations have been used up"template_name = "llm_analytics_trial_exhausted"else:- subject = f"You've used {inputs.threshold_pct}% of your LLM analytics trial evaluations"+ subject = f"You've used {inputs.threshold_pct}% of your AI observability trial evaluations"template_name = "llm_analytics_trial_warning"message = EmailMessage(@@ -407,8 +407,8 @@ class SendEvaluationDisabledEmailInputs:_STATUS_REASON_SUBJECTS = {- "model_not_allowed": "Your LLM analytics evaluation was disabled because its model isn't supported on the trial plan",- "provider_key_deleted": "Your LLM analytics evaluation was disabled because its provider API key was removed",+ "model_not_allowed": "Your AI observability evaluation was disabled because its model isn't supported on the trial plan",+ "provider_key_deleted": "Your AI observability evaluation was disabled because its provider API key was removed",}diff --git a/posthog/temporal/llm_analytics/sentiment/README.md b/posthog/temporal/llm_analytics/sentiment/README.mdindex d278951fd566..635e934abec6 100644--- a/posthog/temporal/llm_analytics/sentiment/README.md+++ b/posthog/temporal/llm_analytics/sentiment/README.md@@ -1,6 +1,6 @@# Sentiment classification-On-demand sentiment analysis for LLM Analytics traces.+On-demand sentiment analysis for AI observability traces.Classifies user messages from `$ai_generation` events using an ONNX model(`cardiffnlp/twitter-roberta-base-sentiment-latest`).diff --git a/posthog/temporal/llm_analytics/team_discovery.py b/posthog/temporal/llm_analytics/team_discovery.pyindex 8a03eb95c3a1..7b324157fd04 100644--- a/posthog/temporal/llm_analytics/team_discovery.py+++ b/posthog/temporal/llm_analytics/team_discovery.py@@ -1,5 +1,5 @@"""-Team discovery activity for LLM analytics workflows.+Team discovery activity for AI observability workflows.Provides dynamic team discovery that combines a guaranteed allowlistwith a configurable random sample of teams that have AI events.@@ -139,7 +139,7 @@ class TeamDiscoveryInput:@temporalio.activity.defnasync def get_team_ids_for_llm_analytics(inputs: TeamDiscoveryInput) -> list[int]:"""- Discover teams for LLM analytics workflows.+ Discover teams for AI observability workflows.Returns guaranteed allowlist teams + a random sample of other teams with AI events.On failure, falls back to guaranteed teams only.diff --git a/posthog/temporal/llm_analytics/trace_clustering/README.md b/posthog/temporal/llm_analytics/trace_clustering/README.mdindex ee21c7447046..daebf2df871a 100644--- a/posthog/temporal/llm_analytics/trace_clustering/README.md+++ b/posthog/temporal/llm_analytics/trace_clustering/README.md@@ -1,4 +1,4 @@-# LLM Analytics Trace Clustering+# AI observability trace clusteringAutomated workflow for clustering LLM traces based on their semantic embeddings, discovering patterns and grouping similar traces to help users understand their LLM application behavior.@@ -30,7 +30,7 @@ posthog/temporal/llm_analytics/trace_clustering/## Overview-This workflow implements trace clustering for LLM analytics:+This workflow implements trace clustering for AI observability:1. **Fetch trace IDs and embeddings** - Query trace IDs and embeddings via HogQL from the document embeddings table2. **Dimensionality reduction** - Use UMAP to reduce embeddings to 100 dimensions for clusteringdiff --git a/products/dashboards/backend/models/dashboard.py b/products/dashboards/backend/models/dashboard.pyindex 69c751ff1022..b18284e34632 100644--- a/products/dashboards/backend/models/dashboard.py+++ b/products/dashboards/backend/models/dashboard.py@@ -33,7 +33,7 @@ class Dashboard(FileSystemSyncMixin, ModelActivityMixin, RootTeamMixin, models.MUNLISTED = ("unlisted","Unlisted (product-embedded)",- ) # Product dashboards (e.g. LLM Analytics) - hidden from general lists, accessed via tag queries+ ) # Product dashboards (e.g. AI observability) - hidden from general lists, accessed via tag queriesclass RestrictionLevel(models.IntegerChoices):"""Collaboration restriction level (which is a dashboard setting). Sync with PrivilegeLevel."""diff --git a/products/data_warehouse/skills/suggesting-data-imports/SKILL.md b/products/data_warehouse/skills/suggesting-data-imports/SKILL.mdindex 0e06c9a064f8..c3a10f407d2c 100644--- a/products/data_warehouse/skills/suggesting-data-imports/SKILL.md+++ b/products/data_warehouse/skills/suggesting-data-imports/SKILL.md@@ -9,7 +9,7 @@ This skill helps identify when data the user needs lives outside PostHog and gui## What PostHog collects natively-PostHog collects product analytics events, persons, sessions, and groups via its SDKs. Additional products are available but must be enabled: session replay, feature flags, experiments, surveys, web analytics, error tracking, LLM analytics, conversations, logs, revenue analytics, workflows, CDP destinations, and batch exports. PostHog does **not** collect external business data like payments, subscriptions, CRM records, support tickets from other systems, or production database tables — that data must be imported via the data warehouse.+PostHog collects product analytics events, persons, sessions, and groups via its SDKs. Additional products are available but must be enabled: session replay, feature flags, experiments, surveys, web analytics, error tracking, AI observability, conversations, logs, revenue analytics, workflows, CDP destinations, and batch exports. PostHog does **not** collect external business data like payments, subscriptions, CRM records, support tickets from other systems, or production database tables — that data must be imported via the data warehouse.## When to use this skilldiff --git a/products/growth/backend/cross_sell_candidate_selector.py b/products/growth/backend/cross_sell_candidate_selector.pyindex 64669c6f73de..f79865815dbf 100644--- a/products/growth/backend/cross_sell_candidate_selector.py+++ b/products/growth/backend/cross_sell_candidate_selector.py@@ -60,7 +60,7 @@ class CrossSellCandidateSelector:See BASE_PREFERENCE_WEIGHTS for the full list and the linked notebookfor the analysis behind these numbers.- b) LLM adjacent boost: if the user already has LLM Analytics enabled,+ b) LLM adjacent boost: if the user already has AI observability enabled,all LLM-adjacent products (Evaluations, Datasets, Prompts, Clusters)are set to weight 10, because they're most useful together.@@ -132,7 +132,7 @@ class CrossSellCandidateSelector:Three layers, applied in order:1. Base weights for universally high-value products- 2. Contextual boost when the user already uses LLM Analytics+ 2. Contextual boost when the user already uses AI observability3. +2 bump for products in the same category as the user's enabled products"""weights: defaultdict[str, int] = defaultdict(lambda: 1)diff --git a/products/growth/backend/tests/test_cross_sell_candidate_selector.py b/products/growth/backend/tests/test_cross_sell_candidate_selector.pyindex 8b4a875d1533..a518ff7534aa 100644--- a/products/growth/backend/tests/test_cross_sell_candidate_selector.py+++ b/products/growth/backend/tests/test_cross_sell_candidate_selector.py@@ -85,7 +85,7 @@ class TestCrossSellCandidateSelectorPreferenceWeights(TestCase):for path in selector.intent_to_paths.get(key, []):if key not in BASE_PREFERENCE_WEIGHTS:assert weights[path] != LLM_ADJACENT_WEIGHT, (- f"LLM adjacent product {path} should NOT have boosted weight when LLM Analytics is not enabled"+ f"LLM adjacent product {path} should NOT have boosted weight when AI observability is not enabled")def test_same_category_boost(self):diff --git a/products/llm_analytics/AGENTS.md b/products/llm_analytics/AGENTS.mdindex 63ff169b4c27..3822df61ec5a 100644--- a/products/llm_analytics/AGENTS.md+++ b/products/llm_analytics/AGENTS.md@@ -1,4 +1,4 @@-# LLM analytics agent guide+# AI observability agent guideRepo-wide conventions live in [`../../AGENTS.md`](../../AGENTS.md) — kea over hooks, generatedAPI over `api.get`, `ph_scoped_capture` in Celery, etc. Read that first.diff --git a/products/llm_analytics/README.md b/products/llm_analytics/README.mdindex 9d3d35f4b977..113bebca1017 100644--- a/products/llm_analytics/README.md+++ b/products/llm_analytics/README.md@@ -1,6 +1,6 @@-# LLM analytics+# AI observability-LLM analytics started as an analytics view over generation events and+AI observability started as an analytics view over generation events andhas grown into a full LLM platform: traces, evaluations, clustering,prompt management, a model gateway, a playground, and review queues.diff --git a/products/llm_analytics/backend/api/evaluation_summary.py b/products/llm_analytics/backend/api/evaluation_summary.pyindex 357723a2adb3..289bdcef83a4 100644--- a/products/llm_analytics/backend/api/evaluation_summary.py+++ b/products/llm_analytics/backend/api/evaluation_summary.py@@ -326,7 +326,7 @@ Data is fetched server-side by evaluation ID to ensure data integrity.- Get recommendations for improving response quality- Review patterns across many evaluation runs at once""",- tags=["LLM Analytics"],+ tags=["AI observability"],)@llma_track_latency("llma_evaluation_summary")@monitor(feature=None, endpoint="llma_evaluation_summary", method="POST")diff --git a/products/llm_analytics/backend/api/metrics.py b/products/llm_analytics/backend/api/metrics.pyindex 6c36b82adbb0..a573ce3ad054 100644--- a/products/llm_analytics/backend/api/metrics.py+++ b/products/llm_analytics/backend/api/metrics.py@@ -1,5 +1,5 @@"""-Prometheus metrics for LLM Analytics API endpoints.+Prometheus metrics for AI observability API endpoints.This module provides latency histograms and helper decorators for trackingAPI endpoint performance. These metrics complement the basic request/error@@ -62,7 +62,7 @@ LLMA_REQUEST_LATENCY_BUCKETS = [LLMA_REQUEST_LATENCY = Histogram("llma_request_duration_seconds",- "LLM Analytics API request latency in seconds",+ "AI observability API request latency in seconds",labelnames=["endpoint"],buckets=LLMA_REQUEST_LATENCY_BUCKETS,)diff --git a/products/llm_analytics/backend/api/offline_evaluations.py b/products/llm_analytics/backend/api/offline_evaluations.pyindex 5e7ce32ba36e..e3041fdf33e4 100644--- a/products/llm_analytics/backend/api/offline_evaluations.py+++ b/products/llm_analytics/backend/api/offline_evaluations.py@@ -139,7 +139,7 @@ class LLMAnalyticsOfflineEvaluationsViewSet(TeamAndOrgViewSetMixin, viewsets.Gen400: OpenApiTypes.OBJECT,500: OpenApiTypes.OBJECT,},- tags=["LLM Analytics"],+ tags=["AI observability"],)@action(detail=False, methods=["post"], url_path="experiment_items")@llma_track_latency("llma_offline_evaluations_experiment_items")diff --git a/products/llm_analytics/backend/api/proxy.py b/products/llm_analytics/backend/api/proxy.pyindex 531c56d7872c..1dc7e3983a11 100644--- a/products/llm_analytics/backend/api/proxy.py+++ b/products/llm_analytics/backend/api/proxy.py@@ -1,5 +1,5 @@"""-ViewSet for LLM Analytics Proxy+ViewSet for AI observability proxyEndpoints:- GET /api/llm_proxy/models@@ -89,8 +89,8 @@ class LLMProxyCompletionSerializer(serializers.Serializer):class LLMProxyViewSet(viewsets.ViewSet):"""- ViewSet for LLM Analytics Proxy- Proxies LLM calls from the llm analytics playground+ ViewSet for AI observability proxy.+ Proxies LLM calls from the AI observability playground."""authentication_classes = [SessionAuthentication]diff --git a/products/llm_analytics/backend/api/sentiment.py b/products/llm_analytics/backend/api/sentiment.pyindex 417754845760..efbe91932c7b 100644--- a/products/llm_analytics/backend/api/sentiment.py+++ b/products/llm_analytics/backend/api/sentiment.py@@ -242,7 +242,7 @@ class LLMAnalyticsSentimentViewSet(TeamAndOrgViewSetMixin, viewsets.GenericViewS400: OpenApiTypes.OBJECT,500: OpenApiTypes.OBJECT,},- tags=["LLM Analytics"],+ tags=["AI observability"],)@llma_track_latency("llma_sentiment_create")@monitor(feature=None, endpoint="llma_sentiment_create", method="POST")@@ -320,7 +320,7 @@ class LLMAnalyticsSentimentViewSet(TeamAndOrgViewSetMixin, viewsets.GenericViewS400: OpenApiTypes.OBJECT,500: OpenApiTypes.OBJECT,},- tags=["LLM Analytics"],+ tags=["AI observability"],)@action(detail=False, methods=["post"], url_path="generations")@llma_track_latency("llma_sentiment_generations")diff --git a/products/llm_analytics/backend/api/summarization.py b/products/llm_analytics/backend/api/summarization.pyindex aad43c319f2d..ec663aa566c9 100644--- a/products/llm_analytics/backend/api/summarization.py+++ b/products/llm_analytics/backend/api/summarization.py@@ -480,7 +480,7 @@ representation, and uses an LLM to create a concise summary with line referencesThe response includes the structured summary, the text representation, and metadata.""",- tags=["LLM Analytics"],+ tags=["AI observability"],)@llma_track_latency("llma_summarize")@monitor(feature=None, endpoint="llma_summarize", method="POST")@@ -608,7 +608,7 @@ with their titles.- Avoid unnecessary LLM calls for already-summarized traces- Display summary previews without generating new summaries""",- tags=["LLM Analytics"],+ tags=["AI observability"],)@action(detail=False, methods=["post"], url_path="batch_check")@llma_track_latency("llma_summarize_batch_check")diff --git a/products/llm_analytics/backend/api/text_repr.py b/products/llm_analytics/backend/api/text_repr.pyindex 3872b4636530..63def74c5493 100644--- a/products/llm_analytics/backend/api/text_repr.py+++ b/products/llm_analytics/backend/api/text_repr.py@@ -227,7 +227,7 @@ class LLMAnalyticsTextReprViewSet(TeamAndOrgViewSetMixin, viewsets.GenericViewSedescription="""Generate a human-readable text representation of an LLM trace event.-This endpoint converts LLM analytics events ($ai_generation, $ai_span, $ai_embedding, or $ai_trace)+This endpoint converts AI observability events ($ai_generation, $ai_span, $ai_embedding, or $ai_trace)into formatted text representations suitable for display, logging, or analysis.**Supported Event Types:**@@ -258,7 +258,7 @@ into formatted text representations suitable for display, logging, or analysis.The response includes the formatted text and metadata about the rendering.""",- tags=["LLM Analytics"],+ tags=["AI observability"],)@llma_track_latency("llma_text_repr")@monitor(feature=None, endpoint="llma_text_repr", method="POST")diff --git a/products/llm_analytics/backend/dashboard_templates.py b/products/llm_analytics/backend/dashboard_templates.pyindex 2922f5d85718..393991c174e0 100644--- a/products/llm_analytics/backend/dashboard_templates.py+++ b/products/llm_analytics/backend/dashboard_templates.py@@ -2,10 +2,10 @@ from products.dashboards.backend.models.dashboard_templates import DashboardTempdef get_llm_analytics_default_template() -> DashboardTemplate:- """Default dashboard template for LLM Analytics."""+ """Default dashboard template for AI observability."""return DashboardTemplate(- template_name="LLM Analytics Default",- dashboard_description="Overview of your LLM usage, costs, and performance",+ template_name="AI observability default",+ dashboard_description="Overview of your AI usage, costs, and performance",dashboard_filters={"date_from": "-7d"},tiles=[{diff --git a/products/llm_analytics/backend/models/clustering_config.py b/products/llm_analytics/backend/models/clustering_config.pyindex dce5a7ba0481..74a8f82ceb83 100644--- a/products/llm_analytics/backend/models/clustering_config.py+++ b/products/llm_analytics/backend/models/clustering_config.py@@ -2,7 +2,7 @@ from django.db import modelsclass ClusteringConfig(models.Model):- """Team-level configuration for LLM analytics clustering filters."""+ """Team-level configuration for AI observability clustering filters."""team = models.OneToOneField("posthog.Team",diff --git a/products/llm_analytics/backend/summarization/__init__.py b/products/llm_analytics/backend/summarization/__init__.pyindex 1af303bf5894..3510a7218029 100644--- a/products/llm_analytics/backend/summarization/__init__.py+++ b/products/llm_analytics/backend/summarization/__init__.py@@ -1,5 +1,5 @@"""-LLM Analytics Summarization Module.+AI observability summarization module.Provides AI-powered summarization of traces and events using LLM calls.Generates concise summaries with line references to the original text representation.diff --git a/products/llm_analytics/backend/summarization/constants.py b/products/llm_analytics/backend/summarization/constants.pyindex 32ff9fa9b25e..05d6c7c9ba6e 100644--- a/products/llm_analytics/backend/summarization/constants.py+++ b/products/llm_analytics/backend/summarization/constants.py@@ -1,4 +1,4 @@-"""Configuration constants for LLM analytics summarization."""+"""Configuration constants for AI observability summarization."""from .models import OpenAIModel, SummarizationModediff --git a/products/llm_analytics/backend/summarization/models.py b/products/llm_analytics/backend/summarization/models.pyindex de5eb1f39eb2..7d3941eef5b9 100644--- a/products/llm_analytics/backend/summarization/models.py+++ b/products/llm_analytics/backend/summarization/models.py@@ -1,4 +1,4 @@-"""Type definitions for LLM analytics summarization."""+"""Type definitions for AI observability summarization."""from enum import StrEnumdiff --git a/products/llm_analytics/backend/summarization/prompts/system_detailed.djt b/products/llm_analytics/backend/summarization/prompts/system_detailed.djtindex fa4ad8970958..75b0d501d2b9 100644--- a/products/llm_analytics/backend/summarization/prompts/system_detailed.djt+++ b/products/llm_analytics/backend/summarization/prompts/system_detailed.djt@@ -1,4 +1,4 @@-You are an expert AI assistant specialized in analyzing and summarizing LLM traces and events from PostHog LLM Analytics.+You are an expert AI assistant specialized in analyzing and summarizing LLM traces and events from PostHog AI observability.Your task is to analyze the provided text representation of a trace/generation/span/embedding/event and generate a concise, informative summary.diff --git a/products/llm_analytics/backend/summarization/prompts/system_minimal.djt b/products/llm_analytics/backend/summarization/prompts/system_minimal.djtindex 3c2c255ffb2a..843541f2b454 100644--- a/products/llm_analytics/backend/summarization/prompts/system_minimal.djt+++ b/products/llm_analytics/backend/summarization/prompts/system_minimal.djt@@ -1,4 +1,4 @@-You are an expert AI assistant specialized in analyzing and summarizing LLM traces and events from PostHog LLM Analytics.+You are an expert AI assistant specialized in analyzing and summarizing LLM traces and events from PostHog AI observability.Your task is to analyze the provided text representation and generate a concise, quick-read summary.diff --git a/products/llm_analytics/backend/test/test_error_normalization.py b/products/llm_analytics/backend/test/test_error_normalization.pyindex e4c2c5f2670d..dedca273a4a4 100644--- a/products/llm_analytics/backend/test/test_error_normalization.py+++ b/products/llm_analytics/backend/test/test_error_normalization.py@@ -1,4 +1,4 @@-"""Tests for LLM Analytics errors query.+"""Tests for AI observability errors query.These tests verify that the errors query correctly aggregates eventsby the pre-normalized $ai_error_normalized property.diff --git a/products/llm_analytics/backend/text_repr/__init__.py b/products/llm_analytics/backend/text_repr/__init__.pyindex f03df716a874..630f713880e6 100644--- a/products/llm_analytics/backend/text_repr/__init__.py+++ b/products/llm_analytics/backend/text_repr/__init__.py@@ -1,5 +1,5 @@"""-LLM Analytics Text Representation Module+AI observability text representation module.Provides formatters for converting LLM trace events to human-readable text.diff --git a/products/llm_analytics/backend/text_repr/formatters/__init__.py b/products/llm_analytics/backend/text_repr/formatters/__init__.pyindex 6e9111c2e838..bcda0bf3f3f5 100644--- a/products/llm_analytics/backend/text_repr/formatters/__init__.py+++ b/products/llm_analytics/backend/text_repr/formatters/__init__.py@@ -1,5 +1,5 @@"""-Text representation formatters for LLM Analytics events.+Text representation formatters for AI observability events.Pure Python implementation for formatting $ai_generation, $ai_span, and $ai_trace eventsinto human-readable text representations.diff --git a/products/llm_analytics/backend/text_repr/formatters/event_formatter.py b/products/llm_analytics/backend/text_repr/formatters/event_formatter.pyindex 9ccac458020b..f2c6f2b75649 100644--- a/products/llm_analytics/backend/text_repr/formatters/event_formatter.py+++ b/products/llm_analytics/backend/text_repr/formatters/event_formatter.py@@ -1,5 +1,5 @@"""-Main event formatter for LLM analytics events.+Main event formatter for AI observability events.Combines metadata, tools, input, and output into a readable text representation.Handles $ai_generation and $ai_embedding events with structured error formatting,diff --git a/products/llm_analytics/backend/translation/__init__.py b/products/llm_analytics/backend/translation/__init__.pyindex bd6ca50069c4..713a75dad81f 100644--- a/products/llm_analytics/backend/translation/__init__.py+++ b/products/llm_analytics/backend/translation/__init__.py@@ -1,5 +1,5 @@"""-LLM Analytics Translation Module.+AI observability translation module.Provides translation of message content using LLM calls."""diff --git a/products/llm_analytics/dags/README.md b/products/llm_analytics/dags/README.mdindex a05298e57151..d12e03c2006a 100644--- a/products/llm_analytics/dags/README.md+++ b/products/llm_analytics/dags/README.md@@ -1,6 +1,6 @@-# LLMA (LLM Analytics) Dagster Location+# LLMA (AI observability) Dagster location-Data pipelines for LLM analytics and observability.+Data pipelines for AI observability.## Overview@@ -24,7 +24,7 @@ products/llm_analytics/dags/│ ├── trace_counts.sql # Unique trace count metrics│ ├── session_counts.sql # Unique session count metrics│ ├── trace_error_rates.sql # Trace-level error rates-│ └── pageview_counts.sql # LLM Analytics pageview metrics+│ └── pageview_counts.sql # AI observability pageview metrics└── __init__.pyTests: products/llm_analytics/dags/tests/daily_metrics/test_sql_metrics.pydiff --git a/products/llm_analytics/dags/__init__.py b/products/llm_analytics/dags/__init__.pyindex 2bff1520d662..54023b6525ac 100644--- a/products/llm_analytics/dags/__init__.py+++ b/products/llm_analytics/dags/__init__.py@@ -1,5 +1,5 @@"""-LLMA (LLM Analytics) team Dagster assets.+LLMA (AI observability) team Dagster assets.This module contains data pipeline assets for tracking and analyzing LLM usage metrics."""diff --git a/products/llm_analytics/dags/daily_metrics/README.md b/products/llm_analytics/dags/daily_metrics/README.mdindex 1bb7d7e02ce8..9ce8a32ae46b 100644--- a/products/llm_analytics/dags/daily_metrics/README.md+++ b/products/llm_analytics/dags/daily_metrics/README.md@@ -34,7 +34,7 @@ GROUP BY ...The following CTEs are automatically provided:- `llma_events`: AI events pre-filtered to teams with AI activity-- `llma_pageview_events`: Pageview events pre-filtered to teams viewing LLM analytics pages+- `llma_pageview_events`: Pageview events pre-filtered to teams viewing AI observability pagesThis two-step filtering (first find teams, then filter events) allows ClickHouse touse the sorting key (team_id, timestamp) efficiently.@@ -119,7 +119,7 @@ Defined in `sql/pageview_counts.sql`:- `pageviews_datasets`: Pageviews on /llm-analytics/datasets- `pageviews_evaluations`: Pageviews on /llm-analytics/evaluations-Tracks $pageview events on LLM Analytics pages. URL patterns are mapped to page types via config.pageview_mappings.+Tracks $pageview events on AI observability pages. URL patterns are mapped to page types via config.pageview_mappings.### Error Detectiondiff --git a/products/llm_analytics/dags/daily_metrics/config.py b/products/llm_analytics/dags/daily_metrics/config.pyindex ac5e7de464bb..9b0a4b27d668 100644--- a/products/llm_analytics/dags/daily_metrics/config.py+++ b/products/llm_analytics/dags/daily_metrics/config.py@@ -1,5 +1,5 @@"""-Configuration for LLMA (LLM Analytics) metrics aggregation.+Configuration for LLMA (AI observability) metrics aggregation.This module defines all parameters and constants used in the LLMA metrics pipeline.Modify this file to add new metrics or change aggregation behavior.diff --git a/products/llm_analytics/dags/daily_metrics/main.py b/products/llm_analytics/dags/daily_metrics/main.pyindex 1b4086213937..543fa7062151 100644--- a/products/llm_analytics/dags/daily_metrics/main.py+++ b/products/llm_analytics/dags/daily_metrics/main.py@@ -1,5 +1,5 @@"""-Daily aggregation of LLMA (LLM Analytics) metrics.+Daily aggregation of LLMA (AI observability) metrics.Aggregates AI event counts from the events table into a daily metrics tablefor efficient querying and cost analysis.@@ -37,7 +37,7 @@ LLMA_CLICKHOUSE_SETTINGS = {partitions_def=partition_def,backfill_policy=backfill_policy_def,metadata={"table": config.table_name},- tags={"owner": JobOwners.TEAM_LLM_ANALYTICS.value},+ tags={"owner": JobOwners.TEAM_AI_OBSERVABILITY.value},)def llma_metrics_daily(context: dagster.AssetExecutionContext,@@ -98,7 +98,7 @@ llma_metrics_daily_job = dagster.define_asset_job(name="llma_metrics_daily_job",selection=["llma_metrics_daily"],tags={- "owner": JobOwners.TEAM_LLM_ANALYTICS.value,+ "owner": JobOwners.TEAM_AI_OBSERVABILITY.value,"dagster/max_runtime": str(config.job_timeout),},)@@ -108,7 +108,7 @@ llma_metrics_daily_job = dagster.define_asset_job(cron_schedule=config.cron_schedule,job=llma_metrics_daily_job,execution_timezone="UTC",- tags={"owner": JobOwners.TEAM_LLM_ANALYTICS.value},+ tags={"owner": JobOwners.TEAM_AI_OBSERVABILITY.value},)def llma_metrics_daily_schedule(context: dagster.ScheduleEvaluationContext):"""diff --git a/products/llm_analytics/dags/daily_metrics/sql/pageview_counts.sql b/products/llm_analytics/dags/daily_metrics/sql/pageview_counts.sqlindex ded7a6abdea1..bb22a1871155 100644--- a/products/llm_analytics/dags/daily_metrics/sql/pageview_counts.sql+++ b/products/llm_analytics/dags/daily_metrics/sql/pageview_counts.sql@@ -1,7 +1,7 @@/*-Pageview Counts - Page views by LLM Analytics page type+Pageview counts - Page views by AI observability page type-Counts $pageview events on LLM Analytics pages, categorized by page type.+Counts $pageview events on AI observability pages, categorized by page type.URL patterns are mapped to page types via config.pageview_mappings.More specific patterns should be listed before general ones in config.diff --git a/products/llm_analytics/dags/daily_metrics/utils.py b/products/llm_analytics/dags/daily_metrics/utils.pyindex 9705a219d83c..4663b2713ed4 100644--- a/products/llm_analytics/dags/daily_metrics/utils.py+++ b/products/llm_analytics/dags/daily_metrics/utils.py@@ -31,7 +31,7 @@ def get_llma_events_cte(metric_date: str) -> str:Provides:- llma_events: AI events filtered to teams with AI activity- - llma_pageview_events: Pageview events filtered to teams viewing LLM analytics pages+ - llma_pageview_events: Pageview events filtered to teams viewing AI observability pages"""event_types_sql = ", ".join(f"'{et}'" for et in config.ai_event_types)url_patterns_sql = " OR ".join(diff --git a/products/llm_analytics/dags/tests/daily_metrics/test_sql_metrics.py b/products/llm_analytics/dags/tests/daily_metrics/test_sql_metrics.pyindex 317dfe4f1c9d..4a75f59427bd 100644--- a/products/llm_analytics/dags/tests/daily_metrics/test_sql_metrics.py+++ b/products/llm_analytics/dags/tests/daily_metrics/test_sql_metrics.py@@ -108,7 +108,7 @@ def mock_events_data():"$ai_error": "",},},- # Team 1: Pageviews on LLM Analytics+ # Team 1: Pageviews on AI observability{"timestamp": base_time,"team_id": 1,diff --git a/products/llm_analytics/frontend/ConversationDisplay/ConversationDisplay.stories.tsx b/products/llm_analytics/frontend/ConversationDisplay/ConversationDisplay.stories.tsxindex 7a7263f52ec5..4449d2aae757 100644--- a/products/llm_analytics/frontend/ConversationDisplay/ConversationDisplay.stories.tsx+++ b/products/llm_analytics/frontend/ConversationDisplay/ConversationDisplay.stories.tsx@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/react'import { ConversationDisplay as ConversationDisplayComponent, ConversationDisplayProps } from './ConversationDisplay'const meta: Meta<ConversationDisplayProps> = {- title: 'Scenes-App/LLM Analytics/Conversation Display',+ title: 'Scenes-App/AI observability/Conversation Display',component: ConversationDisplayComponent,render: ({ eventProperties, eventId }) => {return <ConversationDisplayComponent eventProperties={eventProperties} eventId={eventId || 'story-event-1'} />diff --git a/products/llm_analytics/frontend/LLMAnalyticsScene.tsx b/products/llm_analytics/frontend/LLMAnalyticsScene.tsxindex 5c85c31239b2..6766030c0266 100644--- a/products/llm_analytics/frontend/LLMAnalyticsScene.tsx+++ b/products/llm_analytics/frontend/LLMAnalyticsScene.tsx@@ -399,27 +399,27 @@ function LLMAnalyticsGenerations(): JSX.Element {)}-const DEFAULT_DOCS_URL = 'https://posthog.com/docs/llm-analytics/installation'+const DEFAULT_DOCS_URL = 'https://posthog.com/docs/ai-observability/installation'const DOCS_URLS_BY_TAB: Record<string, string> = {- traces: 'https://posthog.com/docs/llm-analytics/traces',- reviews: 'https://posthog.com/docs/llm-analytics/trace-reviews',- generations: 'https://posthog.com/docs/llm-analytics/generations',- sessions: 'https://posthog.com/docs/llm-analytics/sessions',- errors: 'https://posthog.com/docs/llm-analytics/errors',- tools: 'https://posthog.com/docs/llm-analytics',- sentiment: 'https://posthog.com/docs/llm-analytics',+ traces: 'https://posthog.com/docs/ai-observability/traces',+ reviews: 'https://posthog.com/docs/ai-observability/trace-reviews',+ generations: 'https://posthog.com/docs/ai-observability/generations',+ sessions: 'https://posthog.com/docs/ai-observability/sessions',+ errors: 'https://posthog.com/docs/ai-observability/errors',+ tools: 'https://posthog.com/docs/ai-observability',+ sentiment: 'https://posthog.com/docs/ai-observability',}const TAB_DESCRIPTIONS: Record<string, string> = {- dashboard: 'Overview of your LLM usage, costs, and performance metrics.',+ dashboard: 'Overview of your AI usage, costs, and performance metrics.',traces: 'Explore end-to-end traces of your LLM interactions.',reviews: 'Browse reviews, organize queues, and manage the scoring setup.',- generations: 'View individual LLM generations and their details.',- users: 'Understand how users are interacting with your LLM features.',- errors: 'Monitor and debug errors in your LLM pipeline.',+ generations: 'View individual AI generations and their details.',+ users: 'Understand how users are interacting with your AI features.',+ errors: 'Monitor and debug errors in your AI pipeline.',tools: 'See which tools your LLMs are calling and how often.',sentiment: 'Scan user messages by sentiment to spot frustration or satisfaction.',- sessions: 'Analyze user sessions containing LLM interactions.',+ sessions: 'Analyze user sessions containing AI interactions.',}export function LLMAnalyticsScene({ tabId }: { tabId?: string }): JSX.Element {diff --git a/products/llm_analytics/frontend/LLMAnalyticsSessionsScene.tsx b/products/llm_analytics/frontend/LLMAnalyticsSessionsScene.tsxindex de63186d151c..e8e9fb6796ce 100644--- a/products/llm_analytics/frontend/LLMAnalyticsSessionsScene.tsx+++ b/products/llm_analytics/frontend/LLMAnalyticsSessionsScene.tsx@@ -73,7 +73,7 @@ export function LLMAnalyticsSessionsScene(): JSX.Element {<>Try changing the date range or filters. AI sessions require the <code>$ai_session_id</code>{' '}property to group related traces.{' '}- <Link to="https://posthog.com/docs/llm-analytics/sessions" target="_blank">+ <Link to="https://posthog.com/docs/ai-observability/sessions" target="_blank">Learn more →</Link></>diff --git a/products/llm_analytics/frontend/LLMAnalyticsSetupPrompt.tsx b/products/llm_analytics/frontend/LLMAnalyticsSetupPrompt.tsxindex 03f8224f833c..46c10e33fb6f 100644--- a/products/llm_analytics/frontend/LLMAnalyticsSetupPrompt.tsx+++ b/products/llm_analytics/frontend/LLMAnalyticsSetupPrompt.tsx@@ -35,14 +35,14 @@ export function LLMAnalyticsSetupPrompt({function IngestionStatusCheck({ className, thing }: { className?: string; thing: Thing }): JSX.Element {return (<ProductIntroduction- productName="LLM analytics"+ productName="AI observability"thingName={`LLM ${thing}`}titleOverride={`No LLM ${thing} events have been detected!`}- description="To use the LLM Analytics product, please instrument your LLM calls with the PostHog SDK."+ description="To use AI observability, please instrument your LLM calls with the PostHog SDK."isEmpty={true}productKey={ProductKey.LLM_ANALYTICS}className={className}- docsURL="https://posthog.com/docs/llm-analytics/installation"+ docsURL="https://posthog.com/docs/ai-observability/installation"/>)}diff --git a/products/llm_analytics/frontend/LLMAnalyticsTraceScene.stories.tsx b/products/llm_analytics/frontend/LLMAnalyticsTraceScene.stories.tsxindex 91bce99f08f7..cc36d1654d09 100644--- a/products/llm_analytics/frontend/LLMAnalyticsTraceScene.stories.tsx+++ b/products/llm_analytics/frontend/LLMAnalyticsTraceScene.stories.tsx@@ -21,7 +21,7 @@ const getEffectiveQueryKind = (req: {}): string | undefined => req.body?.query?.source?.kind ?? req.body?.query?.kindconst meta: Meta<LLMAnalyticsTraceSceneProps> = {- title: 'Scenes-App/LLM Analytics/Trace',+ title: 'Scenes-App/AI observability/Trace',parameters: {layout: 'fullscreen',viewMode: 'story',diff --git a/products/llm_analytics/frontend/clusters/ClustersView.tsx b/products/llm_analytics/frontend/clusters/ClustersView.tsxindex fb863ff42fa4..692acc2a3c7f 100644--- a/products/llm_analytics/frontend/clusters/ClustersView.tsx+++ b/products/llm_analytics/frontend/clusters/ClustersView.tsx@@ -322,7 +322,7 @@ export function ClustersView(): JSX.Element {</div>}placement="left"- docLink="https://posthog.com/docs/llm-analytics/clusters"+ docLink="https://posthog.com/docs/ai-observability/clusters"><spanclassName="inline-flex items-center gap-1 text-xs text-muted hover:text-default cursor-pointer transition-colors"diff --git a/products/llm_analytics/frontend/clusters/LLMAnalyticsClustersScene.tsx b/products/llm_analytics/frontend/clusters/LLMAnalyticsClustersScene.tsxindex fbe7371a2cfe..4fe7dbd2beac 100644--- a/products/llm_analytics/frontend/clusters/LLMAnalyticsClustersScene.tsx+++ b/products/llm_analytics/frontend/clusters/LLMAnalyticsClustersScene.tsx@@ -18,7 +18,7 @@ export function LLMAnalyticsClustersScene(): JSX.Element {<SceneContent><SceneTitleSectionname="Clusters"- description="Discover patterns and clusters in your LLM usage."+ description="Discover patterns and clusters in your AI usage."resourceType={{ type: 'llm_clusters' }}/><ClustersView />diff --git a/products/llm_analytics/frontend/components/SentimentTag.stories.tsx b/products/llm_analytics/frontend/components/SentimentTag.stories.tsxindex d1a4db1c9265..ff8845f05c02 100644--- a/products/llm_analytics/frontend/components/SentimentTag.stories.tsx+++ b/products/llm_analytics/frontend/components/SentimentTag.stories.tsx@@ -10,7 +10,7 @@ import {} from './SentimentTag'const meta: Meta = {- title: 'Scenes-App/LLM Analytics/Sentiment',+ title: 'Scenes-App/AI observability/Sentiment',}export default metadiff --git a/products/llm_analytics/frontend/evaluations/EvaluationTemplates.tsx b/products/llm_analytics/frontend/evaluations/EvaluationTemplates.tsxindex 3e10d4b47e89..f8913d791933 100644--- a/products/llm_analytics/frontend/evaluations/EvaluationTemplates.tsx+++ b/products/llm_analytics/frontend/evaluations/EvaluationTemplates.tsx@@ -170,7 +170,7 @@ export function EvaluationTemplatesEmptyState(): JSX.Element {title="Create your first evaluation"description="Select a pre-configured template to get started quickly, or create your own from scratch."showBackButton={false}- learnMoreUrl="https://posthog.com/docs/llm-analytics/evaluations"+ learnMoreUrl="https://posthog.com/docs/ai-evals/evaluations"minHeight="60vh"/>)diff --git a/products/llm_analytics/frontend/evaluations/LLMAnalyticsEvaluationsScene.tsx b/products/llm_analytics/frontend/evaluations/LLMAnalyticsEvaluationsScene.tsxindex b3bbefc4f789..5d7e8e5299f0 100644--- a/products/llm_analytics/frontend/evaluations/LLMAnalyticsEvaluationsScene.tsx+++ b/products/llm_analytics/frontend/evaluations/LLMAnalyticsEvaluationsScene.tsx@@ -314,14 +314,14 @@ function LLMAnalyticsEvaluationsContent({ tabId }: { tabId?: string }): JSX.Elem)}<LemonBanner type="info" dismissKey="evals-billing-notice">- Each evaluation run counts as an LLM analytics event.+ Each evaluation run counts as an AI observability event.</LemonBanner><div className="flex justify-between items-center"><div><h2 className="text-xl font-semibold">Online evals</h2><p className="text-muted">- Configure evaluation prompts and triggers to automatically assess your LLM generations.+ Configure evaluation prompts and triggers to automatically assess your AI generations.</p></div><AccessControlAction@@ -435,7 +435,7 @@ export function LLMAnalyticsEvaluationsScene({ tabId }: { tabId?: string }): JSX}}actions={<LemonButton- to="https://posthog.com/docs/llm-analytics/evaluations"+ to="https://posthog.com/docs/ai-evals/evaluations"type="secondary"targetBlanksize="small"diff --git a/products/llm_analytics/frontend/feedback-view/wizard/FeedbackSurveyWizard.tsx b/products/llm_analytics/frontend/feedback-view/wizard/FeedbackSurveyWizard.tsxindex 9a0606de0d5d..25789599a99d 100644--- a/products/llm_analytics/frontend/feedback-view/wizard/FeedbackSurveyWizard.tsx+++ b/products/llm_analytics/frontend/feedback-view/wizard/FeedbackSurveyWizard.tsx@@ -294,7 +294,7 @@ function ImplementStep(): JSX.Element {<div className="flex gap-2"><LemonButtontype="primary"- to="https://posthog.com/docs/llm-analytics/collect-user-feedback"+ to="https://posthog.com/docs/ai-observability/collect-user-feedback"targetBlankdisableClientSideRouting>diff --git a/products/llm_analytics/frontend/generated/api.ts b/products/llm_analytics/frontend/generated/api.tsindex ee08032cbc15..8472e637a630 100644--- a/products/llm_analytics/frontend/generated/api.ts+++ b/products/llm_analytics/frontend/generated/api.ts@@ -1385,7 +1385,7 @@ export const getLlmAnalyticsTextReprCreateUrl = (projectId: string) => {*Generate a human-readable text representation of an LLM trace event.-This endpoint converts LLM analytics events ($ai_generation, $ai_span, $ai_embedding, or $ai_trace)+This endpoint converts AI observability events ($ai_generation, $ai_span, $ai_embedding, or $ai_trace)into formatted text representations suitable for display, logging, or analysis.**Supported Event Types:**diff --git a/products/llm_analytics/frontend/generated/api.zod.ts b/products/llm_analytics/frontend/generated/api.zod.tsindex 768f8aea9fc4..f5172828d0aa 100644--- a/products/llm_analytics/frontend/generated/api.zod.ts+++ b/products/llm_analytics/frontend/generated/api.zod.ts@@ -1268,7 +1268,7 @@ export const LlmAnalyticsSummarizationBatchCheckCreateBody = /* @__PURE__ */ zod*Generate a human-readable text representation of an LLM trace event.-This endpoint converts LLM analytics events ($ai_generation, $ai_span, $ai_embedding, or $ai_trace)+This endpoint converts AI observability events ($ai_generation, $ai_span, $ai_embedding, or $ai_trace)into formatted text representations suitable for display, logging, or analysis.**Supported Event Types:**diff --git a/products/llm_analytics/frontend/llmAnalyticsSessionLogic.test.ts b/products/llm_analytics/frontend/llmAnalyticsSessionLogic.test.tsindex a62cda842622..626d7ee5a257 100644--- a/products/llm_analytics/frontend/llmAnalyticsSessionLogic.test.ts+++ b/products/llm_analytics/frontend/llmAnalyticsSessionLogic.test.ts@@ -222,7 +222,7 @@ describe('llmAnalyticsSessionLogic', () => {expect(breadcrumbs).toHaveLength(3)expect(breadcrumbs[0]).toEqual({key: 'LLMAnalytics',- name: 'LLM analytics',+ name: 'AI observability',path: urls.llmAnalyticsDashboard(),iconType: 'llm_analytics',})diff --git a/products/llm_analytics/frontend/llmAnalyticsSessionLogic.ts b/products/llm_analytics/frontend/llmAnalyticsSessionLogic.tsindex 8391d32267bf..bdef81d42c2f 100644--- a/products/llm_analytics/frontend/llmAnalyticsSessionLogic.ts+++ b/products/llm_analytics/frontend/llmAnalyticsSessionLogic.ts@@ -116,7 +116,7 @@ export const llmAnalyticsSessionLogic = kea<llmAnalyticsSessionLogicType>([return [{key: 'LLMAnalytics',- name: 'LLM analytics',+ name: 'AI observability',path: urls.llmAnalyticsDashboard(),iconType: 'llm_analytics',},diff --git a/products/llm_analytics/frontend/llmAnalyticsSharedLogic.ts b/products/llm_analytics/frontend/llmAnalyticsSharedLogic.tsindex d672108ea6c8..e77d8fbf53f5 100644--- a/products/llm_analytics/frontend/llmAnalyticsSharedLogic.ts+++ b/products/llm_analytics/frontend/llmAnalyticsSharedLogic.ts@@ -244,7 +244,7 @@ export const llmAnalyticsSharedLogic = kea<llmAnalyticsSharedLogicType>([return [{key: 'llm_analytics',- name: 'LLM Analytics',+ name: 'AI observability',iconType: 'llm_analytics',},]diff --git a/products/llm_analytics/frontend/llmAnalyticsTraceLogic.ts b/products/llm_analytics/frontend/llmAnalyticsTraceLogic.tsindex df19a909e44d..ce1abaffdaef 100644--- a/products/llm_analytics/frontend/llmAnalyticsTraceLogic.ts+++ b/products/llm_analytics/frontend/llmAnalyticsTraceLogic.ts@@ -357,7 +357,7 @@ export const llmAnalyticsTraceLogic = kea<llmAnalyticsTraceLogicType>([return [{key: 'LLMAnalytics',- name: 'LLM analytics',+ name: 'AI observability',path: combineUrl(urls.llmAnalyticsDashboard(), searchParams).url,iconType: 'llm_analytics',},diff --git a/products/llm_analytics/frontend/playground/llmPlaygroundLogic.test.ts b/products/llm_analytics/frontend/playground/llmPlaygroundLogic.test.tsindex d2827bca8f8e..0c2e60d85a85 100644--- a/products/llm_analytics/frontend/playground/llmPlaygroundLogic.test.ts+++ b/products/llm_analytics/frontend/playground/llmPlaygroundLogic.test.ts@@ -1705,7 +1705,7 @@ describe('llmPlaygroundLogic', () => {// entry and fires a `$pageview` on every setup. If `urlToAction` re-entered the// setup path (e.g. because multiple keyed logic instances were mounted), each// iteration pushed another history entry, producing thousands of pageviews per- // minute on the LLM Analytics playground. Switching to `replace` keeps history+ // minute on the AI observability playground. Switching to `replace` keeps history// bounded so a single missed dedup cannot snowball.useMocks({get: {diff --git a/products/llm_analytics/frontend/prompts/CreatePromptExperimentModal.stories.tsx b/products/llm_analytics/frontend/prompts/CreatePromptExperimentModal.stories.tsxindex f662d5f04132..7c1e35459cf9 100644--- a/products/llm_analytics/frontend/prompts/CreatePromptExperimentModal.stories.tsx+++ b/products/llm_analytics/frontend/prompts/CreatePromptExperimentModal.stories.tsx@@ -64,7 +64,7 @@ const MOCK_TEMPLATES = [type Story = StoryObj<typeof CreatePromptExperimentModal>const meta: Meta<typeof CreatePromptExperimentModal> = {- title: 'LLM Analytics/Create prompt experiment modal',+ title: 'AI observability/Create prompt experiment modal',component: CreatePromptExperimentModal,parameters: {layout: 'fullscreen',diff --git a/products/llm_analytics/frontend/prompts/LLMPromptsScene.stories.tsx b/products/llm_analytics/frontend/prompts/LLMPromptsScene.stories.tsxindex 4a5a766b9b51..488a295a0959 100644--- a/products/llm_analytics/frontend/prompts/LLMPromptsScene.stories.tsx+++ b/products/llm_analytics/frontend/prompts/LLMPromptsScene.stories.tsx@@ -72,7 +72,7 @@ const MOCK_PROMPTS: LLMPrompt[] = [const meta: Meta = {component: App,- title: 'Scenes-App/LLM Analytics/Prompts',+ title: 'Scenes-App/AI observability/Prompts',parameters: {layout: 'fullscreen',viewMode: 'story',diff --git a/products/llm_analytics/frontend/settings/LLMProviderKeysSettings.tsx b/products/llm_analytics/frontend/settings/LLMProviderKeysSettings.tsxindex 2efcb0c1e93d..e3b9849e13f0 100644--- a/products/llm_analytics/frontend/settings/LLMProviderKeysSettings.tsx+++ b/products/llm_analytics/frontend/settings/LLMProviderKeysSettings.tsx@@ -132,7 +132,7 @@ function KeyValidationStatus({<ul className="text-xs text-muted mt-1 list-disc pl-4 space-y-0.5"><li>Your key will be encrypted and stored securely</li><li>You pay {LLM_PROVIDER_LABELS[provider]} directly for model usage</li>- <li>Each evaluation counts as an LLM analytics event</li>+ <li>Each evaluation counts as an AI observability event</li></ul>)@@ -891,13 +891,13 @@ export function LLMProviderKeysSettings(): JSX.Element {<p className="text-muted mb-4 text-center">{restrictionReason ? (<>- Only project admins can add API keys for LLM analytics.+ Only project admins can add API keys for AI observability.<br />Ask a project admin to add a key for evaluations and the playground.</>) : (<>- Add your API key for LLM analytics features with your own account.+ Add your API key for AI observability features with your own account.<br />Used for evaluations and the playground.</>diff --git a/products/llm_analytics/frontend/settings/llmProviderKeysLogic.ts b/products/llm_analytics/frontend/settings/llmProviderKeysLogic.tsindex 1f84cf899886..7a84043a38d2 100644--- a/products/llm_analytics/frontend/settings/llmProviderKeysLogic.ts+++ b/products/llm_analytics/frontend/settings/llmProviderKeysLogic.ts@@ -42,7 +42,7 @@ export function toLLMProvider(raw: string): LLMProvider | null {if (isLLMProvider(normalized)) {return normalized}- console.error(`[LLM Analytics] Unknown LLM provider: "${raw}"`)+ console.error(`[AI observability] Unknown LLM provider: "${raw}"`)return null}diff --git a/products/llm_analytics/frontend/skills/LLMSkillScene.stories.tsx b/products/llm_analytics/frontend/skills/LLMSkillScene.stories.tsxindex 092ced073f58..cbf9743bba62 100644--- a/products/llm_analytics/frontend/skills/LLMSkillScene.stories.tsx+++ b/products/llm_analytics/frontend/skills/LLMSkillScene.stories.tsx@@ -115,7 +115,7 @@ const SKILL_LIST_ENTRY: LLMSkillListApi = {const meta: Meta = {component: App,- title: 'Scenes-App/LLM Analytics/Skills',+ title: 'Scenes-App/AI observability/Skills',parameters: {layout: 'fullscreen',viewMode: 'story',diff --git a/products/llm_analytics/frontend/tabs/llmAnalyticsDashboardLogic.ts b/products/llm_analytics/frontend/tabs/llmAnalyticsDashboardLogic.tsindex 326373655002..2d879bfc9332 100644--- a/products/llm_analytics/frontend/tabs/llmAnalyticsDashboardLogic.ts+++ b/products/llm_analytics/frontend/tabs/llmAnalyticsDashboardLogic.ts@@ -144,7 +144,7 @@ export const llmAnalyticsDashboardLogic = kea<llmAnalyticsDashboardLogicType>([await breakpoint(100)actions.loadLLMDashboards()} else {- console.error('Failed to create default LLM Analytics dashboard:', error)+ console.error('Failed to create default AI observability dashboard:', error)}}}diff --git a/products/llm_analytics/frontend/tags/LLMAnalyticsTagsScene.tsx b/products/llm_analytics/frontend/tags/LLMAnalyticsTagsScene.tsxindex 86c9a1532014..d9f40905d3ee 100644--- a/products/llm_analytics/frontend/tags/LLMAnalyticsTagsScene.tsx+++ b/products/llm_analytics/frontend/tags/LLMAnalyticsTagsScene.tsx@@ -287,7 +287,7 @@ export function LLMAnalyticsTagsScene({ tabId }: { tabId?: string }): JSX.Elemen<SceneContent><SceneTitleSectionname="Tags"- description="Set up taggers to automatically add custom tags to your LLM generations."+ description="Set up taggers to automatically add custom tags to your AI generations."resourceType={{ type: 'llm_tags' }}actions={<AccessControlActiondiff --git a/products/llm_analytics/frontend/utils.test.ts b/products/llm_analytics/frontend/utils.test.tsindex fd5ce398d3ae..cd7ca3f0e1c6 100644--- a/products/llm_analytics/frontend/utils.test.ts+++ b/products/llm_analytics/frontend/utils.test.ts@@ -20,7 +20,7 @@ import {sanitizeTraceUrlSearchParams,} from './utils'-describe('LLM Analytics utils', () => {+describe('AI observability utils', () => {beforeEach(() => {console.warn = jest.fn()})diff --git a/products/llm_analytics/frontend/utils.ts b/products/llm_analytics/frontend/utils.tsindex 9ac0ad7e2a1a..4bd1692fea4f 100644--- a/products/llm_analytics/frontend/utils.ts+++ b/products/llm_analytics/frontend/utils.ts@@ -897,7 +897,7 @@ function parseStringifiedStructuredContent(content: string): string | MultiModal}/**- * Normalizes a message from an LLM provider into a format that is compatible with the PostHog LLM Analytics schema.+ * Normalizes a message from an LLM provider into a format that is compatible with the PostHog AI observability schema.** @param rawMessage - Original message from an LLM provider.* @param defaultRole - The default role to use if the message doesn't have one.diff --git a/products/llm_analytics/manifest.tsx b/products/llm_analytics/manifest.tsxindex c460128085fe..6f8f75560438 100644--- a/products/llm_analytics/manifest.tsx+++ b/products/llm_analytics/manifest.tsx@@ -9,32 +9,32 @@ import { FileSystemIconColor, ProductManifest } from '../../frontend/src/types'import { LLM_ANALYTICS_CLUSTER_URL_PATTERN } from './frontend/clusters/constants'export const manifest: ProductManifest = {- name: 'LLM Analytics',+ name: 'AI observability',scenes: {LLMAnalytics: {import: () => import('./frontend/LLMAnalyticsScene'),projectBased: true,- name: 'LLM analytics',+ name: 'AI observability',layout: 'app-container',- description: 'Analyze and understand your LLM usage and performance.',+ description: 'Analyze and understand your AI usage and performance.',iconType: 'llm_analytics',},LLMAnalyticsTrace: {import: () => import('./frontend/LLMAnalyticsTraceScene'),projectBased: true,- name: 'LLM analytics trace',+ name: 'AI observability trace',layout: 'app-container',},LLMAnalyticsSession: {import: () => import('./frontend/LLMAnalyticsSessionScene'),projectBased: true,- name: 'LLM analytics session',+ name: 'AI observability session',layout: 'app-container',},LLMAnalyticsUsers: {import: () => import('./frontend/LLMAnalyticsUsers'),projectBased: true,- name: 'LLM analytics users',+ name: 'AI observability users',layout: 'app-container',},LLMAnalyticsPlayground: {@@ -56,7 +56,7 @@ export const manifest: ProductManifest = {LLMAnalyticsDataset: {import: () => import('./frontend/datasets/LLMAnalyticsDatasetScene'),projectBased: true,- name: 'LLM analytics dataset',+ name: 'AI observability dataset',layout: 'app-container',iconType: 'llm_datasets',},@@ -72,7 +72,7 @@ export const manifest: ProductManifest = {LLMAnalyticsEvaluation: {import: () => import('./frontend/evaluations/LLMAnalyticsEvaluation'),projectBased: true,- name: 'LLM analytics evaluation',+ name: 'AI observability evaluation',activityScope: 'LLMAnalytics',layout: 'app-container',iconType: 'llm_evaluations',@@ -80,7 +80,7 @@ export const manifest: ProductManifest = {LLMAnalyticsEvaluationTemplates: {import: () => import('./frontend/evaluations/EvaluationTemplates'),projectBased: true,- name: 'LLM analytics evaluation templates',+ name: 'AI observability evaluation templates',activityScope: 'LLMAnalytics',layout: 'app-container',iconType: 'llm_evaluations',@@ -89,7 +89,7 @@ export const manifest: ProductManifest = {import: () => import('./frontend/tags/LLMAnalyticsTagsScene'),projectBased: true,name: 'Tags',- description: 'Add custom tags to your LLM generations automatically.',+ description: 'Add custom tags to your AI generations automatically.',activityScope: 'LLMAnalytics',layout: 'app-container',iconType: 'llm_tags',@@ -97,7 +97,7 @@ export const manifest: ProductManifest = {LLMAnalyticsTag: {import: () => import('./frontend/tags/LLMAnalyticsTag'),projectBased: true,- name: 'LLM analytics tag',+ name: 'AI observability tag',activityScope: 'LLMAnalytics',layout: 'app-container',iconType: 'llm_tags',@@ -113,7 +113,7 @@ export const manifest: ProductManifest = {LLMAnalyticsPrompt: {import: () => import('./frontend/prompts/LLMPromptScene'),projectBased: true,- name: 'LLM analytics prompt',+ name: 'AI observability prompt',layout: 'app-container',iconType: 'llm_prompts',},@@ -128,7 +128,7 @@ export const manifest: ProductManifest = {LLMAnalyticsSkill: {import: () => import('./frontend/skills/LLMSkillScene'),projectBased: true,- name: 'LLM analytics skill',+ name: 'AI observability skill',layout: 'app-container',iconType: 'llm_prompts',},@@ -136,14 +136,14 @@ export const manifest: ProductManifest = {import: () => import('./frontend/clusters/LLMAnalyticsClustersScene'),projectBased: true,name: 'Clusters',- description: 'Discover patterns and clusters in your LLM usage.',+ description: 'Discover patterns and clusters in your AI usage.',layout: 'app-container',iconType: 'llm_clusters',},LLMAnalyticsCluster: {import: () => import('./frontend/clusters/LLMAnalyticsClusterScene'),projectBased: true,- name: 'LLM analytics cluster',+ name: 'AI observability cluster',layout: 'app-container',iconType: 'llm_clusters',},@@ -267,6 +267,7 @@ export const manifest: ProductManifest = {treeItemsProducts: [{path: 'LLM analytics',+ displayLabel: 'AI observability',intents: [ProductKey.LLM_ANALYTICS,ProductKey.LLM_EVALUATIONS,diff --git a/products/llm_analytics/mcp/apps/LLMAnalytics.stories.tsx b/products/llm_analytics/mcp/apps/LLMAnalytics.stories.tsxindex 1f79d0e6d07d..7d21ab51ad9c 100644--- a/products/llm_analytics/mcp/apps/LLMAnalytics.stories.tsx+++ b/products/llm_analytics/mcp/apps/LLMAnalytics.stories.tsx@@ -5,7 +5,7 @@ import { McpThemeDecorator } from '@posthog/mcp-ui/storybook/decorator'import { LLMCostsView, type LLMCostsData } from './index'const meta: Meta = {- title: 'MCP Apps/LLM Analytics',+ title: 'MCP Apps/AI observability',decorators: [McpThemeDecorator],parameters: {testOptions: {diff --git a/products/llm_analytics/mcp/apps/LLMCostsView.tsx b/products/llm_analytics/mcp/apps/LLMCostsView.tsxindex 52caa200ebd8..e50751eb25dd 100644--- a/products/llm_analytics/mcp/apps/LLMCostsView.tsx+++ b/products/llm_analytics/mcp/apps/LLMCostsView.tsx@@ -40,7 +40,7 @@ export function LLMCostsView({ data }: LLMCostsViewProps): ReactElement {<div className="p-4"><Empty><EmptyHeader>- <EmptyTitle>No LLM cost data</EmptyTitle>+ <EmptyTitle>No AI cost data</EmptyTitle><EmptyDescription>No AI generation events found for this period</EmptyDescription></EmptyHeader></Empty>@@ -80,7 +80,7 @@ export function LLMCostsView({ data }: LLMCostsViewProps): ReactElement {<div className="p-4"><div className="flex flex-col gap-3"><div className="flex flex-col gap-1">- <span className="text-lg font-semibold">LLM costs</span>+ <span className="text-lg font-semibold">AI costs</span><span className="text-2xl font-bold tabular-nums">{formatCurrency(totalCost)}</span><span className="text-xs text-muted-foreground">Total across all models</span></div>diff --git a/products/llm_analytics/mcp/tools.yaml b/products/llm_analytics/mcp/tools.yamlindex 8025e9631498..c868e27cbf62 100644--- a/products/llm_analytics/mcp/tools.yaml+++ b/products/llm_analytics/mcp/tools.yaml@@ -4,7 +4,7 @@## To enable a tool, set enabled: true and add required scopes + annotations.# All other fields (title, description, enrich_url, etc.) are yours to configure.-category: LLM analytics+category: AI observabilityfeature: llm_analyticsurl_prefix: /llm-analyticsui_apps:@@ -981,11 +981,11 @@ tools:enrich_url: tags/{id}title: Create taggerdescription: >- Create an LLM analytics tagger that automatically adds custom tags to $ai_generation events. For tagger_type- "llm", provide tagger_config.prompt plus tagger_config.tags (each with name and optional description);- optionally set min_tags and max_tags. For tagger_type "hog", provide tagger_config.source Hog code that- returns a tag name string, a list of tag name strings, or null; optionally provide tagger_config.tags as a- whitelist. Use enabled=false while drafting, then update the tagger from the UI.+ Create an AI observability tagger that automatically adds custom tags to $ai_generation events. For+ tagger_type "llm", provide tagger_config.prompt plus tagger_config.tags (each with name and optional+ description); optionally set min_tags and max_tags. For tagger_type "hog", provide tagger_config.source Hog+ code that returns a tag name string, a list of tag name strings, or null; optionally provide+ tagger_config.tags as a whitelist. Use enabled=false while drafting, then update the tagger from the UI.llma-tagger-list:operation: taggers_listenabled: true@@ -999,7 +999,7 @@ tools:list: truetitle: List taggersdescription: >- List LLM analytics taggers for the current project. Supports filtering by enabled status, id__in, search,+ List AI observability taggers for the current project. Supports filtering by enabled status, id__in, search,and ordering. Returns each tagger's name, description, enabled state, type, configuration, conditions, modelconfiguration, creator, and timestamps.llma-tagger-test-hog:diff --git a/products/llm_analytics/product.yaml b/products/llm_analytics/product.yamlindex 44fc5bea399f..25988379e116 100644--- a/products/llm_analytics/product.yaml+++ b/products/llm_analytics/product.yaml@@ -1,3 +1,3 @@-name: LLM analytics+name: AI observabilityowners:- - team-llm-analytics+ - team-ai-observabilitydiff --git a/products/llm_analytics/skills/README.md b/products/llm_analytics/skills/README.mdindex 3d5a88f31cf6..87852a12ab99 100644--- a/products/llm_analytics/skills/README.md+++ b/products/llm_analytics/skills/README.md@@ -1,6 +1,6 @@-# LLM Analytics skills+# AI observability skills-Agent skills for the LLM Analytics product.+Agent skills for the AI observability product.Built by `hogli build:skills` and installed into sandbox containers for background agents.Also available to Claude Code / Codex via `hogli sync:skill`.@@ -8,12 +8,12 @@ Also available to Claude Code / Codex via `hogli sync:skill`.- **exploring-llm-traces** — how to query, inspect, and debug LLM traces via MCP tools.Covers the `$ai_*` event schema, content detail levels, and step-by-step debugging workflows.-- **exploring-llm-clusters** — how to investigate LLM analytics clustering results,+- **exploring-llm-clusters** — how to investigate AI observability clustering results,compare cluster behavior, compute metrics, and drill into individual traces.- **exploring-llm-costs** — how to investigate LLM spend: total cost, breakdownsby model/provider/user/trace/custom dimension, token and cache economics,cost regressions, and materializing cost insights, dashboards, and alerts.-- **exploring-llm-evaluations** — how to manage and investigate LLM analytics+- **exploring-llm-evaluations** — how to manage and investigate AI observabilityevaluations (both `hog` and `llm_judge` types), run them on specific generations,query individual results, and generate AI-powered summaries of pass/fail/N/A patterns.- **skills-store** — discover and use shared team skills stored as prompts in PostHog.diff --git a/products/llm_analytics/skills/exploring-llm-clusters/SKILL.md b/products/llm_analytics/skills/exploring-llm-clusters/SKILL.mdindex 2192e3447452..32bb96a94ccf 100644--- a/products/llm_analytics/skills/exploring-llm-clusters/SKILL.md+++ b/products/llm_analytics/skills/exploring-llm-clusters/SKILL.md@@ -1,11 +1,11 @@---name: exploring-llm-clusters-description: 'Investigate LLM analytics clusters — understand usage patterns in AI/LLM traffic, compare cluster behavior, compute cost/latency metrics, and drill into individual traces within clusters.'+description: 'Investigate AI observability clusters — understand usage patterns in AI/LLM traffic, compare cluster behavior, compute cost/latency metrics, and drill into individual traces within clusters.'---# Exploring LLM clusters-Use this skill when investigating LLM analytics clusters —+Use this skill when investigating AI observability clusters —understanding what patterns exist in your AI/LLM traffic,comparing cluster behavior, and drilling into individual clusters.diff --git a/products/llm_analytics/skills/exploring-llm-costs/SKILL.md b/products/llm_analytics/skills/exploring-llm-costs/SKILL.mdindex 53dd1d1cf389..590ded1346a3 100644--- a/products/llm_analytics/skills/exploring-llm-costs/SKILL.md+++ b/products/llm_analytics/skills/exploring-llm-costs/SKILL.md@@ -139,7 +139,7 @@ versions for the same provider. To avoid rot:added.- For anything not covered here (new cost categories, changes topricing lookup, provider additions), run `posthog:docs-search` for- "calculating costs" or "llm analytics" first rather than trusting a+ "calculating costs" or "AI observability" first rather than trusting ahardcoded rule in this file.- If you find this skill contradicting the UI, trust the UI and flagthe skill for an update.@@ -148,7 +148,7 @@ versions for the same provider. To avoid rot:- Always set a time range — cost queries without one scan the full events table- Always include `$ai_embedding` alongside `$ai_generation` when summing cost; embeddings are cheap per-call but add up at scale-- Costs are written at ingestion (see [Calculating LLM costs](https://posthog.com/docs/llm-analytics/calculating-costs)) — if `$ai_total_cost_usd` is missing or zero, read `$ai_cost_model_source` first: `passthrough` means the SDK supplied costs; `custom` means custom token prices; `openrouter` / `manual` mean automatic lookup; missing means the model wasn't matched (unusual custom model, fine-tune). Grep: `countIf(properties.$ai_total_cost_usd IS NULL)` per `(model, source)`+- Costs are written at ingestion (see [Calculating LLM costs](https://posthog.com/docs/ai-observability/calculating-costs)) — if `$ai_total_cost_usd` is missing or zero, read `$ai_cost_model_source` first: `passthrough` means the SDK supplied costs; `custom` means custom token prices; `openrouter` / `manual` mean automatic lookup; missing means the model wasn't matched (unusual custom model, fine-tune). Grep: `countIf(properties.$ai_total_cost_usd IS NULL)` per `(model, source)`- Custom pricing uses **per-token** prices, not per-million — if a custom-priced model looks ~1M× too expensive or too cheap, that's almost always the bug- Exclude errored calls from cost totals only when explicitly asked — providers still charge for many error modes, and including them gives the truthful bill- For per-user totals, exclude rows where `distinct_id = properties.$ai_trace_id` — some SDKs default distinct_id to the trace ID when no user is setdiff --git a/products/llm_analytics/skills/exploring-llm-costs/references/cost-properties.md b/products/llm_analytics/skills/exploring-llm-costs/references/cost-properties.mdindex 8f34e6260d45..9d267f5b5bbd 100644--- a/products/llm_analytics/skills/exploring-llm-costs/references/cost-properties.md+++ b/products/llm_analytics/skills/exploring-llm-costs/references/cost-properties.md@@ -33,7 +33,7 @@ any modality costs). Summing only `$ai_input_cost_usd + $ai_output_cost_usd`silently drops request and web-search fees — real and non-zero for Anthropicrequest fees and any tool-augmented generation. The UI's cost cells sum`$ai_total_cost_usd` over `event IN ('$ai_generation', '$ai_embedding')`;-mirror that. See [Calculating LLM costs](https://posthog.com/docs/llm-analytics/calculating-costs)+mirror that. See [Calculating LLM costs](https://posthog.com/docs/ai-observability/calculating-costs)for the full derivation.## Cache costs vary by provider reporting stylediff --git a/products/llm_analytics/skills/exploring-llm-costs/references/cost-sources.md b/products/llm_analytics/skills/exploring-llm-costs/references/cost-sources.mdindex fc0ede98984b..5d7b11160c42 100644--- a/products/llm_analytics/skills/exploring-llm-costs/references/cost-sources.md+++ b/products/llm_analytics/skills/exploring-llm-costs/references/cost-sources.md@@ -1,7 +1,7 @@# How costs get set: SDK, custom pricing, ingestionCosts can arrive on the event in three ways; ingestion applies them in this-precedence (see [Calculating LLM costs](https://posthog.com/docs/llm-analytics/calculating-costs)+precedence (see [Calculating LLM costs](https://posthog.com/docs/ai-observability/calculating-costs)for the authoritative rules):1. **Pre-calculated** — the SDK / manual capture sets `$ai_input_cost_usd`,diff --git a/products/llm_analytics/skills/exploring-llm-evaluations/SKILL.md b/products/llm_analytics/skills/exploring-llm-evaluations/SKILL.mdindex 4497a334c062..64ce96a8f4aa 100644--- a/products/llm_analytics/skills/exploring-llm-evaluations/SKILL.md+++ b/products/llm_analytics/skills/exploring-llm-evaluations/SKILL.md@@ -1,7 +1,7 @@---name: exploring-llm-evaluationsdescription: >- Investigate LLM analytics evaluations of both types — `hog` (deterministic+ Investigate AI observability evaluations of both types — `hog` (deterministiccode-based) and `llm_judge` (LLM-prompt-based). Find existing evaluations,inspect their configuration, run them against specific generations, queryindividual pass/fail results, and generate AI-powered summaries of patternsdiff --git a/products/llm_analytics/skills/exploring-llm-traces/SKILL.md b/products/llm_analytics/skills/exploring-llm-traces/SKILL.mdindex 31d90f74b5db..6cc96d6c6d3d 100644--- a/products/llm_analytics/skills/exploring-llm-traces/SKILL.md+++ b/products/llm_analytics/skills/exploring-llm-traces/SKILL.md@@ -49,7 +49,7 @@ If none are present but the URL has a `timestamp` query parameter, use that timeThis handles exact session links whose UI timestamp may be offset from the stored event timestamps while keeping the query bounded.If the URL has neither explicit dates nor `timestamp`, use a safe default like `{"date_from": "-7d"}`.-For exact trace and session URLs, skip schema discovery for the standard `$ai_*` fields used below. These are LLM analytics built-ins, not project-specific custom properties.+For exact trace and session URLs, skip schema discovery for the standard `$ai_*` fields used below. These are AI observability built-ins, not project-specific custom properties.### Step 2 — Fetch trace data@@ -165,7 +165,7 @@ Every project instruments different custom properties. For open-ended searches a`posthog:read-data-schema` first to discover what properties and values actually exist in the project'sdata before constructing filters.-The exception is exact LLM analytics trace/session URLs: use the built-in `$ai_trace_id` / `$ai_session_id`+The exception is exact AI observability trace/session URLs: use the built-in `$ai_trace_id` / `$ai_session_id`fields directly and skip schema discovery.### Discovering the schema firstdiff --git a/products/llm_analytics/skills/exploring-llm-traces/references/events-and-properties.md b/products/llm_analytics/skills/exploring-llm-traces/references/events-and-properties.mdindex 40750b88a1cc..85b608ffb8ba 100644--- a/products/llm_analytics/skills/exploring-llm-traces/references/events-and-properties.md+++ b/products/llm_analytics/skills/exploring-llm-traces/references/events-and-properties.md@@ -1,4 +1,4 @@-# LLM analytics event and property reference+# AI observability event and property reference## Event typesdiff --git a/products/llm_analytics/skills/feature-usage-feed/SKILL.md b/products/llm_analytics/skills/feature-usage-feed/SKILL.mdindex 9dd6636efda7..e5299b1af4a1 100644--- a/products/llm_analytics/skills/feature-usage-feed/SKILL.md+++ b/products/llm_analytics/skills/feature-usage-feed/SKILL.md@@ -33,7 +33,7 @@ This skill supports two different ways to scope an eval to "the feature you care**Pattern A — Feature-native trace_id prefix.** For standalone features that emit their own `$ai_trace_id` pattern (e.g. `session-summary:group:`, `replay-search:`, error-tracking-specific flows). Filter on the prefix.-**Pattern B — PostHog AI agent mode.** For features the user interacts with _via_ PostHog AI in a specific agent mode (error tracking, product analytics, session replay, SQL, flags, surveys, LLM analytics). Filter on `ai_product = 'posthog_ai' AND agent_mode = '<mode>'`. This requires PR #55160 (merged April 2026) to be deployed, which threads `agent_mode` and `supermode` onto every `$ai_generation` emitted by the chat agent loop. A useful ergonomic side-effect: `agent_mode IS NOT NULL` is a reliable "user-facing chat turn" filter — batch jobs and tool-internal LLM calls go through different code paths and have `agent_mode=null`, so they're excluded for free.+**Pattern B — PostHog AI agent mode.** For features the user interacts with _via_ PostHog AI in a specific agent mode (error tracking, product analytics, session replay, SQL, flags, surveys, AI observability). Filter on `ai_product = 'posthog_ai' AND agent_mode = '<mode>'`. This requires PR #55160 (merged April 2026) to be deployed, which threads `agent_mode` and `supermode` onto every `$ai_generation` emitted by the chat agent loop. A useful ergonomic side-effect: `agent_mode IS NOT NULL` is a reliable "user-facing chat turn" filter — batch jobs and tool-internal LLM calls go through different code paths and have `agent_mode=null`, so they're excluded for free.If the user asks "what are users trying to DO in [ET / replay / SQL / flags / surveys] mode of PostHog AI", that's Pattern B. If they ask "what use cases does [standalone feature] cover", that's Pattern A. Pick the pattern first — the prompt, filter, and Slack channel naming all follow from it.@@ -56,9 +56,9 @@ If `$session_id` is missing on either event type, file a backend fix before cont| `posthog:query-llm-traces-list` | Find sample traces matching the feature's `$ai_trace_id` pattern || `posthog:query-llm-trace` | Inspect a specific trace's contents end-to-end || `posthog:execute-sql` | Verify trace volume, session_id coverage, eval result distributions |-| `posthog:llma-evaluation-create` | (**often unexposed** — UI fallback: LLM analytics → Evaluations → New) Create the LLM-judge eval (disabled at first) |+| `posthog:llma-evaluation-create` | (**often unexposed** — UI fallback: AI observability → Evaluations → New) Create the LLM-judge eval (disabled at first) || `posthog:llma-evaluation-run` | (**often unexposed** — UI fallback: the eval's detail page has a "Run on event" button) Dry-run the eval against specific generations during prompt iteration |-| `posthog:llma-evaluation-update` | (**often unexposed** — UI fallback: edit the eval in LLM analytics → Evaluations) Tweak the prompt / enable when ready |+| `posthog:llma-evaluation-update` | (**often unexposed** — UI fallback: edit the eval in AI observability → Evaluations) Tweak the prompt / enable when ready || `posthog:llma-evaluation-summary-create` | (**often unexposed** — UI fallback: the eval detail page has a "Summarize results" button) After the feed is running, get an AI summary of pass/N/A patterns to validate signal quality || `posthog:workflows-list` / `posthog:workflows-get` | (**often unexposed** — UI: Data pipeline → Workflows) Browse existing workflow configs — useful for cloning an existing feed's structure when setting up a new one. Read-only; no create/update tool is exposed yet, so step 6's Slack workflow setup is UI-only. |@@ -230,7 +230,7 @@ posthog:llma-evaluation-createLeave model choice to the user — LLM-judge cost scales linearly with event volume, and cheap-vs-capable is a real tradeoff they should make based on their own spend tolerance and signal-quality requirements. Don't pick for them.-**UI fallback** (when `llma-evaluation-create` isn't exposed): LLM analytics → Evaluations → New evaluation. Type = `LLM judge`, output = boolean + allow N/A, filters as above, enabled = off. Paste the prompt from step 3.+**UI fallback** (when `llma-evaluation-create` isn't exposed): AI observability → Evaluations → New evaluation. Type = `LLM judge`, output = boolean + allow N/A, filters as above, enabled = off. Paste the prompt from step 3.Then dry-run against your sample traces.@@ -272,7 +272,7 @@ posthog:llma-evaluation-update}```-**UI fallback:** LLM analytics → Evaluations → open the eval → toggle enabled.+**UI fallback:** AI observability → Evaluations → open the eval → toggle enabled.The eval will now run on every new matching `$ai_generation` event.@@ -369,7 +369,7 @@ Recommended flow: synthetic → sanity-check the block template renders → flipOnce the workflow is enabled, trigger the feature yourself. Within a minute or two:-1. The `$ai_generation` event should appear in LLM Analytics+1. The `$ai_generation` event should appear in AI observability2. The eval should auto-run and emit an `$ai_evaluation` event3. The workflow should fire and the Slack post should land in the configured channel4. Click "View Trigger Session" — should land on the recording of you using the feature, not the replay homepage@@ -411,7 +411,7 @@ posthog:llma-evaluation-summary-create}```-**UI fallback:** open the eval in LLM analytics → Evaluations → "Summarize results" button, filter = fail.+**UI fallback:** open the eval in AI observability → Evaluations → "Summarize results" button, filter = fail.If the FAIL bucket is large, the classification step is too strict — relax it. If the PASS bucket has lots of generic reasonings, iterate on the prompt to enforce concreteness. The summary tool gives a quick read on this without you having to scroll through individual events.diff --git a/products/posthog_ai/skills/querying-posthog-data/SKILL.md b/products/posthog_ai/skills/querying-posthog-data/SKILL.mdindex 350f471837be..c0c3fd3d53fb 100644--- a/products/posthog_ai/skills/querying-posthog-data/SKILL.md+++ b/products/posthog_ai/skills/querying-posthog-data/SKILL.md@@ -46,7 +46,7 @@ Schema reference for PostHog's core system models, organized by domain:- [Hog Flows](./references/models-hog-flows.md)- [Hog Functions](./references/models-hog-functions.md)- [Integrations](./references/models-integrations.md)-- [LLM analytics reviews](./references/models-llm-analytics-reviews.md)+- [AI observability reviews](./references/models-llm-analytics-reviews.md)- [Logs (`logs` data plane + saved views and alerts)](./references/models-logs.md)- [Metrics (`posthog.metrics`)](./references/models-metrics.md)- [Notebooks](./references/models-notebooks.md)diff --git a/products/posthog_ai/skills/querying-posthog-data/references/models-dashboards-insights.md b/products/posthog_ai/skills/querying-posthog-data/references/models-dashboards-insights.mdindex 378398f7a87b..6664f8deb9b6 100644--- a/products/posthog_ai/skills/querying-posthog-data/references/models-dashboards-insights.md+++ b/products/posthog_ai/skills/querying-posthog-data/references/models-dashboards-insights.md@@ -26,7 +26,7 @@ Column | Type | Nullable | Description### Important Notes- The default manager excludes soft-deleted dashboards (`deleted=True`)-- `creation_mode='unlisted'` dashboards are hidden from general lists (used for product dashboards like LLM Analytics)+- `creation_mode='unlisted'` dashboards are hidden from general lists (used for product dashboards like AI observability)- Use `filters` to store dashboard-level date ranges and property filters---diff --git a/products/posthog_ai/skills/querying-posthog-data/references/models-llm-analytics-reviews.md b/products/posthog_ai/skills/querying-posthog-data/references/models-llm-analytics-reviews.mdindex 6b053f7df369..3c3c7d02c132 100644--- a/products/posthog_ai/skills/querying-posthog-data/references/models-llm-analytics-reviews.md+++ b/products/posthog_ai/skills/querying-posthog-data/references/models-llm-analytics-reviews.md@@ -1,4 +1,4 @@-# LLM analytics reviews+# AI observability reviews## Trace review (`system.trace_reviews`)diff --git a/products/product_tours/backend/llm/client.py b/products/product_tours/backend/llm/client.pyindex 7922a062eb0e..2d5d0ecc71cd 100644--- a/products/product_tours/backend/llm/client.py+++ b/products/product_tours/backend/llm/client.py@@ -23,7 +23,7 @@ def create_gemini_client():posthog_client = posthoganalytics.default_clientif not posthog_client:- logger.warning("PostHog default_client not available, LLM analytics will not be tracked")+ logger.warning("PostHog default_client not available, AI observability will not be tracked")return genai.Client(api_key=settings.GEMINI_API_KEY,diff --git a/products/signals/ARCHITECTURE.md b/products/signals/ARCHITECTURE.mdindex 76cf87d9bdf7..abc6a5d97a76 100644--- a/products/signals/ARCHITECTURE.md+++ b/products/signals/ARCHITECTURE.md@@ -2,7 +2,7 @@## Overview-The **Signals** product is a signal grouping and report-generation pipeline. Signals from multiple products and integrations — including session replay, LLM analytics, error tracking, GitHub, Linear, and Zendesk — are emitted into a shared ClickHouse embeddings table, grouped into **SignalReports** via embedding similarity + LLM matching, and then optionally promoted into an agentic report-research flow.+The **Signals** product is a signal grouping and report-generation pipeline. Signals from multiple products and integrations — including session replay, AI observability, error tracking, GitHub, Linear, and Zendesk — are emitted into a shared ClickHouse embeddings table, grouped into **SignalReports** via embedding similarity + LLM matching, and then optionally promoted into an agentic report-research flow.Today the active ingestion path is **emitter → buffer → grouping v2**. The summary path is no longer a simple "summarize signals" LLM step: it runs a report-level safety judge, selects a repository, then performs sandbox-backed multi-turn research that produces findings, actionability, priority, title, summary, and suggested reviewers. Reports that are immediately actionable can automatically start a Tasks coding run via the **autonomy** system.@@ -443,7 +443,7 @@ Per-team configuration for which signal sources are enabled.## ClickHouse Storage-Signals are stored in the **`posthog_document_embeddings`** table, which is shared across products (error tracking, session replay, LLM analytics, etc.).+Signals are stored in the **`posthog_document_embeddings`** table, which is shared across products (error tracking, session replay, AI observability, etc.).### Table Schemadiff --git a/products/signals/backend/api.py b/products/signals/backend/api.pyindex 2a1b1c3fc0c5..9dbd3233e6d1 100644--- a/products/signals/backend/api.py+++ b/products/signals/backend/api.py@@ -131,7 +131,7 @@ async def emit_signal(})- # Fire a "started" marker so direct callers (error tracking, LLM analytics evals, etc.)+ # Fire a "started" marker so direct callers (error tracking, AI observability evals, etc.)# that don't go through the data-source pipeline still have a top-of-funnel event. The# gap to `signal_emitted` surfaces Temporal/dispatch failures.try:diff --git a/products/signals/backend/models.py b/products/signals/backend/models.pyindex 8c638057179d..b4d1cb6de224 100644--- a/products/signals/backend/models.py+++ b/products/signals/backend/models.py@@ -45,7 +45,7 @@ class SignalSourceConfig(UUIDModel):def is_source_enabled(cls, team_id: int, source_product: str, source_type: str) -> bool:"""Check whether a given signal source is enabled for a team.- LLM analytics signals are always allowed (gated in llma evals workflows). TODO - this should be moved here.+ AI observability signals are always allowed (gated in llma evals workflows). TODO - this should be moved here.For everything else, the team must have a SignalSourceConfig row with enabled=True."""if source_product == cls.SourceProduct.LLM_ANALYTICS:diff --git a/products/signals/eval/llm_gen/prompts.py b/products/signals/eval/llm_gen/prompts.pyindex b6ba10552afa..afec36631555 100644--- a/products/signals/eval/llm_gen/prompts.py+++ b/products/signals/eval/llm_gen/prompts.py@@ -1,6 +1,6 @@SYSTEM_PROMPT = """You are generating realistic synthetic feedback signals for testing a customer-feedback grouping pipeline at PostHog.-PostHog is a product analytics platform. Surface areas include: Product analytics (insights, dashboards, funnels, retention, paths, lifecycle, stickiness), Session replay, Surveys, Feature flags, Experiments, Web analytics, Data warehouse, Workflows / hog flows, LLM analytics, Error tracking, SQL editor, Notebooks, Cohorts, Toolbar / autocapture.+PostHog is a product analytics platform. Surface areas include: Product analytics (insights, dashboards, funnels, retention, paths, lifecycle, stickiness), Session replay, Surveys, Feature flags, Experiments, Web analytics, Data warehouse, Workflows / hog flows, AI observability, Error tracking, SQL editor, Notebooks, Cohorts, Toolbar / autocapture.Your job: produce a JSON object matching this schema:{diff --git a/products/surveys/backend/llm/client.py b/products/surveys/backend/llm/client.pyindex 4c29c38ea809..25c31998ad71 100644--- a/products/surveys/backend/llm/client.py+++ b/products/surveys/backend/llm/client.py@@ -25,7 +25,7 @@ def create_gemini_client():posthog_client = posthoganalytics.default_clientif not posthog_client:- logger.warning("PostHog default_client not available, LLM analytics will not be tracked")+ logger.warning("PostHog default_client not available, AI observability will not be tracked")return genai.Client(api_key=settings.GEMINI_API_KEY,diff --git a/products/tracing/skills/exploring-apm-traces/SKILL.md b/products/tracing/skills/exploring-apm-traces/SKILL.mdindex 7a00ada0424d..1870dd58d14f 100644--- a/products/tracing/skills/exploring-apm-traces/SKILL.md+++ b/products/tracing/skills/exploring-apm-traces/SKILL.md@@ -3,7 +3,7 @@ name: exploring-apm-tracesdescription: >Investigates distributed application performance using PostHog APM (OpenTelemetry span) data via MCP.Use when the user asks about service traces, slow HTTP/database spans, error spans, trace IDs, or span- attributes — not LLM analytics traces or product logs. Uses posthog:query-apm-spans, posthog:apm-trace-get,+ attributes — not AI observability traces or product logs. Uses posthog:query-apm-spans, posthog:apm-trace-get,posthog:apm-services-list, posthog:apm-attributes-list, and posthog:apm-attribute-values-list.---@@ -11,7 +11,7 @@ description: >PostHog captures distributed traces from OpenTelemetry. Each trace is a tree of spans representing a request's path through services.-**Disambiguation:** This skill is for **APM / OpenTelemetry traces**. Do not confuse with **LLM analytics traces** (agent/model `$ai_*` events) or **logs** (`posthog:query-logs`, `posthog:logs-*`).+**Disambiguation:** This skill is for **APM / OpenTelemetry traces**. Do not confuse with **AI observability traces** (agent/model `$ai_*` events) or **logs** (`posthog:query-logs`, `posthog:logs-*`).## Available toolsdiff --git a/rust/capture/docs/llma-acceptance-test-suite.md b/rust/capture/docs/llma-acceptance-test-suite.mdindex e77924a9c9fd..21e5a0eb6bdd 100644--- a/rust/capture/docs/llma-acceptance-test-suite.md+++ b/rust/capture/docs/llma-acceptance-test-suite.md@@ -2,7 +2,7 @@## Overview-This document describes the Python acceptance test suite for the LLM Analytics pipeline. These tests validate **end-to-end functionality** that requires real PostHog infrastructure: database, S3 storage, Kafka, authentication services, and the full ingestion pipeline.+This document describes the Python acceptance test suite for the AI observability pipeline. These tests validate **end-to-end functionality** that requires real PostHog infrastructure: database, S3 storage, Kafka, authentication services, and the full ingestion pipeline.**Implementation Requirement**: Each phase in the implementation plan must pass its corresponding acceptance tests before proceeding to the next phase. This ensures incremental validation and prevents regression as new features are added.diff --git a/rust/capture/docs/llma-capture-implementation-plan.md b/rust/capture/docs/llma-capture-implementation-plan.mdindex bc8a33333da9..abdff972368b 100644--- a/rust/capture/docs/llma-capture-implementation-plan.md+++ b/rust/capture/docs/llma-capture-implementation-plan.md@@ -1,8 +1,8 @@-# LLM Analytics Capture Implementation Plan+# AI observability capture implementation plan## Overview-This document outlines the implementation steps for the LLM Analytics capture pipeline based on the design specified in `llma-capture-overview.md`.+This document outlines the implementation steps for the AI observability capture pipeline based on the design specified in `llma-capture-overview.md`.## Implementation Phasesdiff --git a/rust/capture/docs/llma-capture-overview.md b/rust/capture/docs/llma-capture-overview.mdindex 072c99ce3a02..abe90b1dee0e 100644--- a/rust/capture/docs/llma-capture-overview.md+++ b/rust/capture/docs/llma-capture-overview.md@@ -1,8 +1,8 @@-# LLM Analytics Capture Overview+# AI observability capture overview## Objective-Implement a dedicated capture pathway for LLM Analytics events that enables efficient processing of large-scale language model interactions. This specialized pipeline will:+Implement a dedicated capture pathway for AI observability events that enables efficient processing of large-scale language model interactions. This specialized pipeline will:- Store LLM inputs and outputs directly in S3 for scalable, cost-effective storage- Route events through the main ingestion pipeline while bypassing the processing of large LLM context payloads@@ -13,7 +13,7 @@ This approach allows us to capture comprehensive LLM usage data without impactin## Supported Events-The LLM Analytics capture endpoint supports four primary AI event types. Events are sent to the `/i/v0/ai` endpoint with multipart payloads to handle large context data efficiently.+The AI observability capture endpoint supports four primary AI event types. Events are sent to the `/i/v0/ai` endpoint with multipart payloads to handle large context data efficiently.### `$ai_generation`@@ -108,11 +108,11 @@ These events are lightweight and processed through the regular pipeline:Properties that can contain large payloads (marked as "can be stored as blob" above) should be sent as separate multipart parts with names like `event.properties.$ai_input` or `event.properties.$ai_output_choices`. This keeps the event JSON small while allowing arbitrarily large context data to be stored efficiently in S3.-**Reference:** [PostHog LLM Analytics Manual Capture Documentation](https://posthog.com/docs/llm-analytics/manual-capture)+**Reference:** [PostHog AI observability manual capture documentation](https://posthog.com/docs/ai-observability/installation/manual-capture)## General Architecture-The LLM Analytics capture system implements a specialized data flow that efficiently handles large language model payloads:+The AI observability capture system implements a specialized data flow that efficiently handles large language model payloads:### Data Flow@@ -438,7 +438,7 @@ For data received from SDKs (after request decompression, if any):### Payload Authentication Implementation-The authentication process for LLM analytics events follows these steps:+The authentication process for AI observability events follows these steps:1. **API Key Extraction**- Extract the API key from the request headers (e.g., `Authorization: Bearer <api_key>`)diff --git a/rust/capture/docs/llma-integration-test-suite.md b/rust/capture/docs/llma-integration-test-suite.mdindex b6e543f4d850..84c11661ca09 100644--- a/rust/capture/docs/llma-integration-test-suite.md+++ b/rust/capture/docs/llma-integration-test-suite.md@@ -2,7 +2,7 @@## Overview-This document describes the Rust integration test suite for the LLM Analytics capture service. These tests validate HTTP endpoint behavior, multipart parsing, and validation logic without requiring external dependencies.+This document describes the Rust integration test suite for the AI observability capture service. These tests validate HTTP endpoint behavior, multipart parsing, and validation logic without requiring external dependencies.**Implementation Requirement**: Each phase in the implementation plan must pass its corresponding integration tests before proceeding to the next phase. This ensures incremental validation and prevents regression as new features are added.diff --git a/services/llm-gateway/README.md b/services/llm-gateway/README.mdindex ff6149e8d39f..8115592d272c 100644--- a/services/llm-gateway/README.md+++ b/services/llm-gateway/README.md@@ -218,9 +218,9 @@ OAuth access is permitted only for products with an explicit `allowed_applicatio| `wizard` | API key + OAuth | All | Max AI assistant || `django` | API key only | All | Server-side Django calls || `growth` | API key only | All | Growth team |-| `llma_translation` | API key only | gpt-4.1-mini | LLM analytics translation |-| `llma_summarization` | API key only | gpt-4.1-nano, gpt-4.1-mini | LLM analytics summarization |-| `llma_eval_summary` | API key only | gpt-5-mini | LLM analytics eval summary |+| `llma_translation` | API key only | gpt-4.1-mini | AI observability translation |+| `llma_summarization` | API key only | gpt-4.1-nano, gpt-4.1-mini | AI observability summarization |+| `llma_eval_summary` | API key only | gpt-5-mini | AI observability eval summary |Aliases: `twig`, `array` resolve to `posthog_code`; `slack-twig` resolves to `slack-posthog-code`.diff --git a/services/llm-gateway/src/llm_gateway/callbacks/posthog.py b/services/llm-gateway/src/llm_gateway/callbacks/posthog.pyindex 8959a076544a..060c25c49e44 100644--- a/services/llm-gateway/src/llm_gateway/callbacks/posthog.py+++ b/services/llm-gateway/src/llm_gateway/callbacks/posthog.py@@ -63,7 +63,7 @@ _TRACE_ID_NAMESPACE = UUID("8d4f6b7e-6a3e-4f3a-9f3b-3b6f4d2e8a1a")def _normalize_trace_id(raw: Any) -> str:"""Normalize an incoming trace identifier into a UUID string.- LLM Analytics renders trace links as `/llm-observability/traces/<id>`, so+ AI observability renders trace links as `/llm-observability/traces/<id>`, so`$ai_trace_id` must be a URL-safe identifier. Anthropic's`metadata.user_id` is a free-form string that Claude Code populates with aserialized JSON session blob — passing that through verbatim produces@@ -99,7 +99,7 @@ def _truncate_for_capture(properties: dict[str, Any]) -> dict[str, Any]:class PostHogCallback(InstrumentedCallback):- """Custom PostHog callback for LLM analytics."""+ """Custom PostHog callback for AI observability."""callback_name = "posthog"diff --git a/services/llm-gateway/src/llm_gateway/config.py b/services/llm-gateway/src/llm_gateway/config.pyindex d4e14dbf0dba..9050258eed75 100644--- a/services/llm-gateway/src/llm_gateway/config.py+++ b/services/llm-gateway/src/llm_gateway/config.py@@ -137,7 +137,7 @@ class Settings(BaseSettings):openrouter_api_key: str | None = Nonefireworks_api_key: str | None = None- # Project token for LLM analytics events+ # Project token for AI observability eventsposthog_project_token: str | None = Noneposthog_host: str = "https://us.i.posthog.com"diff --git a/services/mcp/ARCHITECTURE.md b/services/mcp/ARCHITECTURE.mdindex 65e800e05f0f..c1541553a889 100644--- a/services/mcp/ARCHITECTURE.md+++ b/services/mcp/ARCHITECTURE.md@@ -149,7 +149,7 @@ Three identifiers travel with each request, each with a different lifecycle and| Identifier | Source | Where it lands || --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| **`sessionId`** (wrapper-app hint) | `?sessionId=` query param, set by integrators (setup wizard, sandbox, etc.) | Resolved to a UUIDv7 via `SessionManager.getSessionUuid()` and stamped as `$session_id` / `$ai_session_id` on events — drives Session Replay and LLM Analytics grouping. Only set when a wrapper supplies it. |+| **`sessionId`** (wrapper-app hint) | `?sessionId=` query param, set by integrators (setup wizard, sandbox, etc.) | Resolved to a UUIDv7 via `SessionManager.getSessionUuid()` and stamped as `$session_id` / `$ai_session_id` on events — drives Session Replay and AI observability grouping. Only set when a wrapper supplies it. || **`mcpSessionId`** (transport session) | `Mcp-Session-Id` HTTP header, server-minted on initialize per the [Streamable-HTTP MCP spec](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http) and echoed by clients on every subsequent request | Stamped on `mcp_tool_call` events as `mcp_session_id` / `$mcp_session_id`, and forwarded to Django as `X-Posthog-Mcp-Session-Id` so backend structlog contextvars + OTLP span attributes (`mcp.session_id`) can correlate. || **`mcpConversationId`** (agent-echoed conversation) | The `conversation_id` arg [injected into tool schemas](https://github.com/PostHog/mcp-analytics/pull/14) by `@posthog/mcp-analytics` when `enableConversationId: true`. The SDK mints a UUID and asks the agent to echo it on subsequent calls, so it persists across transport reconnects | Same plumbing as `mcpSessionId` — stamped on events and forwarded to Django as `X-Posthog-Mcp-Conversation-Id`. |diff --git a/services/mcp/README.md b/services/mcp/README.mdindex 860cd9b8f84b..d7ee15cd317a 100644--- a/services/mcp/README.md+++ b/services/mcp/README.md@@ -233,7 +233,7 @@ Available features:| `hog_functions` | [CDP function management](https://posthog.com/docs/cdp) || `hog_function_templates` | CDP function template browsing || `insights` | [Analytics insights](https://posthog.com/docs/product-analytics/insights) |-| `llm_analytics` | [LLM analytics evaluations](https://posthog.com/docs/ai-engineering) |+| `llm_analytics` | [AI observability evaluations](https://posthog.com/docs/ai-engineering) || `prompts` | [LLM prompt management](https://posthog.com/docs/ai-engineering) || `logs` | [Log querying](https://posthog.com/docs/ai-engineering/observability) || `notebooks` | [Notebook management](https://posthog.com/docs/notebooks) |diff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex 5f1fa6e8b943..167742274cb8 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -2577,7 +2577,7 @@},"llma-clustering-job-get": {"description": "Retrieve a specific clustering job configuration by ID. Returns the job name, analysis level (trace or generation), event filters, enabled status, and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get clustering job","title": "Get clustering job",@@ -2592,7 +2592,7 @@},"llma-clustering-job-list": {"description": "List all clustering job configurations for the current team (max 5 per team). Each job defines an analysis level (trace or generation) and event filters that scope which traces are included in clustering runs. Cluster results are stored as $ai_trace_clusters and $ai_generation_clusters events — use docs-search or execute-sql to query them.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List clustering jobs","title": "List clustering jobs",@@ -2607,7 +2607,7 @@},"llma-evaluation-config-get": {"description": "Retrieve the team's evaluation configuration, including the active LLM provider key used to run llm_judge evaluations and remaining trial credits. Call this before creating an llm_judge evaluation to verify the team has either trial credits available or an active provider key configured — without one, llm_judge runs will fail. Returns trial limits, the active provider key (or null if on trial credits), and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get evaluation config","title": "Get evaluation config",@@ -2622,7 +2622,7 @@},"llma-evaluation-config-set-active-key": {"description": "Assign the LLM provider key used to run llm_judge evaluations team-wide. Pass key_id (UUID of an existing provider key whose state is 'ok'). Switching the active key affects every llm_judge evaluation that doesn't pin its own key. The key must already be in the 'ok' state — if it isn't, ask the user to validate it from the PostHog UI before retrying.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Set active evaluation provider key","title": "Set active evaluation provider key",@@ -2637,7 +2637,7 @@},"llma-evaluation-create": {"description": "Create a new LLM evaluation. For 'llm_judge' type, provide evaluation_config.prompt and model_configuration (provider + model). For 'hog' type, provide evaluation_config.source (Hog code returning a boolean). When enabled, the evaluation runs automatically on new $ai_generation events. Results appear as '$ai_evaluation' events.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create evaluation","title": "Create evaluation",@@ -2652,7 +2652,7 @@},"llma-evaluation-delete": {"description": "Soft-delete an LLM evaluation. The evaluation stops running and is hidden from list views. Historical evaluation results ($ai_evaluation events) are preserved.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete evaluation","title": "Delete evaluation",@@ -2667,7 +2667,7 @@},"llma-evaluation-get": {"description": "Get a specific LLM evaluation by its UUID. Returns the full evaluation configuration including type, config, output type, enabled status, and model configuration.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get evaluation","title": "Get evaluation",@@ -2682,7 +2682,7 @@},"llma-evaluation-judge-models": {"description": "List the provider+model combinations supported for llm_judge evaluations. Pass a `provider` query parameter (one of openai, anthropic, gemini, openrouter, fireworks, azure_openai) and optionally `key_id` to scope the list to deployments reachable with a specific provider key (mainly relevant for azure_openai). Each entry returns the model id and whether it is available on PostHog trial credits. Call this before creating an llm_judge evaluation when the user has not specified a model, so a valid provider+model combination is chosen.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List supported llm_judge models","title": "List supported llm_judge models",@@ -2697,7 +2697,7 @@},"llma-evaluation-list": {"description": "List all LLM evaluations for the current project. Optionally filter by name/description search or enabled status. Evaluations automatically score $ai_generation events for quality, relevance, safety, and other criteria. Two types are supported: 'llm_judge' (LLM scores outputs against a prompt) and 'hog' (deterministic Hog code). Results are stored as '$ai_evaluation' events.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List evaluations","title": "List evaluations",@@ -2712,7 +2712,7 @@},"llma-evaluation-report-create": {"description": "Create an evaluation report configuration. Reports summarize recent evaluation runs (using AI)\nand are delivered to email or Slack targets. `frequency` selects the trigger mode and defaults\nto 'every_n' if omitted:\n\n- 'every_n' (count-based): a report fires once `trigger_threshold` new evaluation results have\naccumulated, but no more often than `cooldown_minutes` apart and capped by `daily_run_cap` per\nUTC day. `trigger_threshold` is required in this mode (10–10000); `cooldown_minutes` (60–1440)\nand `daily_run_cap` are optional.\n- 'scheduled' (time-based): reports fire on the cadence defined by `rrule` (RFC 5545, e.g.\n'FREQ=WEEKLY;BYDAY=MO') anchored at `starts_at` and expanded in `timezone_name` so local clock\ntimes survive DST transitions. `rrule` and `starts_at` are required in this mode;\n`timezone_name` defaults to 'UTC'.\n\n`delivery_targets` is a list of {type: 'email', value: '<addr>'} or {type: 'slack',\nintegration_id: <int>, channel: '<channel>'} entries. Slack integrations must belong to the\nsame team. Use `report_prompt_guidance` to steer the AI report's focus.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create evaluation report config","title": "Create evaluation report config",@@ -2727,7 +2727,7 @@},"llma-evaluation-report-delete": {"description": "Soft-delete an evaluation report configuration. The report stops firing and is hidden from list views; historical report runs are preserved. Equivalent to calling llma-evaluation-report-update with deleted=true — that update path is the canonical way to soft-delete and is the only option when you also want to change other fields in the same call.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete evaluation report config","title": "Delete evaluation report config",@@ -2742,7 +2742,7 @@},"llma-evaluation-report-generate": {"description": "Immediately trigger an AI-generated evaluation report for this report config. Enqueues a Temporal workflow that analyzes recent evaluation runs and delivers the report to configured targets (email or Slack). Returns 202 on success. Duplicate requests within the same minute are coalesced — only one report is generated. Rate-limited by daily_run_cap.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Trigger evaluation report generation","title": "Trigger evaluation report generation",@@ -2757,7 +2757,7 @@},"llma-evaluation-report-get": {"description": "Get a specific evaluation report configuration by UUID. Returns the full config including frequency, delivery targets, trigger thresholds, and schedule settings.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get evaluation report config","title": "Get evaluation report config",@@ -2772,7 +2772,7 @@},"llma-evaluation-report-list": {"description": "List all evaluation report configurations for the current project. Optionally filter by evaluation UUID using the 'evaluation' query param. Each report config controls how and when evaluation summary reports are generated and delivered (email or Slack).",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List evaluation report configs","title": "List evaluation report configs",@@ -2787,7 +2787,7 @@},"llma-evaluation-report-run-list": {"description": "List the run history for a specific evaluation report config. Each run record includes the generated report content, the evaluation period covered, delivery status ('pending', 'delivered', 'failed'), and any delivery error details.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List evaluation report runs","title": "List evaluation report runs",@@ -2802,7 +2802,7 @@},"llma-evaluation-report-update": {"description": "Partially update an evaluation report configuration. Toggle enabled/disabled, update delivery targets (email or Slack), or switch frequency between 'every_n' and 'scheduled'. For 'every_n' mode set trigger_threshold (10–10000) and optionally cooldown_minutes (60–1440); for 'scheduled' mode set rrule and starts_at. Set deleted=true to soft-delete the config.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update evaluation report config","title": "Update evaluation report config",@@ -2817,7 +2817,7 @@},"llma-evaluation-run": {"description": "Manually trigger an evaluation run for a specific $ai_generation event. Enqueues a Temporal workflow that asynchronously executes the evaluation and stores the result as a '$ai_evaluation' event. Returns a workflow_id and status \"started\". Pair with execute-sql to query results: SELECT * FROM events WHERE event = '$ai_evaluation'.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Run evaluation","title": "Run evaluation",@@ -2832,7 +2832,7 @@},"llma-evaluation-summary-create": {"description": "Generate an AI-powered summary of LLM evaluation results for a given evaluation config. Pass an evaluation_id and an optional filter (\"all\", \"pass\", \"fail\", or \"na\") to scope which runs are analyzed. Returns an overall assessment, pattern groups for passing, failing, and N/A runs (each with title, description, frequency, and example generation IDs), actionable recommendations, and run statistics. Optionally pass generation_ids to restrict the analysis to specific runs. Results are cached for one hour — use force_refresh to recompute. Rate-limited; requires AI data processing approval for the organization.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Summarize evaluation results","title": "Summarize evaluation results",@@ -2848,7 +2848,7 @@},"llma-evaluation-test-hog": {"description": "Test Hog evaluation source code against a sample of recent $ai_generation events without saving. Returns per-event results (pass/fail/N/A), reasoning, and input/output previews. Use this to validate Hog code before creating or updating a 'hog' type evaluation.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Test Hog evaluation code","title": "Test Hog evaluation code",@@ -2863,7 +2863,7 @@},"llma-evaluation-update": {"description": "Update an existing LLM evaluation (partial update). Toggle enabled/disabled, update the evaluation config (prompt or Hog source), or change the model configuration.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update evaluation","title": "Update evaluation",@@ -2878,7 +2878,7 @@},"llma-prompt-create": {"description": "Create a new LLM prompt for the current team. Requires a unique name and prompt content (string or JSON object).",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create prompt","title": "Create prompt",@@ -2893,7 +2893,7 @@},"llma-prompt-duplicate": {"description": "Duplicate an existing LLM prompt under a new name. Copies the latest version's content to create a new prompt at version 1. Useful for forking a prompt or as a way to rename since names are immutable after creation.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Duplicate prompt","title": "Duplicate prompt",@@ -2908,7 +2908,7 @@},"llma-prompt-get": {"description": "Get a specific LLM prompt by name. Uses the cached endpoint for fast retrieval.\nThe response always includes `outline`, a flat list of markdown headings parsed from the prompt — useful\nas a lightweight table of contents. Pass `content=none` to get the outline without the prompt payload,\nor `content=preview` for a short `prompt_preview` snippet instead of the full prompt.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get prompt","title": "Get prompt",@@ -2923,7 +2923,7 @@},"llma-prompt-list": {"description": "List all LLM prompts stored for the current team. Optionally filter by name. Returns paginated prompt summaries. By default, only prompt metadata is returned, not full prompt content. Every result also includes `outline`, a flat list of markdown headings parsed from the prompt — use it as a lightweight table of contents, and pair with `content=none` to keep responses small.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List prompts","title": "List prompts",@@ -2938,7 +2938,7 @@},"llma-prompt-update": {"description": "Publish a new version of an existing LLM prompt by name. Name is immutable after creation.\nYou can either provide the full prompt content via 'prompt', or use 'edits' for incremental\nfind/replace updates. Each edit must have 'old' (text to find, must match exactly once) and\n'new' (replacement text). Edits are applied sequentially. Only one of 'prompt' or 'edits'\nmay be provided.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update prompt","title": "Update prompt",@@ -2953,7 +2953,7 @@},"llma-review-queue-create": {"description": "Create a review queue for routing traces that still need review. Queue names must be unique among active queues in the current project.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create review queue","title": "Create review queue",@@ -2968,7 +2968,7 @@},"llma-review-queue-delete": {"description": "Delete a review queue by ID. This soft-deletes the queue and soft-deletes all active pending assignments that still belong to it.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete review queue","title": "Delete review queue",@@ -2983,7 +2983,7 @@},"llma-review-queue-get": {"description": "Retrieve a review queue by ID. Returns its name, current pending_item_count, creator, and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get review queue","title": "Get review queue",@@ -2998,7 +2998,7 @@},"llma-review-queue-item-create": {"description": "Add a trace to a review queue as a pending trace review assignment. Requires queue_id and trace_id. Fails if the trace already has an active review or is already pending in any review queue.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create review queue item","title": "Create review queue item",@@ -3013,7 +3013,7 @@},"llma-review-queue-item-delete": {"description": "Remove a pending trace review assignment from review queues. This soft-deletes the queue item so the trace can be queued again later if needed.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete review queue item","title": "Delete review queue item",@@ -3028,7 +3028,7 @@},"llma-review-queue-item-get": {"description": "Retrieve a single pending trace review assignment by ID. Returns the owning queue, trace_id, creator, and timestamps for the pending review task.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get review queue item","title": "Get review queue item",@@ -3043,7 +3043,7 @@},"llma-review-queue-item-list": {"description": "List pending trace review assignments across review queues. Supports filtering by queue_id, trace_id, trace_id__in, search, and ordering so agents can find traces that are still queued for review.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List review queue items","title": "List review queue items",@@ -3058,7 +3058,7 @@},"llma-review-queue-item-update": {"description": "Move a pending trace review assignment to a different review queue by updating queue_id. Fails if the trace has already been reviewed and can no longer stay queued.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update review queue item","title": "Update review queue item",@@ -3073,7 +3073,7 @@},"llma-review-queue-list": {"description": "List review queues used for trace reviews. Returns queue names, pending_item_count, creator info, and timestamps. Supports queue-name search and ordering.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List review queues","title": "List review queues",@@ -3088,7 +3088,7 @@},"llma-review-queue-update": {"description": "Rename an existing review queue. The updated name must stay unique among active queues in the project.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update review queue","title": "Update review queue",@@ -3103,7 +3103,7 @@},"llma-score-definition-create": {"description": "Create a new scorer (a.k.a. score definition) used by trace reviews. Pass `name`, `kind` (`categorical`, `numeric`, or `boolean`), and `config` matching the kind. `kind` is immutable after creation. Categorical scorers need an `options` array with unique keys and optional `selection_mode`/`min_selections`/`max_selections` (for `multiple`). Numeric scorers can set `min`, `max`, `step`. Boolean scorers can override `true_label`/`false_label`. Scorers always start active (not archived) and at version 1.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create scorer","title": "Create scorer",@@ -3118,7 +3118,7 @@},"llma-score-definition-get": {"description": "Retrieve a scorer by ID, including its current immutable `config` payload, `current_version` number, kind, archived state, and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get scorer","title": "Get scorer",@@ -3133,7 +3133,7 @@},"llma-score-definition-list": {"description": "List active scorers for the current project. By default only active rows are returned — pass `archived=true` to see only archived scorers. Other filters: `kind` (`categorical`, `numeric`, `boolean`) and `search` over name/description. Returns metadata plus the current config snapshot.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List scorers","title": "List scorers",@@ -3148,7 +3148,7 @@},"llma-score-definition-new-version": {"description": "Publish a new immutable `config` version for an existing scorer. Use this whenever the scoring rules change (add/remove categorical options, tweak numeric bounds, rename boolean labels). Existing trace reviews keep their snapshot of the previous version, so historical scores remain stable. The `config` shape must match the scorer's `kind`. Each call increments `current_version` by one. Pass `base_version` (the version number you observed before bumping) for optimistic concurrency — the request returns 409 if another writer already advanced the scorer.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Bump scorer to a new version","title": "Bump scorer to a new version",@@ -3163,7 +3163,7 @@},"llma-score-definition-update": {"description": "Update a scorer's metadata: rename via `name`, edit `description`, or toggle `archived` to hide (`true`) or restore (`false`). Archiving is reversible — there is no destroy endpoint. To change the scoring rules instead, call `llma-score-definition-new-version`. `kind` cannot be changed.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update scorer metadata","title": "Update scorer metadata",@@ -3178,7 +3178,7 @@},"llma-sentiment-create": {"description": "Classify sentiment of LLM trace or generation user messages as positive, neutral, or negative. Pass a list of trace or generation IDs and an analysis_level (\"trace\" or \"generation\"). Returns per-ID sentiment labels with confidence scores and per-message breakdowns. Results are cached — use force_refresh to recompute. Rate-limited.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Analyze sentiment","title": "Analyze sentiment",@@ -3193,7 +3193,7 @@},"llma-skill-archive": {"description": "Archive every active version of an agent skill by name. This hides the skill from default lists and cannot be undone. Use llma-skill-get first if you need to inspect the skill before archiving it.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Archive skill","title": "Archive skill",@@ -3208,7 +3208,7 @@},"llma-skill-create": {"description": "Create a new agent skill. Requires a unique kebab-case name (lowercase letters, numbers, hyphens), a description explaining when to use it, and the skill body (SKILL.md instruction content as markdown). Optionally include license, compatibility, allowed_tools, metadata, and bundled files.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create skill","title": "Create skill",@@ -3223,7 +3223,7 @@},"llma-skill-duplicate": {"description": "Duplicate an existing agent skill under a new name. Copies the latest version's content, metadata, and bundled files to create a new skill at version 1.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Duplicate skill","title": "Duplicate skill",@@ -3238,7 +3238,7 @@},"llma-skill-file-create": {"description": "Add a new bundled file to an agent skill. Fails with 409 if a file at the given path already exists — use llma-skill-update with files to replace, or llma-skill-file-delete followed by llma-skill-file-create to overwrite. Publishes a new skill version and returns the updated skill (read its 'version' field to chain further edits via base_version). Supply base_version for optimistic concurrency.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create skill file","title": "Create skill file",@@ -3253,7 +3253,7 @@},"llma-skill-file-delete": {"description": "Remove a bundled file from an agent skill by path. Fails with 404 if the file is not in the latest version. Publishes a new skill version and returns 200 with the updated skill body (not 204) — read its 'version' field to chain further edits via base_version. Supply base_version for optimistic concurrency.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete skill file","title": "Delete skill file",@@ -3268,7 +3268,7 @@},"llma-skill-file-get": {"description": "Fetch a single bundled file from an agent skill by its path. Use the file manifest from llma-skill-get to discover available files. Supports progressive disclosure — only load files when needed rather than fetching all content upfront.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get skill file","title": "Get skill file",@@ -3283,7 +3283,7 @@},"llma-skill-file-rename": {"description": "Rename a bundled file within an agent skill. Fails with 404 if old_path is not in the latest version, and with 409 if new_path already exists. Use this to move a file without rewriting its content. Publishes a new skill version and returns the updated skill (read its 'version' field to chain further edits via base_version). Supply base_version for optimistic concurrency.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Rename skill file","title": "Rename skill file",@@ -3298,7 +3298,7 @@},"llma-skill-get": {"description": "Get a specific agent skill by name, including its full body content, metadata, and file manifest. Follows the Agent Skills specification (agentskills.io).",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get skill","title": "Get skill",@@ -3313,7 +3313,7 @@},"llma-skill-list": {"description": "List all agent skills stored for the current team. Returns skill names and descriptions for discovery — use descriptions to determine which skill to fetch for a given task. Does not return skill body content (use llma-skill-get to fetch full content).",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List skills","title": "List skills",@@ -3328,7 +3328,7 @@},"llma-skill-update": {"description": "Publish a new version of an existing agent skill by name. Any field not provided\nis carried forward from the current latest version. Requires base_version for\noptimistic concurrency.\n\nFor the body, you can either provide the full content via 'body', or use 'edits'\nfor incremental find/replace updates. Each edit must have 'old' (text to find,\nmust match exactly once) and 'new' (replacement text). Edits are applied\nsequentially. Only one of 'body' or 'edits' may be provided.\n\nFor file changes, prefer the per-file tools rather than passing a 'files' list:\nllma-skill-file-create / llma-skill-file-delete / llma-skill-file-rename handle\nadd/remove/rename one file at a time and return the updated skill (including the\nbumped version) so callers can chain further edits via base_version.\n\nFor per-file content updates, use 'file_edits' to apply find/replace updates to\nindividual files without resending the full file set — each entry targets one\nexisting file by path. Non-targeted files carry forward unchanged. 'file_edits'\ncannot add, remove, or rename files; use the per-file tools or 'files' (replace-all)\nfor that. 'files' and 'file_edits' are mutually exclusive.\n\nPassing a 'files' list here replaces ALL files and risks data loss if any file is\nomitted — use it only when you intentionally want to replace the entire bundle.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update skill","title": "Update skill",@@ -3343,7 +3343,7 @@},"llma-summarization-create": {"description": "Generate an AI-powered summary of an LLM trace or generation. Pass a trace_id or generation_id with a date_from — the backend fetches the data and returns a structured summary with title, flow diagram, summary bullets, and interesting notes. Results are cached. Use mode \"minimal\" (default) for 3-5 points or \"detailed\" for 5-10 points. Rate-limited; requires AI data processing approval for the organization.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Summarize trace or generation","title": "Summarize trace or generation",@@ -3358,8 +3358,8 @@"requires_ai_consent": true},"llma-tagger-create": {- "description": "Create an LLM analytics tagger that automatically adds custom tags to $ai_generation events. For tagger_type \"llm\", provide tagger_config.prompt plus tagger_config.tags (each with name and optional description); optionally set min_tags and max_tags. For tagger_type \"hog\", provide tagger_config.source Hog code that returns a tag name string, a list of tag name strings, or null; optionally provide tagger_config.tags as a whitelist. Use enabled=false while drafting, then update the tagger from the UI.",- "category": "LLM analytics",+ "description": "Create an AI observability tagger that automatically adds custom tags to $ai_generation events. For tagger_type \"llm\", provide tagger_config.prompt plus tagger_config.tags (each with name and optional description); optionally set min_tags and max_tags. For tagger_type \"hog\", provide tagger_config.source Hog code that returns a tag name string, a list of tag name strings, or null; optionally provide tagger_config.tags as a whitelist. Use enabled=false while drafting, then update the tagger from the UI.",+ "category": "AI observability","feature": "llm_analytics","summary": "Create tagger","title": "Create tagger",@@ -3373,8 +3373,8 @@}},"llma-tagger-list": {- "description": "List LLM analytics taggers for the current project. Supports filtering by enabled status, id__in, search, and ordering. Returns each tagger's name, description, enabled state, type, configuration, conditions, model configuration, creator, and timestamps.",- "category": "LLM analytics",+ "description": "List AI observability taggers for the current project. Supports filtering by enabled status, id__in, search, and ordering. Returns each tagger's name, description, enabled state, type, configuration, conditions, model configuration, creator, and timestamps.",+ "category": "AI observability","feature": "llm_analytics","summary": "List taggers","title": "List taggers",@@ -3389,7 +3389,7 @@},"llma-tagger-test-hog": {"description": "Test Hog tagger source code against recent $ai_generation events without saving a tagger. The source should return a tag name string, a list of tag name strings, or null. Optionally pass tags as a whitelist; returned tags outside the whitelist are filtered out. Results include input/output previews, selected tags, stdout reasoning, and any execution error for each sampled event.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Test Hog tagger code","title": "Test Hog tagger code",@@ -3404,7 +3404,7 @@},"llma-trace-review-create": {"description": "Save a trace review. Supports an optional comment, an optional scores array, and an optional queue_id to clear a matching pending review-queue item after the review is saved.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create trace review","title": "Create trace review",@@ -3419,7 +3419,7 @@},"llma-trace-review-delete": {"description": "Delete a trace review by ID. This soft-deletes the review so the same trace can be reviewed again later if needed.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete trace review","title": "Delete trace review",@@ -3434,7 +3434,7 @@},"llma-trace-review-get": {"description": "Retrieve a saved trace review by ID. Returns the trace_id, comment, scores, creator, reviewer, and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get trace review","title": "Get trace review",@@ -3449,7 +3449,7 @@},"llma-trace-review-list": {"description": "List saved trace reviews. Supports filtering by trace_id, definition_id, search, and ordering. Returns comments, scores, reviewers, and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List trace reviews","title": "List trace reviews",@@ -3464,7 +3464,7 @@},"llma-trace-review-update": {"description": "Update a trace review. Pass comment and/or the full desired scores array. You can also pass queue_id to clear only a matching pending queue item after the review is saved.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update trace review","title": "Update trace review",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex eae4cff456de..4590c7df5a27 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -1572,8 +1572,8 @@}},"evaluation-create": {- "description": "Create a new LLM analytics evaluation. Two types are supported: 'llm_judge' uses an LLM to score generations against a prompt you define (for subjective checks like tone, helpfulness, hallucination detection), and 'hog' runs deterministic code against each generation (for rule-based checks like format validation, keyword detection, length limits). For llm_judge evaluations, provide a prompt in evaluation_config and a model_configuration. For hog evaluations, provide source code in evaluation_config.",- "category": "LLM analytics",+ "description": "Create a new AI observability evaluation. Two types are supported: 'llm_judge' uses an LLM to score generations against a prompt you define (for subjective checks like tone, helpfulness, hallucination detection), and 'hog' runs deterministic code against each generation (for rule-based checks like format validation, keyword detection, length limits). For llm_judge evaluations, provide a prompt in evaluation_config and a model_configuration. For hog evaluations, provide source code in evaluation_config.",+ "category": "AI observability","feature": "llm_analytics","summary": "Create a new evaluation.","title": "Create evaluation",@@ -1587,8 +1587,8 @@}},"evaluation-delete": {- "description": "Delete an LLM analytics evaluation (soft delete). The evaluation will be marked as deleted and will no longer run.",- "category": "LLM analytics",+ "description": "Delete an AI observability evaluation (soft delete). The evaluation will be marked as deleted and will no longer run.",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete an evaluation.","title": "Delete evaluation",@@ -1602,8 +1602,8 @@}},"evaluation-get": {- "description": "Get a specific LLM analytics evaluation by its UUID. Returns full details including name, type (llm_judge or hog), configuration, conditions, and enabled status.",- "category": "LLM analytics",+ "description": "Get a specific AI observability evaluation by its UUID. Returns full details including name, type (llm_judge or hog), configuration, conditions, and enabled status.",+ "category": "AI observability","feature": "llm_analytics","summary": "Get a specific evaluation by ID.","title": "Get evaluation",@@ -1618,7 +1618,7 @@},"evaluation-run": {"description": "Trigger an evaluation run on a specific $ai_generation event. This executes the evaluation (either LLM judge or Hog code) against the target event asynchronously via a background workflow. The run is async — it returns a workflow_id and status 'started'. Results are written as '$ai_evaluation' events once complete. To check results after triggering a run, query events with: SELECT properties.$ai_evaluation_result as result, properties.$ai_evaluation_reasoning as reasoning FROM events WHERE event = '$ai_evaluation' AND properties.$ai_evaluation_id = '<evaluation_uuid>' AND properties.$ai_target_event_id = '<generation_event_uuid>' ORDER BY timestamp DESC LIMIT 1.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Run an evaluation on a specific event.","title": "Run evaluation",@@ -1633,7 +1633,7 @@},"evaluation-test-hog": {"description": "Test Hog evaluation code against recent $ai_generation events without persisting results. Compiles the provided Hog source code and runs it against a sample of recent events (up to 10 from the last 7 days). Returns per-event results with input/output previews, pass/fail verdicts, and any errors. Use this to validate Hog evaluation logic before enabling it.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Dry-run Hog evaluation code against sample events.","title": "Test Hog evaluation",@@ -1647,8 +1647,8 @@}},"evaluation-update": {- "description": "Update an existing LLM analytics evaluation. You can change the name, description, enabled status, evaluation config (prompt or source code), and output config. Use this to enable/disable evaluations or modify their scoring logic.",- "category": "LLM analytics",+ "description": "Update an existing AI observability evaluation. You can change the name, description, enabled status, evaluation config (prompt or source code), and output config. Use this to enable/disable evaluations or modify their scoring logic.",+ "category": "AI observability","feature": "llm_analytics","summary": "Update an evaluation.","title": "Update evaluation",@@ -1662,10 +1662,10 @@}},"evaluations-get": {- "description": "List LLM analytics evaluations for the project. Evaluations automatically score AI generations for quality, relevance, safety, and other criteria. Supports optional search by name/description and filtering by enabled status. Evaluation results are stored as '$ai_evaluation' events — to query results, use the execute-sql or query-run tool with a HogQL query filtering on event = '$ai_evaluation'. Key properties: $ai_evaluation_id (evaluation UUID), $ai_evaluation_name, $ai_target_event_id (generation event UUID), $ai_trace_id, $ai_evaluation_result (boolean pass/fail), $ai_evaluation_reasoning (text), $ai_evaluation_applicable (boolean, false = N/A).",- "category": "LLM analytics",+ "description": "List AI observability evaluations for the project. Evaluations automatically score AI generations for quality, relevance, safety, and other criteria. Supports optional search by name/description and filtering by enabled status. Evaluation results are stored as '$ai_evaluation' events — to query results, use the execute-sql or query-run tool with a HogQL query filtering on event = '$ai_evaluation'. Key properties: $ai_evaluation_id (evaluation UUID), $ai_evaluation_name, $ai_target_event_id (generation event UUID), $ai_trace_id, $ai_evaluation_result (boolean pass/fail), $ai_evaluation_reasoning (text), $ai_evaluation_applicable (boolean, false = N/A).",+ "category": "AI observability","feature": "llm_analytics",- "summary": "List LLM analytics evaluations.",+ "summary": "List AI observability evaluations.","title": "List evaluations","required_scopes": ["evaluation:read"],"new_mcp": true,@@ -2575,7 +2575,7 @@},"get-llm-total-costs-for-project": {"description": "Fetches the total LLM daily costs for each model for a project over a given number of days. If no number of days is provided, it defaults to 7. The results are sorted by model name. The total cost is rounded to 4 decimal places. The query is executed against the project's data warehouse. Show the results as a Markdown formatted table with the following information for each model: Model name, Total cost in USD, Each day's date, Each day's cost in USD. Write in bold the model name with the highest total cost. Properly render the markdown table in the response.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Fetches the total LLM daily costs for each model for a project over a given number of days.","title": "Get LLM costs",@@ -2890,7 +2890,7 @@},"llma-clustering-job-get": {"description": "Retrieve a specific clustering job configuration by ID. Returns the job name, analysis level (trace or generation), event filters, enabled status, and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get clustering job","title": "Get clustering job",@@ -2905,7 +2905,7 @@},"llma-clustering-job-list": {"description": "List all clustering job configurations for the current team (max 5 per team). Each job defines an analysis level (trace or generation) and event filters that scope which traces are included in clustering runs. Cluster results are stored as $ai_trace_clusters and $ai_generation_clusters events — use docs-search or execute-sql to query them.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List clustering jobs","title": "List clustering jobs",@@ -2920,7 +2920,7 @@},"llma-evaluation-config-get": {"description": "Retrieve the team's evaluation configuration, including the active LLM provider key used to run llm_judge evaluations and remaining trial credits. Call this before creating an llm_judge evaluation to verify the team has either trial credits available or an active provider key configured — without one, llm_judge runs will fail. Returns trial limits, the active provider key (or null if on trial credits), and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get evaluation config","title": "Get evaluation config",@@ -2935,7 +2935,7 @@},"llma-evaluation-config-set-active-key": {"description": "Assign the LLM provider key used to run llm_judge evaluations team-wide. Pass key_id (UUID of an existing provider key whose state is 'ok'). Switching the active key affects every llm_judge evaluation that doesn't pin its own key. The key must already be in the 'ok' state — if it isn't, ask the user to validate it from the PostHog UI before retrying.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Set active evaluation provider key","title": "Set active evaluation provider key",@@ -2950,7 +2950,7 @@},"llma-evaluation-create": {"description": "Create a new LLM evaluation. For 'llm_judge' type, provide evaluation_config.prompt and model_configuration (provider + model). For 'hog' type, provide evaluation_config.source (Hog code returning a boolean). When enabled, the evaluation runs automatically on new $ai_generation events. Results appear as '$ai_evaluation' events.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create evaluation","title": "Create evaluation",@@ -2965,7 +2965,7 @@},"llma-evaluation-delete": {"description": "Soft-delete an LLM evaluation. The evaluation stops running and is hidden from list views. Historical evaluation results ($ai_evaluation events) are preserved.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete evaluation","title": "Delete evaluation",@@ -2980,7 +2980,7 @@},"llma-evaluation-get": {"description": "Get a specific LLM evaluation by its UUID. Returns the full evaluation configuration including type, config, output type, enabled status, and model configuration.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get evaluation","title": "Get evaluation",@@ -2995,7 +2995,7 @@},"llma-evaluation-judge-models": {"description": "List the provider+model combinations supported for llm_judge evaluations. Pass a `provider` query parameter (one of openai, anthropic, gemini, openrouter, fireworks, azure_openai) and optionally `key_id` to scope the list to deployments reachable with a specific provider key (mainly relevant for azure_openai). Each entry returns the model id and whether it is available on PostHog trial credits. Call this before creating an llm_judge evaluation when the user has not specified a model, so a valid provider+model combination is chosen.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List supported llm_judge models","title": "List supported llm_judge models",@@ -3010,7 +3010,7 @@},"llma-evaluation-list": {"description": "List all LLM evaluations for the current project. Optionally filter by name/description search or enabled status. Evaluations automatically score $ai_generation events for quality, relevance, safety, and other criteria. Two types are supported: 'llm_judge' (LLM scores outputs against a prompt) and 'hog' (deterministic Hog code). Results are stored as '$ai_evaluation' events.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List evaluations","title": "List evaluations",@@ -3025,7 +3025,7 @@},"llma-evaluation-report-create": {"description": "Create an evaluation report configuration. Reports summarize recent evaluation runs (using AI)\nand are delivered to email or Slack targets. `frequency` selects the trigger mode and defaults\nto 'every_n' if omitted:\n\n- 'every_n' (count-based): a report fires once `trigger_threshold` new evaluation results have\naccumulated, but no more often than `cooldown_minutes` apart and capped by `daily_run_cap` per\nUTC day. `trigger_threshold` is required in this mode (10–10000); `cooldown_minutes` (60–1440)\nand `daily_run_cap` are optional.\n- 'scheduled' (time-based): reports fire on the cadence defined by `rrule` (RFC 5545, e.g.\n'FREQ=WEEKLY;BYDAY=MO') anchored at `starts_at` and expanded in `timezone_name` so local clock\ntimes survive DST transitions. `rrule` and `starts_at` are required in this mode;\n`timezone_name` defaults to 'UTC'.\n\n`delivery_targets` is a list of {type: 'email', value: '<addr>'} or {type: 'slack',\nintegration_id: <int>, channel: '<channel>'} entries. Slack integrations must belong to the\nsame team. Use `report_prompt_guidance` to steer the AI report's focus.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create evaluation report config","title": "Create evaluation report config",@@ -3040,7 +3040,7 @@},"llma-evaluation-report-delete": {"description": "Soft-delete an evaluation report configuration. The report stops firing and is hidden from list views; historical report runs are preserved. Equivalent to calling llma-evaluation-report-update with deleted=true — that update path is the canonical way to soft-delete and is the only option when you also want to change other fields in the same call.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete evaluation report config","title": "Delete evaluation report config",@@ -3055,7 +3055,7 @@},"llma-evaluation-report-generate": {"description": "Immediately trigger an AI-generated evaluation report for this report config. Enqueues a Temporal workflow that analyzes recent evaluation runs and delivers the report to configured targets (email or Slack). Returns 202 on success. Duplicate requests within the same minute are coalesced — only one report is generated. Rate-limited by daily_run_cap.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Trigger evaluation report generation","title": "Trigger evaluation report generation",@@ -3070,7 +3070,7 @@},"llma-evaluation-report-get": {"description": "Get a specific evaluation report configuration by UUID. Returns the full config including frequency, delivery targets, trigger thresholds, and schedule settings.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get evaluation report config","title": "Get evaluation report config",@@ -3085,7 +3085,7 @@},"llma-evaluation-report-list": {"description": "List all evaluation report configurations for the current project. Optionally filter by evaluation UUID using the 'evaluation' query param. Each report config controls how and when evaluation summary reports are generated and delivered (email or Slack).",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List evaluation report configs","title": "List evaluation report configs",@@ -3100,7 +3100,7 @@},"llma-evaluation-report-run-list": {"description": "List the run history for a specific evaluation report config. Each run record includes the generated report content, the evaluation period covered, delivery status ('pending', 'delivered', 'failed'), and any delivery error details.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List evaluation report runs","title": "List evaluation report runs",@@ -3115,7 +3115,7 @@},"llma-evaluation-report-update": {"description": "Partially update an evaluation report configuration. Toggle enabled/disabled, update delivery targets (email or Slack), or switch frequency between 'every_n' and 'scheduled'. For 'every_n' mode set trigger_threshold (10–10000) and optionally cooldown_minutes (60–1440); for 'scheduled' mode set rrule and starts_at. Set deleted=true to soft-delete the config.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update evaluation report config","title": "Update evaluation report config",@@ -3130,7 +3130,7 @@},"llma-evaluation-run": {"description": "Manually trigger an evaluation run for a specific $ai_generation event. Enqueues a Temporal workflow that asynchronously executes the evaluation and stores the result as a '$ai_evaluation' event. Returns a workflow_id and status \"started\". Pair with execute-sql to query results: SELECT * FROM events WHERE event = '$ai_evaluation'.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Run evaluation","title": "Run evaluation",@@ -3145,7 +3145,7 @@},"llma-evaluation-summary-create": {"description": "Generate an AI-powered summary of LLM evaluation results for a given evaluation config. Pass an evaluation_id and an optional filter (\"all\", \"pass\", \"fail\", or \"na\") to scope which runs are analyzed. Returns an overall assessment, pattern groups for passing, failing, and N/A runs (each with title, description, frequency, and example generation IDs), actionable recommendations, and run statistics. Optionally pass generation_ids to restrict the analysis to specific runs. Results are cached for one hour — use force_refresh to recompute. Rate-limited; requires AI data processing approval for the organization.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Summarize evaluation results","title": "Summarize evaluation results",@@ -3161,7 +3161,7 @@},"llma-evaluation-test-hog": {"description": "Test Hog evaluation source code against a sample of recent $ai_generation events without saving. Returns per-event results (pass/fail/N/A), reasoning, and input/output previews. Use this to validate Hog code before creating or updating a 'hog' type evaluation.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Test Hog evaluation code","title": "Test Hog evaluation code",@@ -3176,7 +3176,7 @@},"llma-evaluation-update": {"description": "Update an existing LLM evaluation (partial update). Toggle enabled/disabled, update the evaluation config (prompt or Hog source), or change the model configuration.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update evaluation","title": "Update evaluation",@@ -3191,7 +3191,7 @@},"llma-prompt-create": {"description": "Create a new LLM prompt for the current team. Requires a unique name and prompt content (string or JSON object).",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create prompt","title": "Create prompt",@@ -3206,7 +3206,7 @@},"llma-prompt-duplicate": {"description": "Duplicate an existing LLM prompt under a new name. Copies the latest version's content to create a new prompt at version 1. Useful for forking a prompt or as a way to rename since names are immutable after creation.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Duplicate prompt","title": "Duplicate prompt",@@ -3221,7 +3221,7 @@},"llma-prompt-get": {"description": "Get a specific LLM prompt by name. Uses the cached endpoint for fast retrieval.\nThe response always includes `outline`, a flat list of markdown headings parsed from the prompt — useful\nas a lightweight table of contents. Pass `content=none` to get the outline without the prompt payload,\nor `content=preview` for a short `prompt_preview` snippet instead of the full prompt.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get prompt","title": "Get prompt",@@ -3236,7 +3236,7 @@},"llma-prompt-list": {"description": "List all LLM prompts stored for the current team. Optionally filter by name. Returns paginated prompt summaries. By default, only prompt metadata is returned, not full prompt content. Every result also includes `outline`, a flat list of markdown headings parsed from the prompt — use it as a lightweight table of contents, and pair with `content=none` to keep responses small.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List prompts","title": "List prompts",@@ -3251,7 +3251,7 @@},"llma-prompt-update": {"description": "Publish a new version of an existing LLM prompt by name. Name is immutable after creation.\nYou can either provide the full prompt content via 'prompt', or use 'edits' for incremental\nfind/replace updates. Each edit must have 'old' (text to find, must match exactly once) and\n'new' (replacement text). Edits are applied sequentially. Only one of 'prompt' or 'edits'\nmay be provided.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update prompt","title": "Update prompt",@@ -3266,7 +3266,7 @@},"llma-review-queue-create": {"description": "Create a review queue for routing traces that still need review. Queue names must be unique among active queues in the current project.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create review queue","title": "Create review queue",@@ -3281,7 +3281,7 @@},"llma-review-queue-delete": {"description": "Delete a review queue by ID. This soft-deletes the queue and soft-deletes all active pending assignments that still belong to it.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete review queue","title": "Delete review queue",@@ -3296,7 +3296,7 @@},"llma-review-queue-get": {"description": "Retrieve a review queue by ID. Returns its name, current pending_item_count, creator, and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get review queue","title": "Get review queue",@@ -3311,7 +3311,7 @@},"llma-review-queue-item-create": {"description": "Add a trace to a review queue as a pending trace review assignment. Requires queue_id and trace_id. Fails if the trace already has an active review or is already pending in any review queue.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create review queue item","title": "Create review queue item",@@ -3326,7 +3326,7 @@},"llma-review-queue-item-delete": {"description": "Remove a pending trace review assignment from review queues. This soft-deletes the queue item so the trace can be queued again later if needed.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete review queue item","title": "Delete review queue item",@@ -3341,7 +3341,7 @@},"llma-review-queue-item-get": {"description": "Retrieve a single pending trace review assignment by ID. Returns the owning queue, trace_id, creator, and timestamps for the pending review task.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get review queue item","title": "Get review queue item",@@ -3356,7 +3356,7 @@},"llma-review-queue-item-list": {"description": "List pending trace review assignments across review queues. Supports filtering by queue_id, trace_id, trace_id__in, search, and ordering so agents can find traces that are still queued for review.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List review queue items","title": "List review queue items",@@ -3371,7 +3371,7 @@},"llma-review-queue-item-update": {"description": "Move a pending trace review assignment to a different review queue by updating queue_id. Fails if the trace has already been reviewed and can no longer stay queued.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update review queue item","title": "Update review queue item",@@ -3386,7 +3386,7 @@},"llma-review-queue-list": {"description": "List review queues used for trace reviews. Returns queue names, pending_item_count, creator info, and timestamps. Supports queue-name search and ordering.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List review queues","title": "List review queues",@@ -3401,7 +3401,7 @@},"llma-review-queue-update": {"description": "Rename an existing review queue. The updated name must stay unique among active queues in the project.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update review queue","title": "Update review queue",@@ -3416,7 +3416,7 @@},"llma-score-definition-create": {"description": "Create a new scorer (a.k.a. score definition) used by trace reviews. Pass `name`, `kind` (`categorical`, `numeric`, or `boolean`), and `config` matching the kind. `kind` is immutable after creation. Categorical scorers need an `options` array with unique keys and optional `selection_mode`/`min_selections`/`max_selections` (for `multiple`). Numeric scorers can set `min`, `max`, `step`. Boolean scorers can override `true_label`/`false_label`. Scorers always start active (not archived) and at version 1.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create scorer","title": "Create scorer",@@ -3431,7 +3431,7 @@},"llma-score-definition-get": {"description": "Retrieve a scorer by ID, including its current immutable `config` payload, `current_version` number, kind, archived state, and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get scorer","title": "Get scorer",@@ -3446,7 +3446,7 @@},"llma-score-definition-list": {"description": "List active scorers for the current project. By default only active rows are returned — pass `archived=true` to see only archived scorers. Other filters: `kind` (`categorical`, `numeric`, `boolean`) and `search` over name/description. Returns metadata plus the current config snapshot.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List scorers","title": "List scorers",@@ -3461,7 +3461,7 @@},"llma-score-definition-new-version": {"description": "Publish a new immutable `config` version for an existing scorer. Use this whenever the scoring rules change (add/remove categorical options, tweak numeric bounds, rename boolean labels). Existing trace reviews keep their snapshot of the previous version, so historical scores remain stable. The `config` shape must match the scorer's `kind`. Each call increments `current_version` by one. Pass `base_version` (the version number you observed before bumping) for optimistic concurrency — the request returns 409 if another writer already advanced the scorer.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Bump scorer to a new version","title": "Bump scorer to a new version",@@ -3476,7 +3476,7 @@},"llma-score-definition-update": {"description": "Update a scorer's metadata: rename via `name`, edit `description`, or toggle `archived` to hide (`true`) or restore (`false`). Archiving is reversible — there is no destroy endpoint. To change the scoring rules instead, call `llma-score-definition-new-version`. `kind` cannot be changed.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update scorer metadata","title": "Update scorer metadata",@@ -3491,7 +3491,7 @@},"llma-sentiment-create": {"description": "Classify sentiment of LLM trace or generation user messages as positive, neutral, or negative. Pass a list of trace or generation IDs and an analysis_level (\"trace\" or \"generation\"). Returns per-ID sentiment labels with confidence scores and per-message breakdowns. Results are cached — use force_refresh to recompute. Rate-limited.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Analyze sentiment","title": "Analyze sentiment",@@ -3506,7 +3506,7 @@},"llma-skill-archive": {"description": "Archive every active version of an agent skill by name. This hides the skill from default lists and cannot be undone. Use llma-skill-get first if you need to inspect the skill before archiving it.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Archive skill","title": "Archive skill",@@ -3521,7 +3521,7 @@},"llma-skill-create": {"description": "Create a new agent skill. Requires a unique kebab-case name (lowercase letters, numbers, hyphens), a description explaining when to use it, and the skill body (SKILL.md instruction content as markdown). Optionally include license, compatibility, allowed_tools, metadata, and bundled files.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create skill","title": "Create skill",@@ -3536,7 +3536,7 @@},"llma-skill-duplicate": {"description": "Duplicate an existing agent skill under a new name. Copies the latest version's content, metadata, and bundled files to create a new skill at version 1.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Duplicate skill","title": "Duplicate skill",@@ -3551,7 +3551,7 @@},"llma-skill-file-create": {"description": "Add a new bundled file to an agent skill. Fails with 409 if a file at the given path already exists — use llma-skill-update with files to replace, or llma-skill-file-delete followed by llma-skill-file-create to overwrite. Publishes a new skill version and returns the updated skill (read its 'version' field to chain further edits via base_version). Supply base_version for optimistic concurrency.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create skill file","title": "Create skill file",@@ -3566,7 +3566,7 @@},"llma-skill-file-delete": {"description": "Remove a bundled file from an agent skill by path. Fails with 404 if the file is not in the latest version. Publishes a new skill version and returns 200 with the updated skill body (not 204) — read its 'version' field to chain further edits via base_version. Supply base_version for optimistic concurrency.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete skill file","title": "Delete skill file",@@ -3581,7 +3581,7 @@},"llma-skill-file-get": {"description": "Fetch a single bundled file from an agent skill by its path. Use the file manifest from llma-skill-get to discover available files. Supports progressive disclosure — only load files when needed rather than fetching all content upfront.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get skill file","title": "Get skill file",@@ -3596,7 +3596,7 @@},"llma-skill-file-rename": {"description": "Rename a bundled file within an agent skill. Fails with 404 if old_path is not in the latest version, and with 409 if new_path already exists. Use this to move a file without rewriting its content. Publishes a new skill version and returns the updated skill (read its 'version' field to chain further edits via base_version). Supply base_version for optimistic concurrency.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Rename skill file","title": "Rename skill file",@@ -3611,7 +3611,7 @@},"llma-skill-get": {"description": "Get a specific agent skill by name, including its full body content, metadata, and file manifest. Follows the Agent Skills specification (agentskills.io).",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get skill","title": "Get skill",@@ -3626,7 +3626,7 @@},"llma-skill-list": {"description": "List all agent skills stored for the current team. Returns skill names and descriptions for discovery — use descriptions to determine which skill to fetch for a given task. Does not return skill body content (use llma-skill-get to fetch full content).",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List skills","title": "List skills",@@ -3641,7 +3641,7 @@},"llma-skill-update": {"description": "Publish a new version of an existing agent skill by name. Any field not provided\nis carried forward from the current latest version. Requires base_version for\noptimistic concurrency.\n\nFor the body, you can either provide the full content via 'body', or use 'edits'\nfor incremental find/replace updates. Each edit must have 'old' (text to find,\nmust match exactly once) and 'new' (replacement text). Edits are applied\nsequentially. Only one of 'body' or 'edits' may be provided.\n\nFor file changes, prefer the per-file tools rather than passing a 'files' list:\nllma-skill-file-create / llma-skill-file-delete / llma-skill-file-rename handle\nadd/remove/rename one file at a time and return the updated skill (including the\nbumped version) so callers can chain further edits via base_version.\n\nFor per-file content updates, use 'file_edits' to apply find/replace updates to\nindividual files without resending the full file set — each entry targets one\nexisting file by path. Non-targeted files carry forward unchanged. 'file_edits'\ncannot add, remove, or rename files; use the per-file tools or 'files' (replace-all)\nfor that. 'files' and 'file_edits' are mutually exclusive.\n\nPassing a 'files' list here replaces ALL files and risks data loss if any file is\nomitted — use it only when you intentionally want to replace the entire bundle.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update skill","title": "Update skill",@@ -3656,7 +3656,7 @@},"llma-summarization-create": {"description": "Generate an AI-powered summary of an LLM trace or generation. Pass a trace_id or generation_id with a date_from — the backend fetches the data and returns a structured summary with title, flow diagram, summary bullets, and interesting notes. Results are cached. Use mode \"minimal\" (default) for 3-5 points or \"detailed\" for 5-10 points. Rate-limited; requires AI data processing approval for the organization.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Summarize trace or generation","title": "Summarize trace or generation",@@ -3671,8 +3671,8 @@"requires_ai_consent": true},"llma-tagger-create": {- "description": "Create an LLM analytics tagger that automatically adds custom tags to $ai_generation events. For tagger_type \"llm\", provide tagger_config.prompt plus tagger_config.tags (each with name and optional description); optionally set min_tags and max_tags. For tagger_type \"hog\", provide tagger_config.source Hog code that returns a tag name string, a list of tag name strings, or null; optionally provide tagger_config.tags as a whitelist. Use enabled=false while drafting, then update the tagger from the UI.",- "category": "LLM analytics",+ "description": "Create an AI observability tagger that automatically adds custom tags to $ai_generation events. For tagger_type \"llm\", provide tagger_config.prompt plus tagger_config.tags (each with name and optional description); optionally set min_tags and max_tags. For tagger_type \"hog\", provide tagger_config.source Hog code that returns a tag name string, a list of tag name strings, or null; optionally provide tagger_config.tags as a whitelist. Use enabled=false while drafting, then update the tagger from the UI.",+ "category": "AI observability","feature": "llm_analytics","summary": "Create tagger","title": "Create tagger",@@ -3686,8 +3686,8 @@}},"llma-tagger-list": {- "description": "List LLM analytics taggers for the current project. Supports filtering by enabled status, id__in, search, and ordering. Returns each tagger's name, description, enabled state, type, configuration, conditions, model configuration, creator, and timestamps.",- "category": "LLM analytics",+ "description": "List AI observability taggers for the current project. Supports filtering by enabled status, id__in, search, and ordering. Returns each tagger's name, description, enabled state, type, configuration, conditions, model configuration, creator, and timestamps.",+ "category": "AI observability","feature": "llm_analytics","summary": "List taggers","title": "List taggers",@@ -3702,7 +3702,7 @@},"llma-tagger-test-hog": {"description": "Test Hog tagger source code against recent $ai_generation events without saving a tagger. The source should return a tag name string, a list of tag name strings, or null. Optionally pass tags as a whitelist; returned tags outside the whitelist are filtered out. Results include input/output previews, selected tags, stdout reasoning, and any execution error for each sampled event.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Test Hog tagger code","title": "Test Hog tagger code",@@ -3717,7 +3717,7 @@},"llma-trace-review-create": {"description": "Save a trace review. Supports an optional comment, an optional scores array, and an optional queue_id to clear a matching pending review-queue item after the review is saved.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Create trace review","title": "Create trace review",@@ -3732,7 +3732,7 @@},"llma-trace-review-delete": {"description": "Delete a trace review by ID. This soft-deletes the review so the same trace can be reviewed again later if needed.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete trace review","title": "Delete trace review",@@ -3747,7 +3747,7 @@},"llma-trace-review-get": {"description": "Retrieve a saved trace review by ID. Returns the trace_id, comment, scores, creator, reviewer, and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Get trace review","title": "Get trace review",@@ -3762,7 +3762,7 @@},"llma-trace-review-list": {"description": "List saved trace reviews. Supports filtering by trace_id, definition_id, search, and ordering. Returns comments, scores, reviewers, and timestamps.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "List trace reviews","title": "List trace reviews",@@ -3777,7 +3777,7 @@},"llma-trace-review-update": {"description": "Update a trace review. Pass comment and/or the full desired scores array. You can also pass queue_id to clear only a matching pending queue item after the review is saved.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Update trace review","title": "Update trace review",diff --git a/services/mcp/schema/tool-definitions.json b/services/mcp/schema/tool-definitions.jsonindex b1923fc56e83..cdd914271536 100644--- a/services/mcp/schema/tool-definitions.json+++ b/services/mcp/schema/tool-definitions.json@@ -123,10 +123,10 @@}},"evaluations-get": {- "description": "List LLM analytics evaluations for the project. Evaluations automatically score AI generations for quality, relevance, safety, and other criteria. Supports optional search by name/description and filtering by enabled status. Evaluation results are stored as '$ai_evaluation' events — to query results, use the execute-sql or query-run tool with a HogQL query filtering on event = '$ai_evaluation'. Key properties: $ai_evaluation_id (evaluation UUID), $ai_evaluation_name, $ai_target_event_id (generation event UUID), $ai_trace_id, $ai_evaluation_result (boolean pass/fail), $ai_evaluation_reasoning (text), $ai_evaluation_applicable (boolean, false = N/A).",- "category": "LLM analytics",+ "description": "List AI observability evaluations for the project. Evaluations automatically score AI generations for quality, relevance, safety, and other criteria. Supports optional search by name/description and filtering by enabled status. Evaluation results are stored as '$ai_evaluation' events — to query results, use the execute-sql or query-run tool with a HogQL query filtering on event = '$ai_evaluation'. Key properties: $ai_evaluation_id (evaluation UUID), $ai_evaluation_name, $ai_target_event_id (generation event UUID), $ai_trace_id, $ai_evaluation_result (boolean pass/fail), $ai_evaluation_reasoning (text), $ai_evaluation_applicable (boolean, false = N/A).",+ "category": "AI observability","feature": "llm_analytics",- "summary": "List LLM analytics evaluations.",+ "summary": "List AI observability evaluations.","title": "List evaluations","required_scopes": ["evaluation:read"],"new_mcp": true,@@ -138,8 +138,8 @@}},"evaluation-get": {- "description": "Get a specific LLM analytics evaluation by its UUID. Returns full details including name, type (llm_judge or hog), configuration, conditions, and enabled status.",- "category": "LLM analytics",+ "description": "Get a specific AI observability evaluation by its UUID. Returns full details including name, type (llm_judge or hog), configuration, conditions, and enabled status.",+ "category": "AI observability","feature": "llm_analytics","summary": "Get a specific evaluation by ID.","title": "Get evaluation",@@ -153,8 +153,8 @@}},"evaluation-create": {- "description": "Create a new LLM analytics evaluation. Two types are supported: 'llm_judge' uses an LLM to score generations against a prompt you define (for subjective checks like tone, helpfulness, hallucination detection), and 'hog' runs deterministic code against each generation (for rule-based checks like format validation, keyword detection, length limits). For llm_judge evaluations, provide a prompt in evaluation_config and a model_configuration. For hog evaluations, provide source code in evaluation_config.",- "category": "LLM analytics",+ "description": "Create a new AI observability evaluation. Two types are supported: 'llm_judge' uses an LLM to score generations against a prompt you define (for subjective checks like tone, helpfulness, hallucination detection), and 'hog' runs deterministic code against each generation (for rule-based checks like format validation, keyword detection, length limits). For llm_judge evaluations, provide a prompt in evaluation_config and a model_configuration. For hog evaluations, provide source code in evaluation_config.",+ "category": "AI observability","feature": "llm_analytics","summary": "Create a new evaluation.","title": "Create evaluation",@@ -168,8 +168,8 @@}},"evaluation-update": {- "description": "Update an existing LLM analytics evaluation. You can change the name, description, enabled status, evaluation config (prompt or source code), and output config. Use this to enable/disable evaluations or modify their scoring logic.",- "category": "LLM analytics",+ "description": "Update an existing AI observability evaluation. You can change the name, description, enabled status, evaluation config (prompt or source code), and output config. Use this to enable/disable evaluations or modify their scoring logic.",+ "category": "AI observability","feature": "llm_analytics","summary": "Update an evaluation.","title": "Update evaluation",@@ -183,8 +183,8 @@}},"evaluation-delete": {- "description": "Delete an LLM analytics evaluation (soft delete). The evaluation will be marked as deleted and will no longer run.",- "category": "LLM analytics",+ "description": "Delete an AI observability evaluation (soft delete). The evaluation will be marked as deleted and will no longer run.",+ "category": "AI observability","feature": "llm_analytics","summary": "Delete an evaluation.","title": "Delete evaluation",@@ -199,7 +199,7 @@},"evaluation-run": {"description": "Trigger an evaluation run on a specific $ai_generation event. This executes the evaluation (either LLM judge or Hog code) against the target event asynchronously via a background workflow. The run is async — it returns a workflow_id and status 'started'. Results are written as '$ai_evaluation' events once complete. To check results after triggering a run, query events with: SELECT properties.$ai_evaluation_result as result, properties.$ai_evaluation_reasoning as reasoning FROM events WHERE event = '$ai_evaluation' AND properties.$ai_evaluation_id = '<evaluation_uuid>' AND properties.$ai_target_event_id = '<generation_event_uuid>' ORDER BY timestamp DESC LIMIT 1.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Run an evaluation on a specific event.","title": "Run evaluation",@@ -214,7 +214,7 @@},"evaluation-test-hog": {"description": "Test Hog evaluation code against recent $ai_generation events without persisting results. Compiles the provided Hog source code and runs it against a sample of recent events (up to 10 from the last 7 days). Returns per-event results with input/output previews, pass/fail verdicts, and any errors. Use this to validate Hog evaluation logic before enabling it.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Dry-run Hog evaluation code against sample events.","title": "Test Hog evaluation",@@ -229,7 +229,7 @@},"get-llm-total-costs-for-project": {"description": "Fetches the total LLM daily costs for each model for a project over a given number of days. If no number of days is provided, it defaults to 7. The results are sorted by model name. The total cost is rounded to 4 decimal places. The query is executed against the project's data warehouse. Show the results as a Markdown formatted table with the following information for each model: Model name, Total cost in USD, Each day's date, Each day's cost in USD. Write in bold the model name with the highest total cost. Properly render the markdown table in the response.",- "category": "LLM analytics",+ "category": "AI observability","feature": "llm_analytics","summary": "Fetches the total LLM daily costs for each model for a project over a given number of days.","title": "Get LLM costs",diff --git a/services/mcp/src/lib/posthog/analytics.ts b/services/mcp/src/lib/posthog/analytics.tsindex cb13114bfa7a..07a89377fdb9 100644--- a/services/mcp/src/lib/posthog/analytics.ts+++ b/services/mcp/src/lib/posthog/analytics.ts@@ -68,7 +68,7 @@ export type IdentityProvider = {getMcpMode: () => Promise<string | undefined>// PostHog-side session UUID. Resolved from the wrapper-app `?sessionId=`// query hint via `SessionManager.getSessionUuid()` and used as `$session_id`- // / `$ai_session_id` to drive Session Replay and LLM Analytics grouping.+ // / `$ai_session_id` to drive Session Replay and AI observability grouping.// Only set when a wrapping consumer app supplied the hint.getSessionUuid: () => Promise<string | undefined>// Streamable-HTTP transport session id from the inbound `Mcp-Session-Id`diff --git a/services/mcp/src/mcp.ts b/services/mcp/src/mcp.tsindex 03fd969518d6..e273ee40ef57 100644--- a/services/mcp/src/mcp.ts+++ b/services/mcp/src/mcp.ts@@ -47,7 +47,7 @@ export type RequestProperties = {apiToken: string// Wrapper-app-provided hint from `?sessionId=` query param. Resolved to a// UUID via `SessionManager.getSessionUuid()` and emitted as `$session_id`- // for Session Replay / LLM Analytics grouping. Only set by wrapping+ // for Session Replay / AI observability grouping. Only set by wrapping// consumer apps (setup wizard, sandbox, etc.).sessionId?: string// Streamable-HTTP transport session id (`Mcp-Session-Id` HTTP header).diff --git a/services/mcp/src/tools/README.md b/services/mcp/src/tools/README.mdindex af0d79483814..2ac76d9fc8e0 100644--- a/services/mcp/src/tools/README.md+++ b/services/mcp/src/tools/README.md@@ -122,7 +122,7 @@ Add a clear, actionable description for your tool, assign it to a feature, speci- `dashboards` - [Dashboard creation and management](https://posthog.com/docs/product-analytics/dashboards)- `insights` - [Analytics insights and SQL queries](https://posthog.com/docs/product-analytics/insights)- `experiments` - [A/B testing experiments](https://posthog.com/docs/experiments)-- `llm-analytics` - [LLM usage and cost tracking](https://posthog.com/docs/llm-analytics)+- `llm-analytics` - [LLM usage and cost tracking](https://posthog.com/docs/ai-observability)- `docs` - PostHog documentation searchIf your tool doesn't fit any of these features, you can create a new feature category yourself.diff --git a/services/mcp/src/tools/index.ts b/services/mcp/src/tools/index.tsindex 9ef522b2844c..be61371416af 100644--- a/services/mcp/src/tools/index.ts+++ b/services/mcp/src/tools/index.ts@@ -11,7 +11,7 @@ import submitFeedback from './feedback/submit'import { GENERATED_TOOL_MAP } from './generated'// Insightsimport queryInsight from './insights/query'-// LLM Analytics+// AI observabilityimport getLLMCosts from './llmAnalytics/getLLMCosts'// Organizationsimport setActiveOrganization from './organizations/setActive'@@ -73,7 +73,7 @@ export const TOOL_MAP: Record<string, () => ToolBase<ZodObjectAny>> = {'query-validate': queryValidate,'hogql-schema': hogqlSchema,- // LLM Analytics+ // AI observability'get-llm-total-costs-for-project': getLLMCosts,// Searchdiff --git a/services/mcp/tests/tools/llmAnalytics.integration.test.ts b/services/mcp/tests/tools/llmAnalytics.integration.test.tsindex 41122b9a2704..e3229b8d43bf 100644--- a/services/mcp/tests/tools/llmAnalytics.integration.test.ts+++ b/services/mcp/tests/tools/llmAnalytics.integration.test.ts@@ -14,7 +14,7 @@ import {import getLLMCostsTool from '@/tools/llmAnalytics/getLLMCosts'import type { Context } from '@/tools/types'-describe('LLM Analytics', { concurrent: false }, () => {+describe('AI observability', { concurrent: false }, () => {let context: Contextconst createdResources: CreatedResources = {featureFlags: [],@@ -69,7 +69,7 @@ describe('LLM Analytics', { concurrent: false }, () => {})})- describe('LLM Analytics workflow', () => {+ describe('AI observability workflow', () => {it('should support getting costs for different time periods', async () => {const costsTool = getLLMCostsTool()diff --git a/services/mcp/tests/unit/instructions.test.ts b/services/mcp/tests/unit/instructions.test.tsindex 85165b135a56..e699525a939a 100644--- a/services/mcp/tests/unit/instructions.test.ts+++ b/services/mcp/tests/unit/instructions.test.ts@@ -83,9 +83,9 @@ describe('buildToolDomainsBlock', () => {it('should collapse plural/singular duplicates', () => {const tools = [- { name: 'evaluation-create', category: 'LLM analytics' },- { name: 'evaluations-get', category: 'LLM analytics' },- { name: 'evaluation-delete', category: 'LLM analytics' },+ { name: 'evaluation-create', category: 'AI observability' },+ { name: 'evaluations-get', category: 'AI observability' },+ { name: 'evaluation-delete', category: 'AI observability' },]const result = buildToolDomainsBlock(tools)expect(result).toContain('- evaluation')diff --git a/services/mcp/tests/unit/tool-filtering.test.ts b/services/mcp/tests/unit/tool-filtering.test.tsindex 6a5850e71d0b..f885e3a8fea3 100644--- a/services/mcp/tests/unit/tool-filtering.test.ts+++ b/services/mcp/tests/unit/tool-filtering.test.ts@@ -77,12 +77,12 @@ describe('Tool Filtering - Features', () => {},{features: ['llm_analytics'],- description: 'LLM analytics tools (underscore)',+ description: 'AI observability tools (underscore)',expectedTools: ['get-llm-total-costs-for-project'],},{features: ['llm-analytics'],- description: 'LLM analytics tools (hyphen, normalized)',+ description: 'AI observability tools (hyphen, normalized)',expectedTools: ['get-llm-total-costs-for-project'],},{