Metadata-Version: 2.4
Name: is-it-ai
Version: 0.1.1
Summary: Detect and verify if packages is executed within an AI agent environment
Author-email: Ben Needful <doing_the_needful@yahoo.com>
License-Expression: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# is-it-ai

Detect and verify if package is being executed in an AI agent environment.

## Installation

```bash
pip install is-it-ai
```

## Usage

### Local Detection

```python
from is_it_ai import detect, is_claude_code

if detect():
    print("Running under an AI agent")

if is_claude_code():
    print("Running under Claude Code")
```

### Cloud Verification

```python
from is_it_ai import verify

result = verify()
if result.verified:
    print(f"Verified: ${result.message}")
else:
    print(f"Failed {result.message}")
```

## API

- detect() - Detect if running under any known AI agent
- is_claude_code() - Detect Claude Code specifically
- is_perplexity() - Detect Perplexity specifically
- is_cursor() - Detect Cursor specifically
- is_codex() - Detect Codex specifically
- get_context() - Collect execution environment context
- verify(context, timeout) - Verify against cloud service
