We raised $4M to scale our Agent-Led Growth Platform:Read more

See which AI agents visit your website and docs

Track agent traffic in real-time and attribute signups to AI-sourced developers. Google Analytics can't see agents, but we can.

Works with your existing stack

  • Vercel
  • Cloudflare
  • AWS
  • Netlify
  • Next.js
  • +any Node.js
  • Real-time
    agent detection
  • 15+
    agents identified
  • 5 min
    setup time

The traffic you can't see

AI coding agents don't load browsers. They don't execute JavaScript. That means Google Analytics, Amplitude, and Mixpanel are blind to a growing percentage of your developer traffic.

When Claude Code visits your docs to help a developer integrate your API, your analytics dashboard shows nothing. But that agent visit could lead to a signup worth thousands.

Lightsage detects agent traffic at the middleware level and connects it to downstream conversions, so you can finally see the full picture.

Complete agent visibility

Track, analyze, and attribute every agent interaction.

  • Real-Time Agent Detection

    See which AI agents visit your website and docs as it happens. Claude Code, Cursor, ChatGPT, and more are detected automatically without impacting performance.

  • Session Tracking

    Follow the complete journey: which pages agents visit, how long they stay, and what actions they take before developers sign up.

  • Revenue Attribution

    Connect agent visits to actual signups, API key generation, and revenue. Know which agents drive real business outcomes.

  • Traffic Trends

    Track agent traffic over time. See weekly trends, identify spikes, and correlate with content or product changes.

  • Page Performance

    Know which pages agents visit most. Optimize high-traffic pages and fix underperforming documentation.

  • One-Line Install

    Lightweight middleware that takes 5 minutes to set up. Works with Vercel, Cloudflare, Mintlify, and any Node.js server.

Track AI agents visits to your website and docs

Add one line of middleware to see which AI coding agents visit your website and docs. Works with Next.js, Vercel, Cloudflare, and Express.

  1. Connect your brand
  2. Monitor AI visibility
  3. Act on opportunities
TypeScriptPythoncURL
Copy
// middleware.ts
import { withAgentTracking } from '@lightsage/agent-tracker/next';
export default withAgentTracking({
apiKey: process.env.LIGHTSAGE_API_KEY
});
export const config = {
matcher: ['/((?!api|_next|admin).*)'],
};
// Detects Claude Code, OpenCode, ChatGPT, and 5+ agents
// visiting your website and docs in real-time
eX+

Start tracking agent traffic today

Set up in 5 minutes. See which agents visit your docs and connect that traffic to revenue.