Metadata-Version: 2.4
Name: sift-sdk
Version: 0.1.0
Summary: Governance receipts for autonomous AI agents. Ed25519-signed proof of authorized actions.
Home-page: https://pay.walkosystems.com
Author: Jason Walko
Author-email: jason@walkosystems.com
Project-URL: Documentation, https://walkosystems.com
Project-URL: Source, https://github.com/walkojas-boop/agent-discovery-protocol
Keywords: ai,agents,governance,sift,receipts,ed25519,audit
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Security :: Cryptography
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: project-url
Dynamic: requires-python
Dynamic: summary

# sift-sdk

Governance receipts for autonomous AI agents.

## Why

Autonomous agents that spend resources without cryptographic receipts create audit risk for their operators. A Sift receipt is an Ed25519-signed proof that an action was evaluated and authorized.

## Install

```
pip install sift-sdk
```

## Usage

```python
from sift_sdk import get_receipt, verify_receipt

# Get a receipt (requires api_key with credits)
receipt = get_receipt(
    agent_id="my-agent",
    action="transfer_funds",
    api_key="sk_test_..."
)

print(receipt.receipt_id)    # unique receipt ID
print(receipt.signature)     # Ed25519 signature
print(receipt.verified)      # True

# Verify any receipt
result = verify_receipt(receipt.receipt_id)
print(result["valid"])  # True
```

## Pricing

- $0.50 per receipt (single)
- $5.00 for 100 receipts ($0.05 each)

## API

- `POST /v1/receipt` -- create receipt (Stripe checkout)
- `POST /v1/receipt/instant` -- instant receipt (requires credits)
- `GET /v1/verify/<id>` -- verify receipt
- `GET /v1/receipt/<id>` -- fetch receipt

Base URL: https://pay.walkosystems.com

## Discovery

```python
from sift_sdk import discover_services

services = discover_services("walkosystems.com")
print(services["services"])
```

## Spec

[Agent Discovery Protocol](https://github.com/walkojas-boop/agent-discovery-protocol)
