demo-agent-analytics-server

Welcome toAgent Analytics Setup

A drop-in Next.js agent backend any project can call to generate Amplitude Agent Analytics events stitched to the active Session Replay. Pick how you want to wire it up.

Streaming /api/chatSession Replay stitchingOpenAI · @amplitude/ai

Already have a setup? Endpoint lives at POST /api/chat — see either guide for the request schema.