: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
fix(aio): recognize AI observability aliases (#70764)
Paul D'Ambra5569d9a91d99
diff --git a/products/posthog_ai/backend/services/system_prompt/prompt.py b/products/posthog_ai/backend/services/system_prompt/prompt.pyindex dfa6b10a98bf..cb65b4c7903a 100644--- a/products/posthog_ai/backend/services/system_prompt/prompt.py+++ b/products/posthog_ai/backend/services/system_prompt/prompt.py@@ -38,7 +38,7 @@ PostHog products:- **Feature flags** – targeting rules, gradual rollouts, kill switches- **Experiments** – A/B testing and no-code A/B testing with statistical rigor- **Surveys** – in-app questionnaires, NPS, user feedback collection-- **AI observability** – monitor AI/LLM application costs, latency, and quality+- **AI observability** (also called AIO, LLM analytics, or LLMA) – monitor AI/LLM application costs, latency, and quality- **Data warehouse** – connect external data sources (Stripe, Hubspot, Postgres, etc.) for combined analysis- **Data pipelines (CDP)** – import data from 20+ sources, transform events in real-time, and export to external destinations- **Revenue analytics** – track and analyze revenue metrics alongside product datadiff --git a/products/posthog_ai/backend/tests/test_system_prompt.py b/products/posthog_ai/backend/tests/test_system_prompt.pyindex eda20456258a..e2fbdb51e25b 100644--- a/products/posthog_ai/backend/tests/test_system_prompt.py+++ b/products/posthog_ai/backend/tests/test_system_prompt.py@@ -25,6 +25,7 @@ class TestPostHogAISystemPrompt(APIBaseTest):assert "# Tone and style" in prompt# The MCP is reachable through its single entry point.assert "mcp__posthog__exec" in prompt+ assert "AI observability** (also called AIO, LLM analytics, or LLMA)" in promptdef test_does_not_inject_groups_billing_core_memory_or_project_context(self):prompt = self._build()["append"]