npm
@vercel/detect-agent
Observation pool · not formally ranked
This project does not currently meet the main index requirement of two current dimensions across two source types.
— Not ranked
Observed adoptionCurrent · 2026-09-12 80
MomentumMissing —
AttentionMissing —
Signal confidence Based on how many independent score dimensions currently have data.
Limited1/3 · 1 source types
About
A lightweight utility for detecting if code is being executed by an AI agent or automated development environment.
This package can detect the following AI agents and development environments:
We're promoting AIAGENT as a universal environment variable standard for AI development tools. This allows any tool or library to easily detect when it's running in an AI-driven environment.
Set the AIAGENT environment variable to identify your tool:
We welcome contributions! Please see our contributing guidelines.
Across sources
2.7M Downloads / week
- Downloads / week 2.7M