Metadata-Version: 2.4
Name: pqagents
Version: 1.0.0
Summary: Post-quantum cryptographic identity and verification SDK for AI agents.
Author-email: PQ Security <support@pqlogin.com>
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: liboqs-python

# pqagents

Post-quantum cryptographic identity and verification SDK for AI agents. 

Secure your AI agents against future quantum computer threats using NIST-approved post-quantum algorithms (ML-DSA-65).

## Installation

```bash
pip install pqagents
```

## Usage

### 1. Generating Agent Keys

```python
from pqagents import generate_agent_keys

keys = generate_agent_keys()
print("Public Key:", keys["publicKey"]) # Save to your database
print("Secret Key:", keys["secretKey"]) # Give securely to your agent
```

### 2. Signing a Payload

```python
from pqagents import sign_agent_token

payload = {"action": "trade", "amount": 100, "asset": "BTC"}
token = sign_agent_token(payload, keys["secretKey"])
```

### 3. Verifying a Signature

```python
from pqagents import verify_agent_token

is_valid = verify_agent_token(token, keys["publicKey"])

if is_valid: print("Cryptographically verified! Action approved.")
```
