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.
Installation
Install as library:
npm install am-i-vibing
Run as CLI tool:
npx am-i-vibing
import { detectAgenticEnvironment } from "am-i-vibing" ; const result = detectAgenticEnvironment ( ) ; console . log ( `Detected: ${ result . name } ( ${ result . type } )` ) ;
Supported AI Tools
Aider
Bolt
... continue reading