: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
import * as robotPng from '@posthog/brand/hoggies/png/robot'
import { IconLlmAnalytics } from '@posthog/icons'
import { pngHoggie } from 'lib/brand/hoggies'
import type { SceneProductEmptyState } from 'lib/components/ProductEmptyState/types'
import { ProductKey } from '~/queries/schema/schema-general'
import { aiObservabilitySharedLogic } from '../aiObservabilitySharedLogic'
import { AIObservabilityTracePreview } from './AIObservabilityTracePreview'
const HedgehogRobot = pngHoggie(robotPng)
export const aiObservabilityEmptyState: SceneProductEmptyState = {
statusLogic: aiObservabilitySharedLogic,
config: {
productKey: ProductKey.AI_OBSERVABILITY,
productName: 'AI observability',
icon: <IconLlmAnalytics />,
accentColor: 'var(--color-product-llm-analytics-light)',
accentColorDark: 'var(--color-product-llm-analytics-dark)',
hedgehog: HedgehogRobot,
text: {
'needs-setup': {
headline: 'See how your AI is doing in the wild',
lead: "Capture LLM sessions in full detail. See how it's being used, catch errors and regressions in real-time, and get alerted when they happen.",
hint: 'Point the wizard at your project root. Setup costs are on us, no API key needed:',
},
},
wizard: { slug: 'ai-observability', pinProjectId: true },
docsUrl: 'https://posthog.com/docs/ai-observability',
manualSetupUrl: 'https://posthog.com/docs/ai-observability/installation',
previewLabel: 'Sessions, once connected',
Preview: AIObservabilityTracePreview,
},
}