npm package

am-i-vibing

Updated 2026-07-16 View source ↗

#22 of 203 by Downloads / week among npm packages

646.5k Downloads / week

Detect agentic coding environments and AI assistant tools

About

Detect agentic coding environments and AI assistant tools. This library allows CLI tools and Node apps to detect when they're being executed by AI agents. This enables them to adapt by, for example, providing different output formats or logs.

The library detects three main types of environments:

There may be false positives, such as if a user directly runs a command in an terminal opened by an AI tool, such as a Copilot terminal in VS Code.

Most providers expose an environment variable that uniquely identifies them, and that's the only signal am-i-vibing consults by default. A small number (e.g. Octofriend) can only be detected by inspecting the parent process chain. Reading the process…

Excerpted from www.npmjs.com/package/am-i-vibing

Latest metrics

Downloads / week 646.5k 2026-07-16