Expand description
Detect active AI coding agents from environment variables.
This crate is intentionally small and conservative. It detects agent-driven command execution, not merely an interactive terminal inside an editor that happens to offer AI features.
Structs§
- Detection
- The result of agent detection.
Enums§
- Agent
- An AI coding agent known to the detector.
Functions§
- detect
- Detect an agent in the current process environment.
- detect_
with_ env - Detect an agent using a caller-supplied environment lookup.
- is_
agent - Return whether the current process appears to be driven by an AI agent.