detect-coding-agent 0.1.0

Detect if your application is being invoked by an AI coding agent such as Claude Code, Copilot, Cursor, Codex, Aider, and many more.
Documentation
[package]
name = "detect-coding-agent"
version = "0.1.0"
edition = "2024"
rust-version = "1.92.0"
authors = ["Markus Mayer <widemeadows@gmail.com>"]
description = "Detect if your application is being invoked by an AI coding agent such as Claude Code, Copilot, Cursor, Codex, Aider, and many more."
license = "EUPL-1.2 OR MIT OR Apache-2.0"
repository = "https://github.com/sunsided/detect-coding-agent"
homepage = "https://github.com/sunsided/detect-coding-agent"
keywords = ["ai", "agent", "coding", "detection", "claude"]
categories = ["development-tools", "command-line-utilities"]
readme = "README.md"

[features]
default = []

# Enable detection via process ancestry checks (requires spawning a subprocess on some platforms).
# When enabled, agents that only expose process-name signals (e.g. Devin, Octofriend) can be detected.
# NOTE: This feature is currently a placeholder and has no effect; it is reserved for future implementation.
process-detection = []

[dependencies]

[dev-dependencies]

[[example]]
name = "detect"
path = "examples/detect.rs"