aiagent.club
中文
npm

@vercel/detect-agent

#73 of 964 in the AI Agent Index

39 Score
Real usage
87
Momentum
Attention

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.3M Downloads / week
  • Downloads / week 2.3M