Demos & examples
Contents
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: PostHog/llm-analytics-apps
GitHub Standup Agent
Multi-agent standup summarizer using OpenAI Agents SDK. Demonstrates automatic agent tracing with posthog.ai.openai_agents.instrument().
- GitHub: PostHog/github-standup-agent
- Integrations: OpenAI Agents SDK
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.
- GitHub: andrewm4894/andys-daily-factoids
- Integrations: LangChain, OpenRouter
Repo Stalker
GitHub PR/issue AI assistant with custom span tracking for different interaction types (chat, summaries, analysis). Built with Lovable using manual capture.
- GitHub: andrewm4894/repo-stalker
- Integrations: Manual capture
Plot Agent
AI data visualization assistant using LangGraph. Shows PostHog callback integration with conversation session tracking.
- GitHub: andrewm4894/plot-agent
- Integrations: LangChain, LangGraph
Anomaly Agent
LLM-powered anomaly detection for time series data using LangGraph. Demonstrates multi-step AI workflows with verification.
- GitHub: andrewm4894/anomaly-agent
- Integrations: LangChain, LangGraph
HogFlix (PostHog Demo 3000)
Full PostHog feature showcase including LLM chat with both LangChain and direct OpenAI integration patterns.
- GitHub: PostHog/posthog-demo-3000
- Integrations: LangChain, OpenAI
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.
- GitHub: andrewm4894/emoji-hero
- Live: emoji-hero.com
- Integrations: Pydantic AI, OpenRouter
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.
- GitHub: andrewm4894/hot-hog-bicycle
- Live: hot-hog-app-production.up.railway.app
- Integrations: OpenRouter, OpenAI
Anomstack
Anomaly detection system with LLM-powered analysis. Traditional app with product analytics and agent tracing using LLM analytics.
- GitHub: andrewm4894/anomstack
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.