aiagent.club
English
npm 包

@vercel/detect-agent

更新于 2026-09-12 查看源 ↗

在全部 npm 包 中按周下载量排名第 13(共 203)

2.7M 周下载量

Detect if code is running in an AI agent or automated development environment

项目介绍

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.

摘自 www.npmjs.com/package/@vercel/detect-agent

最新指标

周下载量 2.7M 2026-09-12