Metadata-Version: 2.4
Name: agentcheck-sdk
Version: 0.9.0
Summary: Record what your AI agent is allowed to do
Author-email: AgentCheck <dev@agentcheck.io>
License: MIT
Project-URL: Homepage, https://agentcheck.io
Project-URL: Repository, https://github.com/agentcheck/agentcheck-python
Keywords: ai,agent,delegation,trust,authorization
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Security
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.25
Requires-Dist: pydantic>=2.0

# agentcheck

Record what your AI agent is allowed to do.

## Install

```bash
pip install agentcheck
```

## Quickstart

```python
import agentcheck

agentcheck.init(api_key="ak_live_...", base_url="https://agentcheck.fly.dev")

proof = agentcheck.record(
    agent="factory-bot",
    scope="order parts under $10K, monitor equipment 24/7",
    authorized_by="kim@factory.com"
)

# Kim gets an email, clicks "Approve"
# Anyone can verify: /api/v1/verify/{proof.id}

record = agentcheck.get(proof.id)
print(record.status)  # "approved"
```

## API

| Function | Description |
|----------|-------------|
| `agentcheck.init(api_key, base_url)` | Initialize with your API key |
| `agentcheck.record(agent, scope, authorized_by)` | Create agreement |
| `agentcheck.get(id)` | Get agreement details |
| `agentcheck.list(status, agent)` | List agreements |
| `agentcheck.amend(id, new_scope)` | Amend agreement scope |

## Sign Up

```python
from agentcheck import Client

result = Client.signup(
    email="dev@company.com",
    company_name="My Company",
    base_url="https://agentcheck.fly.dev"
)
print(result["api_key"])  # Save this - shown once only
```

## License

MIT
