Vouched KYA Releases Next.js Tutorial for Detecting AI Agents
Understand this story
Vouched has released a tutorial explaining how to integrate Vouched KYA's Detect into a Next.js application to identify whether requests come from humans, AI agents, or bots. According to the tutorial, developers integrate via the npm package @kya-os/checkpoint-nextjs and call a single function in proxy.ts to classify each request as human, ai_agent, bot, or incomplete_data, adding only a few milliseconds of latency per request. The tutorial's requirements are a Next.js 16 application (App Router or Pages Router) and Node.js 22.12 or higher. Vouched says Detect has a free tier with no credit card required; only paid plans add Enforce and Govern, which apply policies to agents and verify their authorizers.
AI overview based on source reports · Updated 23 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIDetecting AI Agents in Next.js with Vouched KYA
This post shows how to add Vouched KYA's Detect to a Next.js 16 app by installing @kya-os/checkpoint-nextjs and calling withCheckpoint in proxy.ts with an API key from .env.local, classifying each request as human, ai_agent, bot or incomplete_data in observe mode. It demonstrates simulating ChatGPT and GPTBot user agents with curl, reading x-checkpoint response headers, logging results via onResult, and unit testing the proxy with Vitest; Detect has a free tier with no card required.
Activity for this story
- Current comparable activity
- 5
- Peak comparable activity
- 10Nov 21 10:00
- Change in the past 24 hours
- –
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.