Package
@vercel/detect-agent
Detect if code is running in an AI agent or automated development environment
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 2.8m
- +414% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 month ago
- v1.2.5
- GitHub stars
- 16.3k
- 3.8k forks
- Open issues / PRs
- 359 / 499
- Contributors
- -
- Commits, last 52 weeks
- 1,935
Downloads
Last week 2026-09-15 to 2026-09-21
2,774,104 downloads last week, 12,858,792 in the last month. The 12-month change of +414% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 811 in total
- Latest version
- 1.2.5, 11 Aug 20261 month ago
- First published
- 13 Aug 2025
- Last push to GitHub
- 23 Sept 20261 day before the snapshot
- Repository archived
- No
- Open issues
- 359
- Open pull requests
- 499
- Commits, last 52 weeks
- 1,935
- Dependents on npm
- 46
Major versions
- v1 first release 1.0.0, 22 Sept 2025
- v0 first release 0.1.0, 13 Aug 2025
Recent releases
| Version | Published |
|---|---|
| 1.2.5 | 11 Aug 2026 |
| 1.2.4 | 3 Aug 2026 |
| 1.2.3 | 17 Apr 2026 |
| 1.2.2 | 10 Apr 2026 |
| 1.2.1 | 11 Mar 2026 |
| 1.2.0 | 11 Mar 2026 |
| 1.1.1 | 9 Mar 2026 |
| 1.1.0 | 23 Jan 2026 |
| 1.0.0 | 22 Sept 2025 |
| 0.2.0 | 15 Aug 2025 |
| 0.1.0 | 13 Aug 2025 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=14
- Runtimes
- -
- Unpacked size (npm)
- 23 kB
- Dependencies (0)
- None
npm install @vercel/detect-agent- jsDelivr
https://cdn.jsdelivr.net/npm/@vercel/detect-agent@1.2.5/ - unpkg
https://unpkg.com/@vercel/detect-agent@1.2.5/ - esm.sh
https://esm.sh/@vercel/detect-agent@1.2.5
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| eas-cli | 946.2k | - | today | - | - |
Indexability: Indexed.