Demos & examples

Explore real-world examples of LLM analytics in action. These projects demonstrate different ways to integrate PostHog's LLM analytics features.

Example projects

LLM Analytics Apps

Interactive CLI showcasing PostHog LLM analytics across 13+ AI providers (Anthropic, OpenAI, Google, LangChain, and more). Great for understanding how different SDKs integrate with PostHog. We use this mainly to help with development, debugging, and reproduction of user issues.

GitHub Standup Agent

Multi-agent standup summarizer using OpenAI Agents SDK. Demonstrates automatic agent tracing with posthog.ai.openai_agents.instrument().

Andy's Daily Factoids

Full-stack AI factoid generator demonstrating LangChain callbacks, multi-platform observability, cost tracking, and real-time streaming. Also uses OpenRouter for LLM calls.

Repo Stalker

GitHub PR/issue AI assistant with custom span tracking for different interaction types (chat, summaries, analysis). Built with Lovable using manual capture.

Plot Agent

AI data visualization assistant using LangGraph. Shows PostHog callback integration with conversation session tracking.

Anomaly Agent

LLM-powered anomaly detection for time series data using LangGraph. Demonstrates multi-step AI workflows with verification.

HogFlix (PostHog Demo 3000)

Full PostHog feature showcase including LLM chat with both LangChain and direct OpenAI integration patterns.

Emoji Hero

Chat-powered custom emoji generator for Slack. Users describe what emoji they want, and a Pydantic AI agent searches for images, applies customizations (text overlays, cropping), and optimizes them for Slack. Uses OpenRouter as the LLM provider with OpenTelemetry traces sent to PostHog, and links frontend/backend sessions via posthog-js.

Hot Hog on a Bicycle

Human vs AI hot dog SVG prompt battle built for AI Engineer Europe. Demonstrates end-to-end LLM analytics instrumentation including traces, spans, prompt management, evaluations, and linked session replay.

Anomstack

Anomaly detection system with LLM-powered analysis. Traditional app with product analytics and agent tracing using LLM analytics.

Add your project

Have a project using PostHog LLM analytics? We'd love to feature it here. Open a PR to add it to this page.

Community questions

Was this page useful?

Questions about this page? or post a community question.