Metadata-Version: 2.4
Name: anna-protocol
Version: 1.0.0
Summary: ANNA Protocol SDK - Making AI Decisions Accountable
Home-page: https://annaprotocol.github.io/annaprotocol/
Author: Antonio Rufino
Author-email: Antonio Rufino <contact@anna-protocol.io>
License: MIT
Project-URL: Homepage, https://annaprotocol.github.io/annaprotocol/
Project-URL: Documentation, https://annaprotocol.github.io/annaprotocol/
Project-URL: Repository, https://github.com/AnnaProtocol
Keywords: blockchain,ai,accountability,ethereum,polygon,web3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: web3>=6.0.0
Requires-Dist: eth-account>=0.9.0
Requires-Dist: python-dotenv>=1.0.0
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# ANNA Protocol SDK

**Making AI Decisions Accountable**

ANNA Protocol is a blockchain infrastructure that makes AI decisions auditable, traceable, and trustworthy.

## 🚀 Quick Start

### Installation
```bash
pip install anna-protocol
```

### Basic Usage
```python
from anna_protocol import ANNAClient, create_reasoning

# Initialize client
client = ANNAClient(
    private_key="0x...",
    network="polygon-amoy"
)

# Create reasoning
reasoning = create_reasoning(
    input_text="Credit analysis for customer #123",
    steps=[
        ("Score verification", "Credit score: 750"),
        ("Income analysis", "Monthly income: $5,000"),
        ("Decision", "APPROVED - Low risk profile")
    ],
    conclusion="Credit APPROVED",
    confidence=0.95
)

# Submit attestation
result = client.submit_attestation(
    content="Customer #123 credit analysis",
    reasoning=reasoning,
    category="credit_analysis"
)

print(f"Registered on blockchain!")
print(f"Attestation ID: {result.attestation_id}")
```

## 📚 Features

- ✅ **Blockchain-based Audit Trail** - Immutable record of AI decisions
- ✅ **Easy Integration** - Add 10 lines of code to your existing AI
- ✅ **Reputation System** - Build trust through verified decisions
- ✅ **LGPD/GDPR Compliant** - Only hashes on-chain, data stays private
- ✅ **Multi-chain Support** - Polygon Amoy (testnet) and Mainnet

## 🎯 Use Cases

- **FinTech** - Credit analysis, fraud detection
- **LegalTech** - Contract review, legal advice
- **HealthTech** - Medical triage, diagnosis support
- **InsurTech** - Risk assessment, claims processing
- **RegTech** - KYC/AML compliance

## 📖 Documentation

Full documentation: https://annaprotocol.github.io/annaprotocol/

## 🔐 Security

- EIP-712 signature validation
- On-chain verification system
- Audited smart contracts
- Privacy-preserving architecture

## 📞 Support

- Website: https://annaprotocol.github.io/annaprotocol/
- Email: antoniorjr4@gmail.com
- Telegram: https://t.me/AntonioRufino27

## 📜 License

MIT License - see LICENSE file for details
