NewIntroducing Agent Payments Arena
Lightsage

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

VercelVercel
CloudflareCloudflare
AWSAWS
NetlifyNetlify
Next.jsNext.js
+any Node.js
Stripe
Stripe
Export
Last 30 Days
AI Agent Visits Over Time

Daily AI coding and browsing agent traffic

AI Agent Visits
1,247
↑ 32%
Total Visits
8,429
Agent Share
14.8%
Unique Agents
7
100755025Aug 1Aug 8Aug 15Aug 22Aug 29
Agent Breakdown

Distribution of AI agent visits to your site

55%ChatGPT
ChatGPT
Claude Code
Codex
Other
Top Agents
AGENTVISITS
1.ChatGPTChatGPT686
2.Claude CodeClaude Code212
3.CodexCodex150
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.

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
Next.jsVercelCloudflareeXAWS+

Start tracking agent traffic today

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